-

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).

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

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 are SAFEFALSE or FALSE.
If the start-up inhibit is active: Perform an FB reset if this is indicated via ResetRequest = TRUE.
Otherwise switch the reset signal to FALSE. The FB then changes to state C001.
8002Safe state

The safety function is activated. The FB evaluates the signal at input S_AOPD_In.

Output Ready is TRUE.
The other outputs are SAFEFALSE or FALSE.
Switch input S_AOPD_In to SAFETRUE.
8000AOPD Free state

The function block is in a normal operating state. The muting process is not active. There is no safety demand from the safety-related equipment at the zone of operation (S_AOPD_In = SAFETRUE).
If the timers from a previous muting process are still running, they are stopped.

As a result, the enable signal is active (S_AOPD_Out = SAFETRUE). Output Ready is TRUE and the other outputs show SAFEFALSE or 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.
8402Safety Demand AOPD 1 state

A previously detected safety demand has been removed (S_AOPD_In is SAFETRUE again) or the cause of a previously detected error has been removed.
The FB waits for the acknowledgment by the operator in the form of 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 other outputs are SAFEFALSE or FALSE.
Perform an FB reset if this is indicated via ResetRequest = TRUE to exit the active (mandatory) restart inhibit for the function block.
Otherwise switch the reset signal to FALSE. The FB then changes to state C011.
8802Safety Demand AOPD 2 state

The muting process was not active but the safety-related equipment of the zone of operation signals the non-safe state (S_AOPD_In = SAFEFALSE).

Output Ready and output SafetyDemand are TRUE.
The other outputs are SAFEFALSE or FALSE.
Remove the request for the safety-related function at S_AOPD_In.
8010Muting Start 1 state

The muting process was requested and is in starting phase after detecting a rising edge at input S_MutingSwitch11 (S_MutingSwitch12 is still SAFEFALSE).

DiscTimeEntry monitoring (until S_MutingSwitch12 becomes SAFETRUE) and MaxMutingTime monitoring are started.

The enable signal is active (S_AOPD_Out = SAFETRUE). Output Ready is TRUE.
The other outputs are SAFEFALSE or 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.
8310Muting Start 2 state

The muting process was requested and is in starting phase after detecting a rising edge at input S_MutingSwitch12 (S_MutingSwitch11 is still SAFEFALSE).

DiscTimeEntry monitoring (until S_MutingSwitch11 becomes SAFETRUE) and MaxMutingTime monitoring are started.

The enable signal is active (S_AOPD_Out = SAFETRUE). Output Ready is TRUE.
The other outputs are SAFEFALSE or 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.
8020Muting Active state

The muting process is active after one of the following events:
  • A rising edge has been detected at the second muting sensor input S_MutingSwitch12 (if 8010 was the previous state) or S_MutingSwitch11 (if 8310 was the previous state).
  • A simultaneous rising edge has been detected at both muting sensor inputs S_MutingSwitch12 and S_MutingSwitch11 (if 8000 was the previous state).
DiscTimeEntry monitoring is stopped.

If the previsous state is 8000, MaxMutingTime monitoring is started. Otherwise (8010/8310) MaxMutingTime monitoring is continued.

The enable signal is active (S_AOPD_Out = SAFETRUE). S_MutingActive = SAFETRUE indicates the active muting process. Output Ready is TRUE.
The other outputs are 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.
8200Override Active state

During a muting error (state CYx4), the operator requests the override function (SAFETRUE signal at the S_StartStopOverride input). The override time monitoring (set at input MaxOverrideTime) is started.

The override function is active. The safety-related equipment is deactivated for as long as the override operation is active.

OverridePossible is TRUE to indicate the override operation can be requested by the operator. Output OverrideActive is TRUE.

The enable signal is active (S_AOPD_Out = SAFETRUE). S_MutingActive = SAFEFALSE indicates the muting process is no longer active. Output Ready is TRUE.
The other outputs are 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.
8832Override Interrupt state

During an active override operation, the signal at the S_StartStopOverride input switches to SAFEFALSE.
The override function is inactive again but the override time monitoring is continued.

OverridePossible is TRUE to indicate the override operation can be requested by the operator.

The enable signal is active (S_AOPD_Out = SAFETRUE). S_MutingActive = SAFEFALSE indicates the muting process is no longer active. Output Ready is TRUE.
The other outputs are FALSE.
Verify the override request control device and its wiring. The override signal must have the SAFETRUE status to request and maintain the Override Active status (8200).

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 (after the activation).

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

The function block detected an invalid value at one of the timer setting inputs DiscTimeEntry (max. value 4s) or MaxMutingTime (max. value 120m).

The output Ready is TRUE. Output Error is TRUE to indicate the error state. The other outputs show SAFEFALSE or FALSE.
  • Verify the value configured at DiscTimeEntry and MaxMutingTime.
  • Correct the incorrect value. The value should correspond to the results of your risk analysis. The limit values for parameters should be taken into account when performing your risk analysis.
C011Reset Error 2 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.
C020Error Timer MaxMuting 1 state

The active muting process (indicated by S_MutingActive = SAFETRUE) was not completed before time monitoring for the maximum muting time set at MaxMutingTime elapsed.

The output Ready is TRUE. Output Error is TRUE to indicate the error state.
ResetRequest shows FALSE to indicate that an FB reset makes no sense with the current combination of signals at the muting sensor inputs.
The other outputs show SAFEFALSE or FALSE.
  • Verify the muting process.
  • Verify the time value specified at MaxMutingTime. This value should correspond to the results of your risk analysis.
  • Verify the hardware.
  • Set the inputs S_MutingSwitch11 and S_MutingSwitch12 to FALSE. The FB then changes to state C420.
C420Error Timer MaxMuting 2 state

After a muting timer error (MaxMutingTime elapsed, state C020), the inputs S_MutingSwitch11 and S_MutingSwitch12 have been set to FALSE. This means the FB can be reset now.

The output Ready is TRUE. Output Error is TRUE to indicate the error state.
ResetRequest shows TRUE to indicate that the FB is waiting for a rising edge at input Reset.
The other outputs show SAFEFALSE or FALSE.
Perform a reset on the function block.
C030Error Timer Entry 1 state

The muting process was requested at S_MutingSwitch11 or at S_MutingSwitch12. When the discrepancy time monitoring set at DiscTimeEntry elapsed, only one muting sensor was TRUE.

The output Ready is TRUE. Output Error is TRUE to indicate the error state.
ResetRequest shows FALSE to indicate that an FB reset makes no sense with the current combination of signals at the muting sensor inputs.
The other outputs show SAFEFALSE or FALSE.
  • Verify the muting process.
  • Verify the time value specified at DiscTimeEntry. This value should correspond to the results of your risk analysis.
  • Verify the hardware (muting sensors).
  • Set the inputs S_MutingSwitch11 and S_MutingSwitch12 to FALSE. The FB then changes to state C430.
C430Error Timer Entry 2 state

After a muting timer error (DiscTimeEntry elapsed, state C030), the inputs S_MutingSwitch11 to MutingSwitch22 have been set to FALSE. This means the FB can be reset now.

The output Ready is TRUE. Output Error is TRUE to indicate the error state.
ResetRequest shows TRUE to indicate that the FB is waiting for a rising edge at input Reset.
The other outputs show SAFEFALSE or FALSE.
Perform a reset on the function block.
CYx4Error Muting Sequence state

Invalid muting sequence was detected in one of the states 8000, 8010 or 8030.

Encoding of the error code:

The character Y represents the state in which the error was detected.
  • C0x4 = Error occurred in state 8000 (AOPD Free)
  • C1x4 = Error occurred in state 8010 (Muting Start 1)
  • C2x4 = Error occurred in state 8310 (Muting Start 2)
x represents the status of the sensors when the error occurred.
4 bits:
LSB = S_MutingSwitch11;
next to LSB = S_MutingSwitch12.
  • Verify the muting process.
  • Set the inputs S_MutingSwitch11 and S_MutingSwitch12 to FALSE.
  • Then perform a reset on the function block.
C021Reset Error 3 state

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

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 4 state

The function block detected a static TRUE signal at input Reset in state C020 or C030.

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

The active override process (indicated by OverridePossible = TRUE) was not terminated before time monitoring for the maximum override time set at MaxOverrideTime elapsed. Instead, the signal at input S_StartStopOverride is still SAFETRUE.

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 are SAFEFALSE or FALSE.
  • Verify the override process.
  • Verify the time value specified at MaxOverrideTime. This value should correspond to the results of your risk analysis.
  • Verify the hardware.
  • Set the input S_StartStopOverride to SAFEFALSE.
  • Perform an FB reset if this is indicated via ResetRequest = TRUE.
C041Reset Error 5 state

The function block detected a static TRUE signal at input Reset in state C410 (Override Error).

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.