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. |
8801 | Init stateThe FB has been activated (Activate = TRUE). Output Ready ist TRUE and S_AntivalentOut is SAFEFALSE. The FB waits for switching operations at the inputs S_ChannelNC and S_ChannelNO. | S_ChannelNC must be SAFETRUE and S_ChannelNO must be SAFEFALSE to switch the enable output to SAFETRUE. |
8802 | Wait for NO stateThe signal at input S_ChannelNC has switched to SAFETRUE. This means both inputs S_ChannelNC and S_ChannelNO are now SAFETRUE. The discrepancy time monitoring of both inputs set at DiscrepancyTime was started. The FB waits for the falling edge at input S_ChannelNO so that antivalence is achieved. | To switch the enable output to SAFETRUE (state 8000), switch the signal at input S_ChannelNO to SAFEFALSE before the timer set at input DiscrepancyTime has elapsed .If required, verify the time value at DiscrepancyTime and the connected hardware. |
8804 | Wait for NC stateThe signal at input S_ChannelNO has switched to SAFEFALSE. This means both inputs S_ChannelNC and S_ChannelNO are now SAFEFALSE. The discrepancy time monitoring of both inputs set at DiscrepancyTime was started. The FB waits for the rising edge at input S_ChannelNC so that antivalence is achieved. | To switch the enable output to SAFETRUE (state 8000), switch the signal at input S_ChannelNC to SAFETRUE before the timer set at input DiscrepancyTime has elapsed.If required, verify the time value at DiscrepancyTime and the connected hardware. |
8000 | Safety Output Enabled stateThe function block is in a normal operating state: The inputs S_ChannelNC and S_ChannelNO have switched within the set discrepancy time, signals at these inputs are antivalent. As a result, the S_AntivalentOut output is SAFETRUE. | No measure required.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. |
8806 | From Active Wait stateOne channel (S_ChannelNC or S_ChannelNO) has been switched to its inactive state. The enable output S_AntivalentOut shows SAFEFALSE, output Ready remains TRUE. The FB waits for the other input channel to switch to its inactive state. | Switch the other input channel to its inactive state before the timer set at input DiscrepancyTime has elapsed. If required, verify the time value at DiscrepancyTime and the connected hardware. |
Error codes
Code (hex) | Description | Options for remedy |
---|---|---|
C010 | Error 1 stateDiscrepancy time set at input DiscrepancyTime has elapsed in state 8802 (Wait for NO).The enable output S_AntivalentOut shows SAFEFALSE, output Error switches to TRUE. These output signal values remain until S_ChannelNC is switched to SAFEFALSE and S_ChannelNO to SAFETRUE. |
|
C020 | Error 2 stateDiscrepancy time set at input DiscrepancyTime has elapsed in state 8804 (Wait for NC).The enable output S_AntivalentOut shows SAFEFALSE, output Error switches to TRUE. These output signal values remain until S_ChannelNC is switched to SAFEFALSE and S_ChannelNO to SAFETRUE. |
|
C030 | Error 3 stateDiscrepancy time set at input DiscrepancyTime has elapsed in state 8806 (From Active Wait).The enable output S_AntivalentOut shows SAFEFALSE, output Error switches to TRUE. These output signal values remain until S_ChannelNC is switched to SAFEFALSE and S_ChannelNO to SAFETRUE. |
|