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. The FB evaluates the signal applying to input S_Acknowledge.Output Ready is TRUE. Output ResetRequest depends on the signal at input Reset:
| Perform an FB reset if this is indicated via ResetRequest = TRUE.If a start-up inhibit is specified (S_StartReset = SAFEFALSE) but a TRUE signal already applies at input Reset, switch the reset signal to FALSE. The FB then changes to state C001. |
8804 | Wait for Confirmation OpMode stateThe defined safe state of the connected periphery is not requested. However, the feedback signal of the periphery connected to the S_Acknowledge (SAFETRUE) input does confirm the defined safe state.A safety request is output at S_SafetyRequest (SAFETRUE). In order to forward the request of the defined safe state to the periphery, the S_SafetyRequest output must be connected to the periphery.Output Ready and output SafetyDemand are TRUE. The other outputs are SAFEFALSE or FALSE. |
|
8802 | Operation Mode stateThe status feedback of the connected safety-related periphery at S_Acknowledge = SAFEFALSE. This means that the feedback signal of the periphery does not confirm the defined safe state.A safety request is output at S_SafetyRequest (SAFETRUE). In order to forward the request of the defined safe state to the periphery, the S_SafetyRequest output must be connected to the periphery.Output Ready and output SafetyDemand are TRUE. The other outputs are SAFEFALSE or FALSE. | If this is an intended event: No measure required. If this is an unintended event: Switch the S_OpMode input to SAFEFALSE to control the safe mode of the periphery. |
8002 | Wait for Confirmation stateThe defined safe state is requested at the S_OpMode input with a SAFEFALSE signal. The feedback signal connected to the S_Acknowledge input in the connected periphery was not yet switched to SAFETRUE by the periphery.By monitoring the time interval (value at MonitoringTime) between the request of the defined safe state and the acknowledged confirmation of the defined safe state, the function block detects the specified time being exceeded as an error.Output Ready is TRUE. The outputs S_SafetyRequest and S_SafetyActive are SAFEFALSE. The other outputs are FALSE. | If this is an intended event: No measure required.If this is an unintended event:
|
8000 | Safe Mode stateExecution of the safety-related function in the connected periphery was requested (S_OpMode = SAFEFALSE).The feedback signal connected to the S_Acknowledge input of the connected periphery was switched to SAFETRUE by the periphery: Confirmation of the defined safe state.Output Ready is TRUE. S_SafetyActive shows SAFETRUE. The other outputs are SAFEFALSE or FALSE | If this is an intended event: No measure required.If this is an unintended event:
|
8004 | Wait for OpMode stateFollowing a reset of the function block as a consequence of the function block error, the value SAFEFALSE is detected at the S_OpMode input. However, following an error message of the function block, the S_OpMode input must show the SAFETRUE state.Output Ready is TRUE. The other outputs are SAFEFALSE or FALSE. | Switch the S_OpMode input to SAFETRUE. |
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. |
C010 | Acknowledge Lost stateIn state 8000 (defined safe state confirmed by the connected periphery), the signal at S_Acknowledge changed to SAFEFALSE.The output Ready is TRUE. Output Error is TRUE to indicate the error state. Output ResetRequest depends on the signal at input Reset:
|
|
C014 | Reset Error 2 stateThe function block detected a static TRUE signal at input Reset in state C010 (Acknowledge Lost).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. |
C020 | MonitoringTime Elapsed stateThe defined safe state of the connected periphery was requested at the S_OpMode input. The FB waits in state 8002 for the confirmation signal. The feedback signal of the periphery connected to the S_Acknowledge input did not switch to SAFETRUE within the time specified at MonitoringTime.The output Ready is TRUE. Output Error is TRUE to indicate the error state. Output ResetRequest depends on the signal at input Reset:
|
|
C011 | Reset Error 3 stateThe function block detected a static TRUE signal at input Reset in state C020 (MonitoringTime Elapsed).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. |