-

Diagnostic codes

Dieses Thema enthält die folgenden Abschnitte:

The hexadecimal diagnostic codes listed here are output as WORD data type at the DiagCode output of the function block.

Status transitions and the corresponding conditions can be seen in the State machine diagram.

Status codes (except error codes)

Code (hex)DescriptionOptions for remedy
0000 Idle state

The function block is not activated. The Activate input is FALSE.

The outputs show SAFEFALSE or FALSE.
Activate the function block by switching Activate to TRUE.
8401Init state

The function block has been activated.
The FB evaluates the signal applying to input S_Acknowledge.

Output Ready is TRUE.
Output ResetRequest depends on the signal at input Reset:
  • If Reset = FALSE, ResetRequest = TRUE to indicate the required reset signal.
  • If Reset = TRUE, ResetRequest = FALSE as the reset signal must first be switched to FALSE.
The other outputs show SAFEFALSE or FALSE.
Perform an FB reset if this is indicated via ResetRequest = TRUE.

If a start-up inhibit is specified (S_StartReset = SAFEFALSE) but a TRUE signal already applies at input Reset, switch the reset signal to FALSE. The FB then changes to state C001.
8804Wait for Confirmation OpMode state

The defined safe state of the connected periphery is not requested. However, the feedback signal of the periphery connected to the S_Acknowledge (SAFETRUE) input does confirm the defined safe state.

A safety request is output at S_SafetyRequest (SAFETRUE). In order to forward the request of the defined safe state to the periphery, the S_SafetyRequest output must be connected to the periphery.

Output Ready and output SafetyDemand are TRUE. The other outputs are SAFEFALSE or FALSE.
  • Verify the safety-related functions.
  • Verify the safety-related program.
  • Verify the connected safety-related periphery.
8802Operation Mode state

The status feedback of the connected safety-related periphery at S_Acknowledge = SAFEFALSE. This means that the feedback signal of the periphery does not confirm the defined safe state.

A safety request is output at S_SafetyRequest (SAFETRUE). In order to forward the request of the defined safe state to the periphery, the S_SafetyRequest output must be connected to the periphery.

Output Ready and output SafetyDemand are TRUE. The other outputs are SAFEFALSE or FALSE.
If this is an intended event: No measure required.

If this is an unintended event: Switch the S_OpMode input to SAFEFALSE to control the safe mode of the periphery.
8002Wait for Confirmation state

The defined safe state is requested at the S_OpMode input with a SAFEFALSE signal.

The feedback signal connected to the S_Acknowledge input in the connected periphery was not yet switched to SAFETRUE by the periphery.

By monitoring the time interval (value at MonitoringTime) between the request of the defined safe state and the acknowledged confirmation of the defined safe state, the function block detects the specified time being exceeded as an error.

Output Ready is TRUE. The outputs S_SafetyRequest and S_SafetyActive are SAFEFALSE. The other outputs are FALSE.
If this is an intended event: No measure required.

If this is an unintended event:

  • Verify the safety-related functions.
  • Verify the safety-related program.
  • Verify the connected safety-related periphery.
8000Safe Mode state

Execution of the safety-related function in the connected periphery was requested (S_OpMode = SAFEFALSE).

The feedback signal connected to the S_Acknowledge input of the connected periphery was switched to SAFETRUE by the periphery: Confirmation of the defined safe state.

Output Ready is TRUE. S_SafetyActive shows SAFETRUE. The other outputs are SAFEFALSE or FALSE
If this is an intended event: No measure required.

If this is an unintended event:

  • Verify the safety-related functions.
  • Verify the safety-related code.
  • Verify the connected safety-related periphery.
8004Wait for OpMode state

Following a reset of the function block as a consequence of the function block error, the value SAFEFALSE is detected at the S_OpMode input. However, following an error message of the function block, the S_OpMode input must show the SAFETRUE state.

Output Ready is TRUE. The other outputs are SAFEFALSE or FALSE.
Switch the S_OpMode input to SAFETRUE.

Error codes

Code (hex)DescriptionOptions for remedy
C001Reset Error 1 state

The function block detected a static TRUE signal at input Reset in state 8401.

The output Ready is TRUE. Output Error is TRUE to indicate the error state. The other outputs show SAFEFALSE or FALSE.
Verify the reset control device and its wiring. The Reset signal must have the FALSE status.
C010Acknowledge Lost state

In state 8000 (defined safe state confirmed by the connected periphery), the signal at S_Acknowledge changed to SAFEFALSE.

The output Ready is TRUE. Output Error is TRUE to indicate the error state.
Output ResetRequest depends on the signal at input Reset:
  • If Reset = FALSE, ResetRequest = TRUE to indicate the required reset signal.
  • If Reset = TRUE, ResetRequest = FALSE as the reset signal must first be switched to FALSE.
The other outputs show SAFEFALSE or FALSE.
  • Verify the safety-related functions.
  • Verify the safety-related program.
  • Verify the connected safety-related periphery.
C014Reset Error 2 state

The function block detected a static TRUE signal at input Reset in state C010 (Acknowledge Lost).

The output Ready is TRUE. Output Error is TRUE to indicate the error state. The other outputs show SAFEFALSE or FALSE.
Verify the reset control device and its wiring. The Reset signal must have the FALSE status.
C020MonitoringTime Elapsed state

The defined safe state of the connected periphery was requested at the S_OpMode input. The FB waits in state 8002 for the confirmation signal. The feedback signal of the periphery connected to the S_Acknowledge input did not switch to SAFETRUE within the time specified at MonitoringTime.

The output Ready is TRUE. Output Error is TRUE to indicate the error state.
Output ResetRequest depends on the signal at input Reset:
  • If Reset = FALSE, ResetRequest = TRUE to indicate the required reset signal.
  • If Reset = TRUE, ResetRequest = FALSE as the reset signal must first be switched to FALSE.
The other outputs show SAFEFALSE or FALSE.
  • Verify the safety-related functions.
  • Verify the safety-related program.
  • Verify the connected safety-related periphery.
C011Reset Error 3 state

The function block detected a static TRUE signal at input Reset in state C020 (MonitoringTime Elapsed).

The output Ready is TRUE. Output Error is TRUE to indicate the error state. The other outputs show SAFEFALSE or FALSE.
Verify the reset control device and its wiring. The Reset signal must have the FALSE status.