Output Description¶
DONE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | TRUE / FALSE | - |
Output DONE indicates the state of execution.
It has the value TRUE when the execution is finished and the outputs are valid. When DONE becomes FALSE other outputs are not valid any more.
ERR
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | TRUE / FALSE | - |
Output ERR indicates whether an error occurred during Function Block execution.
It is only valid when DONE is TRUE. The kind of occurred error is specified by the error identifier at output ERNO.
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
IP_ADR DWORD \ (IPaddress)
Output IP_ADR displays the IP address of the sending device which transmitted the received data package. Each byte in IP_ADR represents one octet of the address.
Example:
IP address 192.15.24.2,
IP_ADR (hex) 16#C00F1802,
IP_ADR (dec) 3222214658
LEN WORD \ (length)
Output LEN displays the length of the received data package in bytes.
LEV_BY WORD \ (level \ in bytes)
Output LEV_BY displays the filling level of the receive buffer in bytes. 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 + 6 bytes in the receive buffer (4 bytes for the IP address of the sending device, 2 bytes for the specification of the length).
LEV_DS WORD \ (level \ in data \ sets)
Output LEV_DS displays the filling level of the receive buffer in data records. 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.