Output Description

../_images/c0e6bfb640db1ddb0a3313900111a117

DONE

Data_Type Default_Value Range Unit
BOOL - - -

Output indicates the processing state of the function block. After completion or abortion of processing (due to an error), DONE is set to TRUE for one cycle. This output always has to be considered together with output ERR. If ERR is TRUE, an error occurred. In this case, the error number can be read at output ERNO.

ERR (error)

Data type: BOOL

Output ERR indicates, whether an error occurred during control processing. In case of error, the error number can be read at output ERNO.

ERNO (error number)

Data_Type Default_Value Range Unit
WORD 0 ³ 0 -

Output provides an error identifier if an invalid value was applied to an input. ERNO always has to be considered together with the output ERR. The value output at ERNO is only valid if ERR is TRUE.

ERR_IN_CNT (error \ input \ counter)

Data type: BYTE, default value: 0, range: 0…255

The variable ERR_IN_CNT contains the number of input errors.

ERR_OUT_CNT (error \ output \ counter)

Data type: BYTE, default value: 0, range: 0…255

The variable ERR_OUT_CNT contains the number of output errors.