Output Description

../_images/4e5d7fe0e38a80e80a33139000eba54e

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

OUT   REAL \    (output)

The output OUT gives the received value as a floating point number.

The output always has to be considered together with output RDY.

TIMESTAMP_VALID   BOOL \    (timestampvalid)

Valid timestamp was received when the output is TRUE.

The output always has to be considered together with output RDY.

TIMESTAMP   DT \    (timestamp)

If data with timestamp is received, the timestamp is given at this output.

The value is given if a valid timestamp was received and the output VALID_TIMESTAMP = TRUE.

MSEC   WORD \    (milliseconds)

Value of the received timestamp in milliseconds. The value is given if a valid timestamp was received and the output VALID_TIMESTAMP = TRUE.

OV   BOOL \    (overrun)

Overrun was detected if the output OV = TRUE.

The output OV indicates by changing from FALSE to TRUE, that the transmission requests are coming too fast, i.e. the task cycle time is configured as too fast.

The output always has to be considered together with output RDY.