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) | Description | Options for remedy |
---|---|---|
0000 | Idle stateThe 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. |
8401 | Init stateThe function block has been activated. If the start-up inhibit is active (set with S_StartReset = SAFEFALSE), the FB waits for a rising edge at input Reset to transition to 8006. If no startup inhibit is set (S_StartReset = SAFETRUE), the FB automatically changes to state 8006 after one cycle of the Sicherheitssteuerung.Output Ready is TRUE. Output ResetRequest depends on the signal at input Reset:
| Without start-up inhibit: No measures required.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. |
8006 | Output Disable stateThe process control is not active.Output Ready is TRUE. The S_OutControl output is SAFEFALSE and the other outputs show FALSE. | Request of an operation start at ProcessControl from the standard controller. |
8000 | Output Enable stateThe process control is active and safety is enabled.The function block has not detected a status event or an error to switch the enable output to SAFEFALSE. No triggered safety-related function is present (S_SafeControl = SAFETRUE). At the ProcessControl input, "running operation" is signaled from the standard controller (ProcessControl = TRUE).Output Ready is TRUE. The S_OutControl output is SAFETRUE and the other outputs show FALSE. | If this is an intended event: No measure required. If this is an unintended event:
|
8802 | Safe stateThe upstream safety-related function has triggered. The signal at input S_SafeControl is SAFEFALSE.Output Ready is TRUE. SafetyDemand = TRUE indicates the interrupted safety chain. The S_OutControl output is SAFEFALSE and the other outputs show FALSE. |
|
8404 | Lock stateThe upstream safety-related function signals normal operation again (S_SafeControl = SAFETRUE). The restart inhibit of the function block is active (specified by S_AutoReset = SAFEFALSE). If no restart inhibit is set (S_AutoReset = SAFETRUE), the FB automatically changes to state 8006 after one cycle of the Sicherheitssteuerung.Output Ready is TRUE. Output ResetRequest depends on the signal at input Reset:
| If the restart inhibit is active and ResetRequest = TRUE, reset the function block to remove the restart inhibit and switch the enable signal to SAFETRUE. Otherwise, switch the reset signal to FALSE. The FB then changes to state C011. |
Error codes
Code (hex) | Description | Options for remedy |
---|---|---|
C001 | Reset Error 1 stateThe function block detected a static TRUE signal at input Reset in state 8401.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. |
C011 | Reset Error 2 stateThe function block detected a static TRUE signal at input Reset in state 8404.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. |
C010 | Control Error stateThe function block detected a static TRUE signal at input ProcessControl in state 8006. During function block activation or removal of the request for the safety-related function, the function block detected the "running operation" request from the standard controller (permanent TRUE at ProcessControl). However, with StaticControl = FALSE an additional operation stop is required. |
|
C020 | Init Error stateA similar signal (i.e., rising edge in the same cycle) was detected in state 8401 at the inputs Reset and ProcessControl. This is probably caused by a programming or wiring error.The outputs Ready and Error show TRUE, S_OutControl = SAFEFALSE and the other outputs are FALSE. |
|
C030 | Lock Error stateA similar signal (i.e., rising edge in the same cycle) was detected in state 8404 at the inputs Reset and ProcessControl. This is probably caused by a programming or wiring error.The outputs Ready and Error show TRUE, S_OutControl = SAFEFALSE and the other outputs are FALSE. |
|