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
SIL2ExecuteNonSafetyJob_WRAP_INITIALIZE (FUN) ¶ FUNCTION SIL2ExecuteNonSafetyJob_WRAP_INITIALIZE : RTS_IEC_RESULT InOut: Scope Name Type Return SIL2ExecuteNonSafetyJob_WRAP_INITIALIZE RTS_IEC_RESULT Input pInstance POINTER TO BYTE pfNonSafetyJob POINTER TO BYTE wModuleType UINT dwInstance UDINT pConnector POINTER TO IoConfigConnector
SIL2OEMException (FUN) ¶ FUNCTION SIL2OEMException : RTS_IEC_RESULT Function to set Runtime into Exception-Mode. Whenever the runtime detects invalid behaviour, values or states, it calls this function with a specific Exception Code.</p> Depending on the implementation this function may not return! InOut: Scope Name Type Comment Return SIL2OEMException RTS_IEC_RESULT Input udiException RTS_SIL2_EXCEPTION Range > 16#100
SIL2OEMGetCallerContext (FUN) ¶ FUNCTION SIL2OEMGetCallerContext : UDINT Function to get the current Caller Context. Returns RTS_SIL2_CALLERCTX_SAFE or RTS_SIL2_CALLERCTX_UNSAFE depending on Caller context Returns RTS_SIL2_CALLERCTX_ERROR if error occured or if in unknown state. InOut: Scope Name Type Return SIL2OEMGetCallerContext UDINT
SIL2OEMGetMemoryState (FUN) ¶ FUNCTION SIL2OEMGetMemoryState : RTS_SIL2_ADDRESSSTATE Function to get the MemoryState (safe/unsafe) for a specific Memoryrange. The Addressrange where pAddress points to with the length of ulLength is checked and the corresponding RTS_SIL2_ADDRESSSTATE is returned: RTS_SIL2_ADDRESS_SAFE or RTS_SIL2_ADDRESS_UNSAFE. InOut: Scope Name Type Return SIL2OEMGetMemoryState RTS_SIL2_ADDRESSSTATE Input pAddress POINTER TO BYTE udiLength UDINT
SIL2OEMGetOperationMode (FUN) ¶ FUNCTION SIL2OEMGetOperationMode : RTS_SIL2_OPMODE Function to get the Operationmode of the Runtime Returns RTS_SIL2_OPMODE_DEBUG or RTS_SIL2_OPMODE_SAFE depending on Operationmode, Returns RTS_SIL2_OPMODE_ERROR if error occured or if in unknown state InOut: Scope Name Type Return SIL2OEMGetOperationMode RTS_SIL2_OPMODE