S-DIAS SAFETY CPU-MODULE
SCP 111-2
08.09.2022
Page 41
12.4.5
SaveLog
This method can be used to store the log file from one of the two micro controllers This is a
binary file and should be sent to Sigmatek support when an error occurs)
Input Parameters
Type
Description
ucChoice
USINT
Micro controller selection
0 ... µC1
<>0 ... µC2
pDPNE
^CHAR
Here, the pointer to the log file name is sent.
Return Parameters
Type
Description
Success
BOOL
FALSE ... Error during start, another process stored in the
log file is currently active.
TRUE … Start successful, log file is stored.
12.4.6
SaveLogActive
This method returns whether or not a log file is stored
Return Parameters
Type
Description
InProgress
BOOL
FALSE ... Currently, no log file is saved.
TRUE … A log file is currently saved.