-

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.
8802Mode Changed state

The state can be reached by one of the following events:
  • The function block is activated, or
  • the signal at one of the operating mode inputs (S_Mode0 to S_Mode7) has changed (unless selector switching is not locked, i.e., S_Unlock = SAFETRUE), or
  • a reset has been performed after an error state.
Output Ready is TRUE, outputs S_Mode0Sel to S_Mode7Sel and S_AnyModeSel are SAFEFALSE. SafetyDemand is TRUE to indicate that the safety chain is interrupted. The other outputs are FALSE.
S_SetMode must be SAFETRUE to activate the selected operating mode. Mode selector switching must be unlocked (S_Unlock = SAFETRUE).
8000 Mode Selected state

The function block is in a normal operating state: A valid mode has been selected (either because of a rising edge at S_SetMode or because AutoSetMode = TRUE).
Mode selector switching is not locked (S_Unlock = SAFETRUE).

The respective output of an operating mode (S_Mode0Sel to S_Mode7Sel) is SAFETRUE. S_AnyModeSel is SAFETRUE.
Output Ready is TRUE. The other outputs are FALSE.
No measures required.

If locking is required: Lock the mode selector switching by controlling S_Unlock = SAFEFALSE.

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.
8010Mode Locked state

The function block is in a normal operating state. A valid mode is selected (in previous state 8000) and mode selector switching has been locked (S_Unlock = SAFEFALSE).

The respective output of an operating mode (S_Mode0Sel to S_Mode7Sel) is SAFETRUE. S_AnyModeSel is SAFETRUE.
Output Ready is TRUE. The other outputs are FALSE.
No measures required.

To select another mode, unlock the mode selector switching first by controlling S_Unlock = SAFETRUE.

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.

Error codes

Code (hex)DescriptionOptions for remedy
C010Error Short Circuit state

More than one input of the operating mode (S_Mode0 to S_Mode7) was SAFETRUE at the same time.

The outputs Ready and Error are TRUE. The other outputs are SAFEFALSE or FALSE.
  • Verify the connected hardware and remedy the error. In particular, rule out cable short circuits.
  • After rectifying the error, perform an FB reset.
C410Error Short Circuit state

Only one or no input of the operating mode (S_Mode0 to S_Mode7) was SAFETRUE at the same time.

Outputs Ready and Error are TRUE. The outputs S_Mode0Sel to S_Mode7Sel and S_AnyModeSel are SAFEFALSE. SafetyDemand is FALSE.

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.
  • Verify the connected hardware and remedy the error. In particular, rule out cable short circuits.
  • After rectifying the error, perform an FB reset if this is indicated via ResetRequest = TRUE.
    Otherwise switch the reset signal to FALSE. The FB then changes to state C011.
C020Error Open Circuit state

Once the monitoring time specified at ModeMonitorTime has expired, all inputs of the operating mode (S_Mode0 to S_Mode7) were SAFEFALSE. One input of the operating mode should have switched to SAFETRUE within the time specified at ModeMonitorTime.

The outputs Ready and Error are TRUE. The other outputs are SAFEFALSE or FALSE.
  • Verify the connected hardware and remedy the error. In particular, rule out open cable connections.
  • Verify the monitoring time set at ModeMonitorTime and correct it if required.
  • After rectifying the error, perform an FB reset.
C420Error Open Circuit state

Once the monitoring time specified at ModeMonitorTime has expired, one input of the operating mode (S_Mode0 to S_Mode7) switched to SAFETRUE. The input should have switched to SAFETRUE within the time specified at ModeMonitorTime.

Outputs Ready and Error are TRUE. The outputs S_Mode0Sel to S_Mode7Sel and S_AnyModeSel are SAFEFALSE. SafetyDemand is FALSE.

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.
  • Verify the connected hardware and remedy the error. In particular, rule out open cable connections.
  • Verify the monitoring time set at ModeMonitorTime and correct it if required.
  • After rectifying the error, perform an FB reset if this is indicated via ResetRequest = TRUE.
    Otherwise switch the reset signal to FALSE. The FB then changes to state C021.
C011Reset Error 1 state

The function block detected a static TRUE signal at Reset while in state C410.

The outputs Ready and Error are TRUE. The other outputs are SAFEFALSE or FALSE.
Verify the reset control device and its wiring. The Reset signal must have the FALSE status.
C021Reset Error 2 state

The function block detected a static TRUE signal at Reset while in state C420.

The outputs Ready and Error are TRUE. The other outputs are SAFEFALSE or FALSE.
Verify the reset control device and its wiring. The Reset signal must have the FALSE status.