GuidHelper (FB) ¶ FUNCTION_BLOCK GuidHelper InOut: Scope Name Type Output CODEGUID ARRAY [0..15] OF BYTE Result_CODE RTS_IEC_RESULT DATAGUID ARRAY [0..15] OF BYTE Result_DATA RTS_IEC_RESULT Methods: FB_INIT Structure: FB_INIT (Method)
GuidHelper.FB_INIT (METH) ¶ METHOD FB_INIT : BOOL InOut: Scope Name Type Return FB_INIT BOOL Input bInitRetains BOOL bInCopyCode BOOL
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