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_EquivalentOut is SAFEFALSE. The FB waits for switching operations at the inputs S_ChannelA and S_ChannelB. | Both inputs S_ChannelA and S_ChannelB must be SAFETRUE to switch the enable output to SAFETRUE. |
8802 | Wait for Channel B stateThe signal at input S_ChannelA has switched to SAFETRUE. The discrepancy time monitoring of both inputs set at DiscrepancyTime was started. The FB waits for the rising edge at input S_ChannelB so that equivalence is achieved. | To switch the enable output to SAFETRUE (state 8000), switch the signal at input S_ChannelB to SAFETRUE before the timer set at input DiscrepancyTime has elapsed .If required, verify the time value at DiscrepancyTime and the connected hardware. |
8804 | Wait for Channel A stateThe signal at input S_ChannelB has switched to SAFETRUE. The discrepancy time monitoring of both inputs set at DiscrepancyTime was started. The FB waits for the rising edge at input S_ChannelA so that equivalence is achieved. | To switch the enable output to SAFETRUE (state 8000), switch the signal at input S_ChannelA 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_ChannelA and S_ChannelB have switched to SAFETRUE within the set discrepancy time, signals at these inputs are equivalent. As a result, the S_EquivalentOut 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_ChannelA or S_ChannelB) has been switched to SAFEFALSE. The enable output S_EquivalentOut shows SAFEFALSE, output Ready remains TRUE. The FB waits for the other input channel to switch to SAFEFALSE. | Switch the other input channel to SAFEFALSE 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 Channel B).The enable output S_EquivalentOut shows SAFEFALSE, output Error switches to TRUE. These output signal values remain until S_ChannelA and S_ChannelB are both SAFETRUE. |
|
C020 | Error 2 stateDiscrepancy time set at input DiscrepancyTime has elapsed in state 8804 (Wait for Channel A).The enable output S_EquivalentOut shows SAFEFALSE, output Error switches to TRUE. These output signal values remain until S_ChannelA and S_ChannelB are both SAFETRUE. |
|
C030 | Error 3 stateDiscrepancy time set at input DiscrepancyTime has elapsed in state 8806 (From Active Wait).The enable output S_EquivalentOut shows SAFEFALSE, output Error switches to TRUE. These output signal values remain until S_ChannelA and S_ChannelB are both SAFETRUE. |
|