Output DescriptionΒΆ

DONE   BOOL \    (done)

Output DONE indicates that the specified package has been stored in the transmit buffer or that an error occurred during Function Block processing. This is why the output has always to be considered together with output ERR.

Output DONE is set to TRUE for one cycle.

The following applies:

DONE = FALSE

ERR = xxx:

The specified packet has not been stored in the transmit buffer.

DONE = TRUE

ERR = FALSE:

The specified packet has been stored in the transmit buffer.

DONE = TRUE

ERR = TRUE:

An error occurred during transmission. The specified data packet was not stored in the transmit buffer. The error can be evaluated at output ERNO.

ERR   BOOL \    (error)

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

Output ERR is set to TRUE for one cycle.

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 request 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 are explained at the beginning of the library description.

LEV_BY   WORD \    (level \ in bytes)

Output LEV_BY displays the filling level (in bytes) of the transmit buffer selected at input PRIO. The displayed value is updated as long as EN is TRUE and applies to the input values read with the rising edge at input EN.

One data package occupies output LEN + 8 bytes in the transmit buffer (4 bytes for the IP address of the recipient, 2 bytes for the specification of the length and 2 bytes for the timeout period).

LEV_DS   WORD \    (level \ in data \ sets)

Output LEV_DS displays the filling level (in data records) of the transmit buffer selected at input PRIO. The displayed value is updated as long as EN is TRUE and applies to the input values read with the rising edge at input EN.