SOFTING_T_DP_SLAVE_PARA_SET (STRUCT) ¶ TYPE SOFTING_T_DP_SLAVE_PARA_SET : STRUCT InOut: Name Type slave_para_len UINT sl_flag USINT slave_type USINT reserved ARRAY [0..11] OF USINT
SOFTING_T_DP_SLAVE_USER_DATA (STRUCT) ¶ TYPE SOFTING_T_DP_SLAVE_USER_DATA : STRUCT InOut: Name Type slave_user_data_len UINT slave_user_data ARRAY [0..99] OF BYTE
SettgEndUpdate (FUN) ¶ FUNCTION SettgEndUpdate : RTS_IEC_RESULT Function to initiate writing settings to database file, if settings are modified after SettgBeginUpdate was called. NOTE: - Funcion can be called nested, so only at the last call of SettgEndUpdate , the database is written! - Always call SettgBeginUpdate and SettgEndUpdate symmetric!!! InOut: Scope Name Type Comment Return SettgEndUpdate RTS_IEC_RESULT Runtime system error code (see CmpErrors.library).
SettgGetIntValue (FUN) ¶ FUNCTION SettgGetIntValue : RTS_IEC_RESULT Get an integer value from settings InOut: Scope Name Type Comment Return SettgGetIntValue RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input pszComponent REFERENCE TO STRING Name of component pszKey REFERENCE TO STRING Name of key piValue POINTER TO DINT Pointer to value for result iDefault DINT Default value to set, if key not found bCached DINT Flag, if value should be read cached or direct from file (CMPSETTINGS_CACHED, CMPSETTINGS_NOT_CACHED)
SettgGetStringValue (FUN) ¶ FUNCTION SettgGetStringValue : RTS_IEC_RESULT Get a string value from settings InOut: Scope Name Type Comment Return SettgGetStringValue RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input pszComponent REFERENCE TO STRING Name of component pszKey REFERENCE TO STRING Name of key pszValue POINTER TO STRING Pointer to value for result piLen POINTER TO DINT Max length of string value pszDefault REFERENCE TO STRING Default value to set, if key not found bCached DINT Flag, if value should be read cached or direct from file (CMPSETTINGS_CACHED, CMPSETTINGS_NOT_CACHED)
SettgGetWStringValue (FUN) ¶ FUNCTION SettgGetWStringValue : RTS_IEC_RESULT Get a WSTRING value from settings InOut: Scope Name Type Comment Return SettgGetWStringValue RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input pszComponent REFERENCE TO STRING Name of component pszKey REFERENCE TO STRING Name of key pwszValue POINTER TO WSTRING Pointer to value for result piLen POINTER TO DINT Max length of string in WSTRING characters (not bytes!) pwszDefault REFERENCE TO WSTRING Default value to set, if key not found bCached DINT Flag, if value should be read cached or direct from file (CMPSETTINGS_CACHED, CMPSETTINGS_NOT_CACHED)
SettgSetIntValue (FUN) ¶ FUNCTION SettgSetIntValue : RTS_IEC_RESULT Write an integer value to settings InOut: Scope Name Type Initial Comment Return SettgSetIntValue RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input pszComponent REFERENCE TO STRING Name of component pszKey REFERENCE TO STRING Name of key iValue DINT Value to write iBase DINT 10 2=Base 2, 10=Decimal values, 16=Hex values
SettgRemoveKey (FUN) ¶ FUNCTION SettgRemoveKey : RTS_IEC_RESULT Remove the specified key InOut: Scope Name Type Comment Return SettgRemoveKey RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input pszComponent REFERENCE TO STRING Name of component pszKey REFERENCE TO STRING Name of key
SettgSetStringValue (FUN) ¶ FUNCTION SettgSetStringValue : RTS_IEC_RESULT Write a string value to settings InOut: Scope Name Type Comment Return SettgSetStringValue RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input pszComponent REFERENCE TO STRING Name of component pszKey REFERENCE TO STRING Name of key pszValue REFERENCE TO STRING Pointer to write value iLen DINT Length of string to write
SettgSetWStringValue (FUN) ¶ FUNCTION SettgSetWStringValue : UDINT Write a WSTRING value to settings InOut: Scope Name Type Comment Return SettgSetWStringValue UDINT Runtime system error code (see CmpErrors.library). Input pszComponent REFERENCE TO STRING Name of component pszKey REFERENCE TO STRING Name of key pwszValue REFERENCE TO WSTRING Pointer to write value iLen DINT Length of string in WSTRING characters (not bytes!) to write