-

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.
8000 Normal state

The function block is in a normal operating state. The safety guard is closed and the defined safe state is acknowledged.

The S_GuardOut output is SAFETRUE and Ready is TRUE.
The other outputs show FALSE.
In case of an unexpected combination at the function block inputs relative to the physical input of the sensors, verify the connected hardware if required and correct the error.
8001Init state

The function block has been activated. This state of the function block is completed after one cycle of the Sicherheitssteuerung.

The Output Ready is TRUE.
The S_GuardOut output is SAFEFALSE and the other outputs show FALSE.
No measures required.
8802Opening Started state

The function block has detected that the connected safety equipment has been opened. One of the two switch signals shows the SAFEFALSE status. The FB waits for the completion of the switch sequence (i.e., the other S_GuardSwitchx input must follow to SAFEFALSE).

The Output Ready is TRUE. SafetyDemand = TRUE indicates that the safety chain is interrupted.
The S_GuardOut output is SAFEFALSE and the other outputs show FALSE.
  • Open the safety equipment completely.
  • Verify the wiring of a completely opened safety equipment and the switches of the safety equipment.
8804Guard Opened state

The function block has detected that the connected safety equipment has been completely opened. Both switch signals show the SAFEFALSE status.

The Output Ready is TRUE. SafetyDemand = TRUE indicates that the safety chain is interrupted.
The S_GuardOut output is SAFEFALSE and the other outputs show FALSE.
No measures required.
8806Wait for Guard Switch 2 state

The safety equipment is going to be closed but it is not yet completely closed (S_GuardSwitch1 = SAFETRUE and S_GuardSwitch2 = SAFEFALSE). The FB waits for the completion of the switch sequence (i.e., the other S_GuardSwitch2 input must follow to SAFETRUE).

The monitoring timer specified at DiscrepancyTime has been started.

The Output Ready is TRUE. SafetyDemand = TRUE indicates that the safety chain is interrupted.
The S_GuardOut output is SAFEFALSE and the other outputs show FALSE.
  • Close the safety equipment completely.
  • With the safety equipment fully closed, verify the position switches and the connections.
8808Wait for Guard Switch 1 state

The safety equipment is going to be closed but it is not yet completely closed (S_GuardSwitch2 = SAFETRUE and S_GuardSwitch1 = SAFEFALSE). The FB waits for the completion of the switch sequence (i.e., the other S_GuardSwitch1 input must follow to SAFETRUE).
The monitoring timer specified at DiscrepancyTime has been started.

The Output Ready is TRUE. SafetyDemand = TRUE indicates that the safety chain is interrupted.
The S_GuardOut output is SAFEFALSE and the other outputs show FALSE.
  • Close the safety equipment completely.
  • With the safety equipment fully closed, verify the position switches and the connections.
8802Guard Closed state

The open safety equipment is fully closed again. This state is completed after one cycle of the Sicherheitssteuerung. If no restart inhibit is set (S_AutoReset = SAFETRUE), the FB automatically changes to state 8000. Otherwise, it changes to state 8402.

The Output Ready is TRUE.
The S_GuardOut output is SAFEFALSE and the other outputs show FALSE.
No measures required.
8402Wait for Reset state

This state can be entered for two reasons:
  • The safety equipment is closed. After activating the FB, the start-up inhibit (set with S_StartReset = SAFEFALSE) is active.
  • The safety equipment has been closed properly. Now, the restart inhibit (set with S_AutoReset = SAFEFALSE) is active.
The FB now waits for a rising edge at input Reset.

The 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 S_GuardOut output is SAFEFALSE and the other outputs show FALSE.
Perform an FB reset if this is indicated via ResetRequest = TRUE.
Otherwise switch the reset signal to FALSE.

Error codes

Code (hex)DescriptionOptions for remedy
C001Reset Error state

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

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.
C010Discrepancy Time Error 1 state

The monitoring timer specified at DiscrepancyTime has expired in state 8806.

The safety equipment is not yet completely closed (S_GuardSwitch1 = SAFETRUE and S_GuardSwitch2 = SAFEFALSE).
  • Close the safety equipment completely.
  • With the safety equipment fully closed, verify the position switches and the connections.
  • Verify the monitoring time DiscrepancyTime.
C020Discrepancy Time Error 2 state

The monitoring timer specified at DiscrepancyTime has expired in state 8808.

The safety equipment is not yet completely closed (S_GuardSwitch1 = SAFEFALSE and S_GuardSwitch2 = SAFETRUE).
  • Close the safety equipment completely.
  • With the safety equipment fully closed, verify the position switches and the connections.
  • Verify the monitoring time DiscrepancyTime.