Output Description

../_images/09648e9e1ea4834a0a317f3423e4934e

DONE

Data_Type Default_Value Range Unit
BOOL - TRUE / FALSE -

Output DONE indicates the state of execution.

It has the value TRUE when the execution is finished and the outputs are valid. When DONE becomes FALSE other outputs are not valid any more.

ERR

Data_Type Default_Value Range Unit
BOOL - TRUE / FALSE -

Output ERR indicates whether an error occurred during Function Block execution.

It is only valid when DONE is TRUE. The kind of occurred error is specified by the error identifier 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