Output Description

../_images/8aa6a26d0d2680cd0a3313900058da74

Function Block PUMP_AUTOCHANGE

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 data reception. If ERR is TRUE, an error occurred. In this case, 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 (see, error messages): Error Messages of the Function Block Libraries