Profibus DP ¶ SOFTING_T_DP_AAT_DATA (Struct) SOFTING_T_DP_BUS_PARA_SET (Struct) SOFTING_T_DP_CFG_DATA (Struct) SOFTING_T_DP_PRM_DATA (Struct) SOFTING_T_DP_SLAVE_PARA_SET (Struct) SOFTING_T_DP_SLAVE_USER_DATA (Struct)
SOFTING_T_DP_AAT_DATA (STRUCT) ¶ TYPE SOFTING_T_DP_AAT_DATA : STRUCT InOut: Name Type aat_data_len UINT number_inputs USINT number_outputs USINT offset_input_output ARRAY [0..243] OF WORD
SOFTING_T_DP_BUS_PARA_SET (STRUCT) ¶ TYPE SOFTING_T_DP_BUS_PARA_SET : STRUCT InOut: Name Type Comment bus_para_len UINT 66..2^16-1 fdl_add USINT 0..125 baud_rate USINT DP_xBAUD_xxx tsl UINT see DIN 19245-1 FOR details min_tsdr UINT max_tsdr UINT tqui USINT tset USINT ttr UINT g USINT hsa USINT max_retry_limit USINT bp_flag USINT DP_BP_ERROR_ACTION min_slave_interval UINT 1..2^16-1 [100 micros] poll_timeout UINT 1..2^16-1 [1 ms] data_control_time UINT 1..2^16-1 [10 ms] reserved ARRAY [0..5] OF USINT master_user_data_len UINT 34..2^16-33 master_class2_name STRING(31) DP Master (CLASS 2) vendor name
SOFTING_T_DP_CFG_DATA (STRUCT) ¶ TYPE SOFTING_T_DP_CFG_DATA : STRUCT InOut: Name Type cfg_data_len UINT cfg_data ARRAY [0..254] OF BYTE
SOFTING_T_DP_PRM_DATA (STRUCT) ¶ TYPE SOFTING_T_DP_PRM_DATA : STRUCT InOut: Name Type prm_data_len UINT station_status USINT wd_fact_1 USINT wd_fact_2 USINT min_tsdr USINT ident_number UINT group_ident USINT user_prm_data ARRAY [0..241] OF BYTE
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)