RTS_SIL2_ADDRESSSTATE (ENUM) ¶ TYPE RTS_SIL2_ADDRESSSTATE : InOut: Name Initial RTS_SIL2_ADDRESS_SAFE 16#CCDD RTS_SIL2_ADDRESS_UNSAFE 16#5566
RTS_SIL2_CALLERCTX (ENUM) ¶ TYPE RTS_SIL2_CALLERCTX : InOut: Name Initial RTS_SIL2_CALLERCTX_SAFE 16#BBAA RTS_SIL2_CALLERCTX_UNSAFE 16#DDCC RTS_SIL2_CALLERCTX_ERROR 16#FFFF
RTS_SIL2_EXCEPTION (ALIAS) ¶ TYPE RTS_SIL2_EXCEPTION : UDINT
RTS_SIL2_OPMODE (ENUM) ¶ TYPE RTS_SIL2_OPMODE : InOut: Name Initial RTS_SIL2_OPMODE_SAFE 16#AABB RTS_SIL2_OPMODE_DEBUG 16#7788 RTS_SIL2_OPMODE_ERROR 16#FFFF
SIL2AddLog (FUN) ¶ FUNCTION SIL2AddLog : RTS_IEC_RESULT Function to add a secure Logentry These secure logentries don’t use the standard Logging mechanism! With this function it is possible to add secure messages to a Messagequeue within CmpSIL2. This Messagequeue can be fetched by an Onlineservice from the SIL2 Programmingsystemplugin. The messages are stored and transmitted with a CRC to provide a secure logging. The maximal length of the string might be restricted in the Runtime (CMPSIL2_LOGADD_MAX_STRLEN). InOut: Scope Name Type Return SIL2AddLog RTS_IEC_RESULT Input sMessage STRING(80) udiLogId UDINT
SIL2CheckCallerContext (FUN) ¶ FUNCTION SIL2CheckCallerContext : RTS_IEC_RESULT Function to check the current Caller Context. Expected Context is checked vs the current context and an exception is thrown if they are different. InOut: Scope Name Type Return SIL2CheckCallerContext RTS_IEC_RESULT Input udiCallerContextExpected UDINT
SIL2CopyCodeGuid (FUN) ¶ FUNCTION SIL2CopyCodeGuid : RTS_IEC_RESULT Function to copy the current CodeGuid to a given location (by Pointer) IMPORTANT: Size is always 16 BYTES! The caller must provid this much space. InOut: Scope Name Type Return SIL2CopyCodeGuid RTS_IEC_RESULT Input pDstCodeGuid POINTER TO BYTE
SIL2CopyDataGuid (FUN) ¶ FUNCTION SIL2CopyDataGuid : RTS_IEC_RESULT Function to copy the current DataGuid to a given location (by Pointer) IMPORTANT: Size is always 16 BYTES! The caller must provid this much space. InOut: Scope Name Type Return SIL2CopyDataGuid RTS_IEC_RESULT Input pDstDataGuid POINTER TO BYTE
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