Output Description

../_images/116bd40ee38a84a00a33139000eba54e

DONE   BOOL \   (done)

The output variable DONE shows the processing state of the Function Block. It shows TRUE when the processing ended or an error took place. This variable DONE should be checked together with the variable ERR. If DONE and ERR are set to TRUE then the output ERNO should be checked to see which error occurred.

ERR   BOOL \   (error)

ERR shows TRUE if the Function Block was terminated as a consequence of an error, or FALSE if it ended normally.

ERNO

Data_Type Default_Value Range Unit
WORD - 0 … 65535 -

At output ERNO the identifier of an occurred error is provided. It is only valid when DONE and ERR is TRUE. (see, error messages): Error Messages of the Function Block Libraries

RDY   BOOL \   (ready)

A command has been received if RDY = TRUE.