Commissioning (hardware) 2.5 User memory concept

Startup of SIMOTION D410

The SIMOTION kernel is loaded from the CompactFlash Card to the "volatile data" area during the startup of SIMOTION D410.

Volatile data is lost if you shut down the SIMOTION D410 module after the download. Data loaded from the CompactFlash Card at the next restart:

The technology packages and user data to the "volatile data" area

IP and DP parameters to the "non-volatile data" area

Backup of non-volatile data

The "_savePersistentMemoryData" system function is used to save the contents of non- volatile data to the CompactFlash Card. This backup prevents the retain variables and the absolute encoder position from being lost if a component is replaced.

The backup copy is saved to the "PMEMORY.XML" backup file in the "USER/SIMOTION" folder. On system side it is always ensured that a consistent overall image of the non-volatile data is available at the next restart, even if there is a power failure during backup. An already existing backup file is renamed to "PMEMORY.BAK" before a new backup file is generated. If the backup to this new file fails (for example, due to insufficient storage capacity of the CompactFlash Card), the existing backup file is used in the next attempt to restore the content of non-volatile data. The backup file is deleted if the new file was successfully created.

NOTICE

An absolute encoder overflow after "_savePersistentMemoryData" was executed indicates that the restored non-volatile data contains an incorrect actual position value. The encoder must be referenced again (absolute encoder adjustment)!

D410

39

Commissioning Manual, 08/2008 Edition

Page 39
Image 39
Siemens appendix Startup of Simotion D410, Backup of non-volatile data