Skip to main content

Kollmorgen Support Network

Loading and saving application parameters (recipes) to NVRAM memory. | 07 Apr 2015 | |

Loading and saving application parameters (recipes) to NVRAM memory.

The attached KAS project adds a program (LoadSaveParams) to one of the standard 2 axis startup templates to store

and retrieve parameter settings from the PDMM’s NVRAM memory.An Array of Structures with the following elements

was setup:

  • MotorParameter[x].Position
  • MotorParameter[x].Velocity
  • MotorParameter[x].Acceleration
  • MotorParameter[x].Deceleration

 

A Control Panel was added to the project to enter values and perform the save or to retrieve values already save.

Additionally it is possible to store and retrieve recipes in the PxMM flash memory, the SD card, or remote drive. Storing and retrieving recipe would be done using the file management function blocks:

http://curvegen.kollmorgen.com/webhelp/kas/Content/PLC_library/files.htm
http://curvegen.kollmorgen.com/webhelp/kas/Content/11.TechRefs/FileMgt_Functions.htm?Highlight=seek 

The pointer function (F_SEEK) could be used for quick location of a specific date or recipe element in the file. A seperate  file could be created for each management model for ease of storing and retrieval.

Attach is a .kas project containing 2 uDFBs, one for saving data to an SD card and another for retrieving data from the SD card.

About this Article

C Wontrop