-

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
0000Idle 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 FB has been activated (Activate = TRUE). The start-up inhibit is active by default.

Output Ready is TRUE, the enable output shows SAFEFALSE, output ResetRequest is TRUE to indicate the required reset signal for removing the start-up inhibit. The other outputs are FALSE.
Perform a reset on the function block.
8810Output Disable state

The start-up inhibit has been removed by a positiv signal egde at input ResetRequest.

The FB verifies the inital state of the contactors. The monitoring timer set at input MonitoringTime is started. Both feedback signals at the inputs EDM1 and EDM2 must report the initial state (TRUE) before the timer elapses.

The FB waits for the control signal S_OutControl to switch to SAFETRUE

Output Ready is TRUE, the enable output shows SAFEFALSE, output SafetyDemand is TRUE to indicate that the safety chain is interrupted. The other outputs are FALSE.
To switch S_EDM_Out to SAFETRUE, S_OutControl must be SAFETRUE.
8000Output Enable state

In the previous state 8810, the control signal S_OutControl switched to SAFETRUE.

The FB verifies the switching behavior of the contactors. The monitoring timer set at input MonitoringTime is started. Both feedback signals at the inputs EDM1 and EDM2 must become FALSE before the timer elapses.

If this happens, the S_EDM_Out output switches to SAFETRUE. Output Ready is TRUE and the other outputs show FALSE.
No measure required.

In case of an unexpected combination at the function block inputs relative to the physical input of the sensors, verify S_OutControl and the connected hardware.

Error codes

Code (hex)DescriptionOptions for remedy
C001Reset Error 1 state

A permanent TRUE at input Reset was detected in init state 8401.

The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Switch Reset = FALSE.
  • Verify the reset control device and its wiring.
C010
C410
EDM Error 11 state

C010: When switching S_OutControl to SAFETRUE in state 8810 (verification of the initial contactor state), the feedback signal at EDM1 is invalid: EDM1 = FALSE and EDM2 = TRUE were detected.
In C010, ResetRequest = FALSE as a reset with the current value combination at EDM1 and EDM2 would not leave the error state.

C410 is entered after switching EDM1 = TRUE in state C010. Now, 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.
In both error states C010 and C410, the outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and SafetyDemand = FALSE.
  • Verify the connected contactors and their wiring.
  • Both feedback signals of the switched off contactors must be TRUE.
  • Then perform a reset afterwards.
C011Reset Error 21 state

There are two possible causes for this error. In state C010, one of the following was detected:

  • A permanent TRUE at Reset.
  • A simultaneous rising edge at Reset and EDM1 (wiring or programming error).
The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Switch Reset = FALSE.
  • Verify the connected contactors and their wiring.
  • Verify the reset control device and its wiring.
C020
C420
EDM Error 12 state

C020: When switching S_OutControl to SAFETRUE in state 8810 (verification of the initial contactor state), the feedback signal at EDM2 is invalid: EDM2 = FALSE and EDM1 = TRUE were detected.
In C020, ResetRequest = FALSE as a reset with the current value combination at EDM1 and EDM2 would not leave the error state.

C420 is entered after switching EDM2 = TRUE in state C020. Now, 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.
In both error states C020 and C420, the outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and SafetyDemand = FALSE.
  • Verify the connected contactors and their wiring.
  • Both feedback signals of the switched off contactors must be TRUE.
  • Then perform a reset afterwards.
C021Reset Error 22 state

There are two possible causes for this error. In state C020, one of the following was detected:

  • A permanent TRUE at Reset.
  • A simultaneous rising edge at Reset and EDM2 (wiring or programming error).
The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Switch Reset = FALSE.
  • Verify the connected contactors and their wiring.
  • Verify the reset control device and its wiring.
C030
C430
EDM Error 13 state

C030: When switching S_OutControl to SAFETRUE in state 8810 (verification of the initial contactor state), the feedback signals at EDM1 and EDM2 are invalid: EDM1 and EDM2 = FALSE were detected.
In C030, ResetRequest = FALSE as a reset with the current value combination at EDM1 and EDM2 would not leave the error state.

C430 is entered after switching EDM1 and EDM2 = TRUE in state C030. Now, 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.
In both error states C030 and C430, the outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and SafetyDemand = FALSE.
  • Verify the connected contactors and their wiring.
  • Both feedback signals of the switched off contactors must be TRUE.
  • Then perform a reset afterwards.
C031Reset Error 23 state

There are two possible causes for this error. In state C030, one of the following was detected:

  • A permanent TRUE at Reset.
  • A simultaneous rising edge at Reset and EDM1 and EDM2 (wiring or programming error).
The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Switch Reset = FALSE.
  • Verify the connected contactors and their wiring.
  • Verify the reset control device and its wiring.
C040
C440
EDM Error 21 state

C040: In state 8810 (verification of the initial contactor state), the feedback signal at EDM1 was not valid after the monitoring time set at MonitoringTime has elapsed: EDM1 = FALSE and EDM2 = TRUE were detected.
In C040, ResetRequest = FALSE as a reset with the current value combination at EDM1 and EDM2 would not leave the error state.

C440 is entered after switching EDM1 = TRUE in state C040. Now, 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.
In both error states C040 and C440, the outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and SafetyDemand = FALSE.
  • Verify the connected contactors and their wiring.
  • Both feedback signals of the switched off contactors must be or switch to TRUE within the specified MonitoringTime.
  • Then perform a reset afterwards.
C041Reset Error 31 state

There are two possible causes for this error. In state C040, one of the following was detected:

  • A permanent TRUE at Reset.
  • A simultaneous rising edge at Reset and EDM1 (wiring or programming error).
The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Switch Reset = FALSE.
  • Verify the connected contactors and their wiring.
  • Verify the reset control device and its wiring.
C050
C450
EDM Error 22 state

C050: In state 8810 (verification of the initial contactor state), the feedback signal at EDM2 was not valid after the monitoring time set at MonitoringTime has elapsed: EDM2 = FALSE and EDM1 = TRUE were detected.
In C050, ResetRequest = FALSE as a reset with the current value combination at EDM1 and EDM2 would not leave the error state.

C450 is entered after switching EDM2 = TRUE in state C050. Now, 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.
In both error states C050 and C450, the outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and SafetyDemand = FALSE.
  • Verify the connected contactors and their wiring.
  • Both feedback signals of the switched off contactors must be or switch to TRUE within the specified MonitoringTime.
  • Then perform a reset afterwards.
C051Reset Error 32 state

There are two possible causes for this error. In state C050, one of the following was detected:

  • A permanent TRUE at Reset.
  • A simultaneous rising edge at Reset and EDM2 (wiring or programming error).
The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Switch Reset = FALSE.
  • Verify the connected contactors and their wiring.
  • Verify the reset control device and its wiring.
C060
C460
EDM Error 23 state

C060: In state 8810 (verification of the initial contactor state), the feedback signals EDM1 and EDM2 were invalid after the monitoring time set at MonitoringTime has elapsed: EDM1 and EDM2 = FALSE were detected.
In C060, ResetRequest = FALSE as a reset with the current value combination at EDM1 and EDM2 would not leave the error state.

C460 is entered after switching EDM1 and EDM2 = TRUE in state C060. Now, 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.
In both error states C060 and C460, the outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and SafetyDemand = FALSE.
  • Verify the connected contactors and their wiring.
  • Both feedback signals of the switched off contactors must be or switch to TRUE within the specified MonitoringTime.
  • Then perform a reset afterwards.
C061Reset Error 33 state

There are two possible causes for this error. In state C060, one of the following was detected:

  • A permanent TRUE at Reset.
  • A simultaneous rising edge at Reset and EDM1 and EDM2 (wiring or programming error).
The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Switch Reset = FALSE.
  • Verify the connected contactors and their wiring.
  • Verify the reset control device and its wiring.
C070EDM Error 31 state

In state 8000 (verification of the contactor switching behavior), the feedback signal at EDM1 was not valid after the monitoring time set at MonitoringTime has elapsed: EDM1 = TRUE and EDM2 = FALSE were detected.

The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE. SafetyDemand = 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 contactors and their wiring.
  • Both feedback signals of the switched off contactors must be or switch to TRUE within the specified MonitoringTime.
  • Then perform a reset afterwards.
C071Reset Error 41 state

A permanent TRUE at input Reset was detected in state C070.

The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Switch Reset = FALSE.
  • Verify the reset control device and its wiring.
C080EDM Error 32 state

In state 8000 (verification of the contactor switching behavior), the feedback signal at EDM2 was not valid after the monitoring time set at MonitoringTime has elapsed: EDM1 = FALSE and EDM2 = TRUE were detected.

The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE. SafetyDemand = 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 contactors and their wiring.
  • Both feedback signals of the switched off contactors must be or switch to TRUE within the specified MonitoringTime.
  • Then perform a reset afterwards.
C081Reset Error 42 state

A permanent TRUE at input Reset was detected in state C080.

The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Switch Reset = FALSE.
  • Verify the reset control device and its wiring.
C090EDM Error 33 state

In state 8000 (verification of the contactor switching behavior), the feedback signals at EDM1 and EDM2 were not valid after the monitoring time set at MonitoringTime has elapsed: EDM1 and EDM2 = TRUE were detected.

The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE. SafetyDemand = 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 contactors and their wiring.
  • Both feedback signals of the switched off contactors must be or switch to TRUE within the specified MonitoringTime.
  • Then perform a reset afterwards.
C091Reset Error 43 state

A permanent TRUE at input Reset was detected in state C090.

The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Switch Reset = FALSE.
  • Verify the reset control device and its wiring.
C100Init Error state

A similar signal (i.e., rising edge in the same cycle) was detected at Reset and S_OutControl. This is probably caused by a programming or wiring error.

The outputs Ready and Error show TRUE, S_EDM_Out = SAFEFALSE and the other outputs are FALSE.
  • Verify the connection at S_OutControl and Reset. These inputs must be controlled by two different signal sources.
  • Remove the connection error or programming error where required.
  • Switch Reset to FALSE to exit the error state.