IWritePersistentData
- Namespace
- ZCore
- Extends
- Inherited Properties
- Inherited Methods
INTERFACE IWritePersistentData EXTENDS ZCore.IObject, ZCore.IError
CODESYS systems offer persistent variables that keep their values, after the PLC is stopped or even if the PLC crashes with an exception.
Persistent variables have to be declared in VAR PERSISTENT
blocks. The controller must support this mechanism by means of a suitable memory (NVRam, UPS)!
Typically the VAR PERSISTENT variables are even stored there in a memory segment of their own.
This interface is used to offer consistent behavior of persistent variables throughout CODESYS platforms (e.g. TwinCAT.
Properties
BootDataLoaded
PROPERTY BootDataLoaded : BOOL
Property Value
- BOOL
Methods
SavePersistentDataAsync
METHOD SavePersistentDataAsync ()
This method initiates saving of the persistent variables