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
SIL2OEMStackIsValid (FUN) ¶ FUNCTION SIL2OEMStackIsValid : RTS_IEC_RESULT Function to check if Stack is Valid Returns ERR_OK if the stack is valid and ERR_FAILED if an error occured or was detected! InOut: Scope Name Type Return SIL2OEMStackIsValid RTS_IEC_RESULT
WRAP_FB_INIT_STRUCT (STRUCT) ¶ TYPE WRAP_FB_INIT_STRUCT : STRUCT InOut: Name Type _INSTANCEPOINTER POINTER TO BYTE bInitRetains BOOL bInCopyCode BOOL
WRAP_INITIALIZE_STRUCT (STRUCT) ¶ TYPE WRAP_INITIALIZE_STRUCT : STRUCT InOut: Name Type _INSTANCEPOINTER POINTER TO BYTE wModuleType UINT dwInstance UDINT pConnector POINTER TO IoConfigConnector