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.
Constants ¶ DPSInputOutputStatus (GVL) DPServiceConstants (GVL) DPUserServiceCodes (GVL) Defines (GVL) FMBUserInterfaceDefines (GVL) InterfaceDefines (GVL) InterfaceErrors (GVL)
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
DPServiceConstants (GVL) ¶ InOut: Scope Name Type Initial Comment Constant DP_AUTO_GET_MASTER_DIAG USINT 16#80 DP_AUTO_UPLOAD_DOWNLOAD_SEQ USINT 16#40 DP_AUTO_ACT_PARAM USINT 16#20 DP_AUTO_REMOTE_SERVICES USINT 16#E0 DP_USER_REMOTE_SERVICES USINT 16#0 DP_AAM_ARRAY USINT 16#0 DP_AAM_DEFINED USINT 16#1 DP_AAM_COMPACT USINT 16#2 DP_AAM_IO_BLOCKS USINT 16#3 DP_SL_ACTIVE USINT 16#80 DP_SL_NEW_PRM USINT 16#40 DP_SL_FAIL_SAFE USINT 16#20 DP_SL_FLAGS USINT 16#E0 DP_BP_ERROR_ACTION USINT 16#80 DP_BP_FLAGS USINT 16#80 DP_SLAVE_TYPE_DP USINT 16#0 default DP Slave type DP_PRM_LOCK_REQ USINT 16#80 DP_PRM_UNLOCK_REQ USINT 16#40 DP_PRM_SYNC_REQ USINT 16#20 DP_PRM_FREEZE_REQ USINT 16#10 DP_PRM_WD_ON USINT 16#8 DP_PRM_STATION_STATUS USINT 16#F8 DP_CONTROL_SYNC USINT 16#20 DP_CONTROL_UNSYNC USINT 16#10 DP_CONTROL_FREEZE USINT 16#8 DP_CONTROL_UNFREEZE USINT 16#4 DP_CONTROL_CLEAR_DATA USINT 16#2 DP_CONTROL_COMMAND USINT 16#3E DP_AREA_SLAVE_PARAM USINT 16#0 DP_AREA_BUS_PARAM USINT 16#7F DP_AREA_SET_MODE USINT 16#80 DP_AREA_STAT_COUNT USINT 16#81 DP_AREA_NO_PROTECTION USINT 16#FF DP_SLAVE_ACTIVATE USINT 16#80 values are area code dependent DP_SLAVE_DEACTIVATE USINT 16#0 DP_BUS_PAR_ACTIVATE USINT 16#FF DP_OP_MODE_OFFLINE USINT 16#0 DP_OP_MODE_STOP USINT 16#40 DP_OP_MODE_CLEAR USINT 16#80 DP_OP_MODE_RED_CLEAR USINT 16#81 new redundancy state DP_OP_MODE_OPERATE USINT 16#C0 DP_OP_MODE_RED_OPERATE USINT 16#C1 new redundancy state DP_DIAG_SLAVE_DATA USINT 16#0 DP_DIAG_SYSTEM_DIAGNOSTIC USINT 16#7E DP_DIAG_MASTER_STATUS USINT 16#7F DP_DIAG_DATA_TRANSFER_LIST USINT 16#80 DP_SLAVE_PARAM_HEADER USINT 16#1 DP_SLAVE_PARAM_PRM_DATA USINT 16#2 DP_SLAVE_PARAM_CFG_DATA USINT 16#3 DP_SLAVE_PARAM_AAT_DATA USINT 16#4 DP_SLAVE_PARAM_USER_DATA USINT 16#5 DP_SLAVE_PARAM_SLAVE_INFO USINT 16#6 DP_SLAVE_PARAM_SYS_INFO USINT 16#7 DP_SLAVE_PARAM_FLUSH_DIAG USINT 16#8 DP_SET_IDENT_NUMBER USINT 16#0 DP_DIAG_1_MASTER_LOCK USINT 16#80 influenced by DP Master DP_DIAG_1_PRM_FAULT USINT 16#40 DP_DIAG_1_INVALID_SLAVE_RES USINT 16#20 influenced by DP Master DP_DIAG_1_NOT_SUPPORTED USINT 16#10 DP_DIAG_1_EXT_DIAG USINT 16#8 DP_DIAG_1_CFG_FAULT USINT 16#4 DP_DIAG_1_STATION_NOT_READY USINT 16#2 DP_DIAG_1_STATION_NON_EXISTENT USINT 16#1 influenced by DP Master DP_DIAG_1_STATUS USINT 16#FF DP_DIAG_2_DEACTIVATED USINT 16#80 influenced by DP Master DP_DIAG_2_SYNC_MODE USINT 16#20 DP_DIAG_2_FREEZE_MODE USINT 16#10 DP_DIAG_2_WD_ON USINT 16#8 DP_DIAG_2_DEFAULT USINT 16#4 DP_DIAG_2_STAT_DIAG USINT 16#2 DP_DIAG_2_PRM_REQ USINT 16#1 DP_DIAG_2_STATUS USINT 16#B9 DP_DIAG_3_EXT_DIAG_OVERFLOW USINT 16#80 DP_DIAG_3_STATUS USINT 16#80 DP_SLAVE_DIAG_OVERFLOW INT -1 DP_STATION_NON_EXISTENT INT 16#100 DP_INVALID_SLAVE_RESPONSE INT 16#2000 DP_STATE_STATION_TYPE USINT 16#80 station status bits DP_STATE_MASTER_STATION USINT 16#80 DP_STATE_SLAVE_STATION USINT 16#0 DP_STATE_SLAVE_DIAG_DATA USINT 16#2 DP_STATE_MASTER_DIAG_DATA USINT 16#2 DP_STATE_SLAVE_ERROR USINT 16#1 DP_STATE_MASTER_UP_DOWN_LOAD USINT 16#1 DP_KBAUD_9_6 USINT 16#0 DP_KBAUD_19_2 USINT 16#1 DP_KBAUD_45_45 USINT 16#B DP_KBAUD_93_75 USINT 16#2 DP_KBAUD_187_5 USINT 16#3 DP_KBAUD_500 USINT 16#4 DP_KBAUD_750 USINT 16#5 DP_KBAUD_1500 USINT 16#6 DP_MBAUD_1_5 USINT 16#6 DP_KBAUD_3000 USINT 16#7 DP_MBAUD_3 USINT 16#7 DP_KBAUD_6000 USINT 16#8 DP_MBAUD_6 USINT 16#8 DP_KBAUD_12000 USINT 16#9 DP_MBAUD_12 USINT 16#9
SIL2ExecuteNonSafetyJob (FUN) ¶ FUNCTION SIL2ExecuteNonSafetyJob : RTS_IEC_RESULT Function to delegate a Non-Safety Job This function can be used to delegate a non-safety job from within the safe-context to be executed from the Unsafe context. InOut: Scope Name Type Return SIL2ExecuteNonSafetyJob RTS_IEC_RESULT Input pfNonSafetyJob POINTER TO BYTE pParam POINTER TO BYTE ulSize ULINT
SIL2ExecuteNonSafetyJob_WRAP_FB_INIT (FUN) ¶ FUNCTION SIL2ExecuteNonSafetyJob_WRAP_FB_INIT : RTS_IEC_RESULT InOut: Scope Name Type Return SIL2ExecuteNonSafetyJob_WRAP_FB_INIT RTS_IEC_RESULT Input pInstance POINTER TO BYTE pfNonSafetyJob POINTER TO BYTE bInitRetains BOOL bInCopyCode BOOL