![SIGMATEK SCP 111-S Operating Manual Download Page 45](http://html1.mh-extra.com/html/sigmatek/scp-111-s/scp-111-s_operating-manual_1268148045.webp)
S-DIAS SAFETY CPU MODULE
SCP 111-S
19.10.2021
Page 43
12.4 Global Methods
12.4.1
FetchDiagState
This method is used to read the diagnostic status information (Run State, Config State, Login
Level, Error Counter IO State) from The Safety CPU.
12.4.2
GetDiagState
This method is used to retrieve the read diagnostic information of the class.
Transfer parameters
Type
Description
pDiagState
^SafetyDiagState
Pointer to the structure in which the diagnostic data should
be provided.
Return parameters
Type
Description
StateReady
BOOL
FALSE ... Status is not yet ready (values from input
parameter has not changed).
TRUE ... Status is ready
12.4.3
FetchDiagInfo
This method is used to read the diagnostic status information (Controller ID, Act Error Code,
First Error Code, Reason Code 0 und 1) from the Safety CPU.
Transfer parameters
Type
Description
ucChoice
USINT
Selection of the micro controller from which the diagnostic
information should be read.
12.4.4
GetDiagInfo
Diese Methode dient dazu, um die ausgelesenen Diagnose Informationen der Klasse
abzuholen.
Transfer parameters
Type
Description
pDiagInfo
^SafetyDiagInfo
Pointer to the structure in which the diagnostic data should
be provided.
Return parameters
Type
Description
StateReady
BOOL
FALSE ... No new data available
TRUE ... New data available