ETHx_UDP_SENDΒΆ

../_images/6367ab20e38a1f780a33139000eba54e

The Function Block ETHx_UDP_SEND is used to transmit data packages via the UDP/IP protocol of the ETHERNET interface. The specified packages are stored in the transmit buffer selected by input PRIO. From there, the operating system hands over the data packages to the ETHERNET interface in order to transmit them to the target address specified at input IP_ADR. The transmit buffer size is defined by the PLC configuration. Using input TOUT, the timeout period can be specified. If TOUT <> 0, the UDP/IP data exchange is automatically performed with receive acknowledgement. If TOUT = 0, no acknowledgement is expected. Output DONE indicates that the specified data package has been stored in the transmit buffer or that an error occurred during Function Block processing. If an error was detected during Function Block processing, the error is additionally indicated at the outputs ERR and ERNO. In case of an error, the data package has to be transmitted again.

The Function Block ETHx_UDP_SEND cannot store data packages to the transmit buffer until the ETHERNET UDP/IP processing is set in the controller configuration.

Available as of PLC runtime system: V2.4
Included in library: Ethernet_AC500_V10.lib
Type Function Block with historical values