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)
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
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
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
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:55:36 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpSettings.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpSettings.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 20.04.2021, 15:55:36 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description DocFormat reStructuredText Placeholder CmpSettings Project CmpSettings Title CmpSettings Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
CmpSoftingProfibus Library Documentation ¶ Company System Title CmpSoftingProfibus Version 3.5.17.0 Categories System|SysLibs Namespace CmpSoftingProfibus Author 3S - Smart Software Solutions GmbH Placeholder CmpSoftingProfibus Description 1 ¶ Component for Softing Profibus interface Contents: ¶ Constants DPSInputOutputStatus (GVL) DPServiceConstants (GVL) DPUserServiceCodes (GVL) Defines (GVL) FMBUserInterfaceDefines (GVL) InterfaceDefines (GVL) InterfaceErrors (GVL) Datastructs FMB Structs Profibus DP SOFTING_T_DP_ACT_PARAM_IND (Struct) SOFTING_T_DP_ACT_PARAM_REQ (Struct) SOFTING_T_DP_ACT_PARAM_RES_CON (Struct) SOFTING_T_DP_DATA_TRANSFER_CON (Struct) SOFTING_T_DP_DIAG_DATA (Struct) SOFTING_T_DP_DOWNLOAD_IND (Struct) SOFTING_T_DP_DOWNLOAD_REQ (Struct) SOFTING_T_DP_DOWNLOAD_RES_CON (Struct) SOFTING_T_DP_END_SEQ_IND (Struct) SOFTING_T_DP_END_SEQ_REQ (Struct) SOFTING_T_DP_END_SEQ_RES_CON (Struct) SOFTING_T_DP_EXIT_MASTER_CON (Struct) SOFTING_T_DP_GET_MASTER_DIAG_REQ (Struct) SOFTING_T_DP_GET_MASTER_DIAG_RES_CON (Struct) SOFTING_T_DP_GET_PRM_REQ (Struct) SOFTING_T_DP_GET_SLAVE_DIAG_CON (Struct) SOFTING_T_DP_GET_SLAVE_DIAG_IND (Struct) SOFTING_T_DP_GET_SLAVE_PARAM_CON (Struct) SOFTING_T_DP_GET_SLAVE_PARAM_REQ (Struct) SOFTING_T_DP_INIT_MASTER_CON (Struct) SOFTING_T_DP_INIT_MASTER_REQ (Struct) SOFTING_T_DP_SET_BUSPARAMETER_CON (Struct) SOFTING_T_DP_SET_BUSPARAMETER_REQ (Struct) SOFTING_T_DP_SET_PRM_CON (Struct) SOFTING_T_DP_SET_PRM_REQ (Struct) SOFTING_T_DP_SLAVE_PARAM_SLAVE_INFO (Struct) SOFTING_T_DP_SLAVE_PARAM_SYS_INFO (Struct) SOFTING_T_DP_START_SEQ_IND (Struct) SOFTING_T_DP_START_SEQ_REQ (Struct) SOFTING_T_DP_START_SEQ_RES_CON (Struct) SOFTING_T_DP_UPLOAD_REQ (Struct) SOFTING_T_DP_UPLOAD_RES_CON (Struct) SOFTING_T_PROFI_SERVICE_DESCR (Struct) Functions softing_profi_end (Function) softing_profi_get_data (Function) softing_profi_get_dps_input_data (Function) softing_profi_get_dps_output_data (Function) softing_profi_get_last_errror (Function) softing_profi_get_serial_device_number (Function) softing_profi_get_versions (Function) softing_profi_init (Function) softing_profi_rcv_con_ind (Function) softing_profi_set_data (Function) softing_profi_set_dps_input_data (Function) softing_profi_snd_req_res (Function) Indices and tables ¶ 1 Based on CmpSoftingProfibus.library, last modified 20.04.2021, 15:56:04. LibDoc 4.4.0.0-b.27 The content file CmpSoftingProfibus.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:56:04.
DPSInputOutputStatus (GVL) ¶ InOut: Scope Name Type Initial Constant DPS_INPUT_STATE_FREEZE_ENABLED USINT 16#1 DPS_INPUT_STATE_FREEZE_COMMAND USINT 16#2 DPS_OUTPUT_STATE_SYNC_ENABLED USINT 16#1 DPS_OUTPUT_STATE_SYNC_COMMAND USINT 16#2 DPS_OUTPUT_STATE_CLEAR_DATA USINT 16#4 DPS_OUTPUT_STATE_VALID_DATA USINT 16#8 DPS_OUTPUT_STATE_NEW_DATA USINT 16#10 DPS_OUTPUT_STATE_GLOBAL_CONTROL USINT 16#20