-

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 (if closed and locked)

The function block has been activated and initiated. The safety equipment is closed (S_Guard = SAFETRUE) and locked (S_GuardLock = SAFETRUE) with the guard locking.

If a start-up inhibit is active (set with S_StartReset = SAFEFALSE), the FB waits for a rising edge at input Reset. Otherwise, the FB changes to state 8000 after one cycle of the Sicherheitssteuerung.

Output Ready is TRUE. The outputs S_GuardLocked and S_UnlockGuard show SAFEFALSE.

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 FALSE.
Perform an FB reset if this is indicated via ResetRequest = TRUE.
Otherwise switch the reset signal to FALSE.
8801Init state (if not 8401)

The function block has been activated and initiated. At least one of the input signals at S_Guard or S_GuardLock is SAFEFALSE. This means the safety equipment is either not closed and/or not locked.

Output Ready is TRUE. SafetyDemand = TRUE indicates that the safety chain is interrupted.
The outputs S_GuardLocked and S_UnlockGuard show SAFEFALSE. The other outputs show FALSE.
Close and lock the safety equipment. The FB then changes to state 8401.
8000Guard Closed and Locked state

The safety equipment is closed (S_Guard = SAFETRUE) and locked (S_GuardLock = SAFETRUE) with the guard locking.

The S_GuardLocked output is SAFETRUE and Ready is TRUE.
Output S_UnlockGuard is SAFEFALSE, 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.
8010Wait for Unlocked state

The safety equipment is closed (S_Guard = SAFETRUE) and locked (S_GuardLock = SAFETRUE) with the guard locking. A request to unlock the guard locking has been detected via a rising edge following a constant TRUE at input UnlockRequest while the defined safe state of the zone of operation is reported (S_SafetyActive = SAFETRUE). The unlock request has not yet been acknowledged by the safety equipment. The FB waits for the SAFETRUE signal at input S_GuardLock.

Output Ready is TRUE. S_UnlockGuard is SAFETRUE to request the unlocking.
The S_GuardLocked output is SAFEFALSE. The other outputs show FALSE.
No measures required. S_GuardLock must switch to SAFETRUE within 2 seconds.
8822Guard Open and Unlocked state

The safety equipment is open (S_Guard = SAFEFALSE). Although it is already unlocked, a request to unlock the guard locking has been detected at input UnlockRequest while the defined safe state of the zone of operation is reported (S_SafetyActive = SAFETRUE).

Output Ready is TRUE. SafetyDemand = TRUE indicates that the safety chain is interrupted. S_UnlockGuard is SAFETRUE to request the unlocking.
The S_GuardLocked output is SAFEFALSE. The other outputs show FALSE.
You can open the safety equipment or cancel the unlock request to enable the area protected by the safety equipment for normal operation.
8832Guard Closed but Unlocked state

The safety equipment is closed (S_Guard = SAFETRUE) but unlocked (S_GuardLock = SAFEFALSE). Although unlocked, a request to unlock the guard locking has been detected at input UnlockRequest while the defined safe state of the zone of operation is reported (S_SafetyActive = SAFETRUE).

Output Ready is TRUE. SafetyDemand = TRUE indicates that the safety chain is interrupted. S_UnlockGuard is SAFETRUE to request the unlocking.
The S_GuardLocked output is SAFEFALSE. The other outputs show FALSE.
You can open the safety equipment or cancel the unlock request to enable the area protected by the safety equipment for normal operation.
8812Wait for Operator state

The FB waits that the operator either closes and locks the safety equipment or requests to open the safety equipment (unlock request).

Output Ready is TRUE. SafetyDemand = TRUE indicates that the safety chain is interrupted.
The outputs S_GuardLocked and S_UnlockGuard are SAFEFALSE. The other outputs show FALSE.
Perform one of the following:
  • To enable the area protected by the safety equipment for normal operation: Close and lock the safety equipment (that S_Guard and S_GuardLock become = SAFETRUE) and cancel the unlock request.
  • Request unlocking (by applying a rising edge at input UnlockRequest) and then open the safety equipment.
8430Wait for Reset state

The safety equipment is closed (S_Guard = SAFETRUE) and locked (S_GuardLock = SAFETRUE) again. The restart inhibit of the function block (set by S_AutoReset = SAFEFALSE) is active.

The FB now waits for a rising edge at input Reset.

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 outputs S_GuardLocked and S_UnlockGuard are SAFEFALSE. The other outputs show FALSE.
Perform an FB reset if this is indicated via ResetRequest = TRUE.
Otherwise switch the reset signal to FALSE. The FB then changes to state C031.

Error codes

Code (hex)DescriptionOptions for remedy
C001Reset Error 0 state

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

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.
C010Guard Error state

S_Guard and S_GuardLock are not SAFETRUE although the door was not requested to be opened.

The output Ready is TRUE. Output Error is TRUE to indicate the error state. The other outputs show SAFEFALSE or FALSE.
Verify the wiring and the safety equipment.
C011Reset Error 1 state

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

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.
C410Guard Return state

S_Guard and S_GuardLock switched back to SAFETRUE after being lost (state C010).

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.
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.
C050
C450
Safety Lost state

C450: The signal that reports the defined safe state of the zone of operation at input S_SafetyActive switched to SAFEFALSE while the safety equipment is either not closed (S_Guard = SAFEFALSE) and/or not locked (S_GuardLock = SAFEFALSE).

In state C450, the output Ready is TRUE. Output Error is TRUE to indicate the error state. Output S_UnlockGuard is SAFETRUE.
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.C050: The signal at input S_SafetyActive switched to SAFEFALSE while the safety equipment is closed and locked (S_Guard and S_GuardLock = SAFETRUE).

In state C050, the output Ready is TRUE. Output Error is TRUE to indicate the error state. Output S_UnlockGuard is SAFETRUE. The other outputs show SAFEFALSE or FALSE.
  • Verify the connected hardware and remedy the error. In particular, rule out open cable connections and short circuits.
  • After rectifying the error, perform an FB reset.
C420Safety Return state

The signal that reports the defined safe state of the zone of operation at input S_SafetyActive switched to SAFETRUE again after being lost (state C050 or C450).

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.
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.
C021Reset Error 2 state

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

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.
C031Reset Error 3 state

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

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.
C440Unlock Request Error state

The waiting time for unlocking the guard lock exceeded. After switching the UnlockRequest input to TRUE (state 8010), the FB expects the acknowledgment of the safety equipment (SAFETRUE signal at input S_GuardLock) within 2 seconds.

The output Ready is TRUE. Output Error is TRUE to indicate the error state.
Output S_UnlockGuard is SAFETRUE to request the unlocking at the safety equipment.
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 connected hardware and remedy the error. In particular, rule out open cable connections and 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 C041.

C041Reset Error 4 state

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

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.