Output DescriptionΒΆ

DONE

Data_Type Default_Value Range Unit
BOOL - - -

Output DONE indicates whether a telegram has been received since the last execution of the COM_REC Function Block (DONE = TRUE) or not (DONE = FALSE). DONE has always to be considered in conjunction with output ERR, since errors may have occurred during reception (e.g. buffer too small for actual telegram length).

ERR

Data_Type Default_Value Range Unit
BOOL - - -

Output ERR indicates whether an error occurred. This output always has to be considered together with output DONE. If an error has occurred, the following applies: DONE = TRUE and ERR = TRUE. Output ERNO signalizes the error number.

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 job processing. ERNO always has to be considered together with the outputs DONE and ERR. The value output at ERNO is only valid if DONE is TRUE and ERR is TRUE. The error messages Error Messages of the Function Block Librariesencoding at output ERNO is explained at the beginning of the Function Block description.