Output DescriptionΒΆ

../_images/30d36b82e38a2e470a33139000eba54e

DONE

Data_Type Default_Value Range Unit
BOOL - - -

Output DONE indicates the processing state of the Function Block. After completion or after abortion of the Function Block processing due to an error, DONE is set to TRUE for one cycle. For that reason, the 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

Data_Type Default_Value Range Unit
BOOL - - -

Output ERR indicates whether an error occurred during data transmission. This output always has to be considered together with output DONE. If DONE is TRUE and ERR is TRUE, an error occurred during Function Block processing. In this case, the error number can be read at output ERNO.

ERNO

Data_Type Default_Value Range Unit
WORD - - -

Output ERNO provides an error identifier if an invalid value was applied to an input or if an error occurred during Function Block processing. ERNO always has to be considered together with the outputs DONE and ERR. The output value at ERNO is only valid if DONE is TRUE and ERR is TRUE. The error messages Error Messages of the Function Block Libraries encoding at output ERNO is explained at the beginning of the library descriptions.

DATA_LEN

Data_Type Default_Value Range Unit
WORD - - Byte

Output DATA_LEN displays the length of the received data. The output value at DATA_LEN is only valid if DONE = TRUE.