-

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 codes (except error codes)

Code (hex)DescriptionOptions for remedy
0000The function block is not activated.Activate the function block by switching Activate to TRUE.
8000The function block is active. Manual resetting has been requested correctly and is currently activated for one Safety PLC cycle. The ResetOut output is TRUE.If this is an intended event: no measure required.

If this is an unintended event:
  • Verify the parameterization of the function block (inputs RisingEdge, EdgeMonitoring, MinEdgeTime, and MaxEdgeTime).
  • Verify the safety-related functions.
  • Verify the safety-related code.
  • Verify the control of the operation stop from the standard controller (evaluation at the OperationStop input).
8001The function block was activated and is initializing. It verifies its parameterization (MinEdgeTime < MaxEdgeTime and EdgeMonitoring must only be set to TRUE if RisingEdge = FALSE).
Manual reset function cannot yet be requested.
In this state, the function block expects FALSE at the ResetIn input.
Switch the ResetIn input to FALSE.
8010The function block is activated and its parameterization is valid. Manual reset function cannot be requested because the OperationStop input is FALSE (standard PLC is not in operational stop mode).Switch the OperationStop input to TRUE to allow the request of the manual reset function.
8020The function block is activated, its parameterization is valid and it is ready to execute the manual reset function (OperationStop = TRUE).Switch the ResetIn input to TRUE.

Depending on the parameterization, a rising edge at ResetIn has one of the following effects:
  • If RisingEdge = TRUE, manual resetting is immediately executed at the ResetOut output (function block enters the 8000 state),
  • or if RisingEdge = FALSE and EdgeMonitoring = FALSE, the function block enters the 8030 state,
  • or if RisingEdge = FALSE and EdgeMonitoring = TRUE, the function block enters the 8040 state.
8030The function block is activated, its parameterization is valid and a rising edge has already been detected at ResetIn. The falling edge is expected (RisingEdge = FALSE) in order to output the reset pulse at ResetOut. No time monitoring takes place.Switch the ResetIn input to FALSE.
8040The function block is activated, its parameterization is valid and a rising edge has already been detected at ResetIn. The falling edge is expected (RisingEdge = FALSE) in order to output the reset pulse at ResetOut. As edge monitoring is activated (EdgeMonitoring = TRUE), the configured signal timing must be kept.Switch the ResetIn input to FALSE with the following timing: the ResetIn signal must be applied for at least the minimum duration set at the MinEdgeTime input and it has to switch from TRUE back to FALSE before the maximum time (MaxEdgeTime) has been exceeded in order to enable the output signal.

Error codes

Code (hex)DescriptionOptions for remedy
C000Invalid function block parameterization: the time value at input MaxEdgeTime is less than or equal to the time value at MinEdgeTime.Apply valid time values:
MinEdgeTime < MaxEdgeTime.
C001Invalid function block parameterization: RisingEdge and EdgeMonitoring are both set to TRUE.Apply valid values:
EdgeMonitoring must only be set to TRUE if RisingEdge = FALSE.
C002A permanent TRUE was detected at ResetIn after activating the function block.Switch the ResetIn input to FALSE.
C003In the 8010 state, a rising edge was detected at the ResetIn input although the OperationStop input is FALSE.Switch the ResetIn input to FALSE.
C004Simultaneous rising edges were detected at the inputs ResetIn and OperationStop. Switch the ResetIn input to FALSE.
C030The minimum edge duration set at the MinEdgeTime input was not met before the ResetIn signal switched back to FALSE.Switch the ResetIn input from FALSE back to TRUE.
C040The maximum edge duration set at the MaxEdgeTime input was exceeded before the ResetIn signal switched back to FALSE.Switch the ResetIn input from FALSE back to TRUE.