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