GlobalConstants ¶ Constants (GVL)
Constants (GVL) ¶ {attribute ‘conditionalshow’} {attribute ‘conditionalshow’ := ‘SomeText’} {attribute ‘hide’} Attributes: qualified_only InOut: Scope Name Type Initial Constant PDATA_HEADER_MAGIC UDINT 16#DEADBACF PDATA_PROPPER_MAGIC UDINT 16#ABBABEED PDATA_HEADER_VERSION WORD 16#100 LOG_INVALID_INSTNUMBER DWORD 4294967295
Structs ¶ PERSISTENT_PDATA_HEADER (Struct) Persistence PERSISTENT_DATA_BUFFER (Struct) PERSISTENT_INDEX_HEADER (Struct) PERSISTENT_PDATA_ENTRY (Struct) PropertyConfiguration PropertyConfigurationObjectPropertyPair (Struct)
PERSISTENT_PDATA_HEADER (STRUCT) ¶ TYPE PERSISTENT_PDATA_HEADER : STRUCT structure which contains PERSISTENT data header information for each object as header in the data file… InOut: Name Type Comment magicCode UDINT should be PDATA_HEADER_MAGIC version WORD version field for future use headerSize WORD size of the header structure entrySize WORD size of (W_PDATA_ENTRY) objectID CmpBACnet.IEC_BACNET_OBJECT_ID the object ID deviceId CmpBACnet.IEC_BACNET_UNSIGNED device of object clientCreated BOOL was client created object
Persistence ¶ PERSISTENT_DATA_BUFFER (Struct) PERSISTENT_INDEX_HEADER (Struct) PERSISTENT_PDATA_ENTRY (Struct)
PERSISTENT_DATA_BUFFER (STRUCT) ¶ TYPE PERSISTENT_DATA_BUFFER : STRUCT structure which contains the data for the current object InOut: Name Type Comment sPathFileName FileNameString the file name hFile RTS_IEC_HANDLE the data file handle dumpStatus CmpBACnet.IEC_BACNET_STATUS the dump error status objectHasPersistentProperties BOOL object has persistent properties tHdr PERSISTENT_PDATA_HEADER the object header tData PERSISTENT_PDATA_ENTRY the data header
PERSISTENT_INDEX_HEADER (STRUCT) ¶ TYPE PERSISTENT_INDEX_HEADER : STRUCT structure which contains PERSISTENT index header information InOut: Name Type Initial Comment magicCode UDINT Constants.PDATA_HEADER_MAGIC should be PDATA_HEADER_MAGIC version WORD Constants.PDATA_HEADER_VERSION version field for future use numBackupFiles UDINT number of persistent objects uliDateTime ULINT timestamp in milliseconds since 1.1.1970 00:00:00.000
PERSISTENT_PDATA_ENTRY (STRUCT) ¶ TYPE PERSISTENT_PDATA_ENTRY : STRUCT structure which contains persistent property data information InOut: Name Type Comment magicCode CmpBACnet.IEC_BACNET_UNSIGNED should be PDATA_PROPPER_MAGIC nPropertyId CmpBACnet.IEC_BACNET_PROPERTY_ID the PROPERTY identifier nDataLength CmpBACnet.IEC_BACNET_UNSIGNED the size of the ASN1 encoded data
PropertyConfiguration ¶ PropertyConfigurationObjectPropertyPair (Struct)
Directory.SetDir (METH) ¶ METHOD SetDir : RTS_IEC_RESULT Sets the actual dir and open it for reading. InOut: Scope Name Type Return SetDir RTS_IEC_RESULT Input dir FileNameString