Output Description

../_images/ea8dbcbb40db162e0a331390008a2c0e

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.

ADD_ERNO (additional error number)

Data type: DWORD, default value: 0, range: ³ 0.

Output ADD_ERNO provides an additional error code of the stack (valid if ERNO=0x31).

LEN (length)

Data type: DWORD, default value: 0

Length of the received data in bytes.