Output DescriptionΒΆ

DONE   BOOL \   (done)

Output DONE indicates that data has been sent. The output must always be considered together with the output ERR.

The following is valid:

DONE = TRUE and ERR = FALSE:

The sending process has been completed.  A data set has been sent correctly.

DONE = TRUE and ERR = TRUE:

An error occurred while sending data. The error number is indicated at output ERNO.

ERR   BOOL \   (error)

Output ERR indicates whether an error occurred during data transmission. This output always has to be considered together with output DONE. If an error has occurred during processing of the Function Block, the following applies: DONE = TRUE and ERR = TRUE. Output ERNO indicates the error number.

ERNO   WORD \   (error \ number)

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 Libraries encoding at output ERNO is explained at the beginning of the Function Block description.