ETH_UDP_STOΒΆ

../_images/a5a60d60e38a25710a33139000eba54e

The ETH_UDP_STO Function Block reads lost data packages from the timeout data buffer and stores the user data to the specified memory area.

During the transmission of a data package, the success of the transmission is monitored by an adjustable timeout period. When this time is exceeded, distinctive information of the data package are stored in the timeout buffer.

These are:

  • the IP address of the receiver (4 bytes)
  • header data of the data set (the number is specified with the controller configuration of the UDP/IP processing).

The buffer length can as well be set using the controller configuration of the UDP/IP processing. The buffer is constructed as a circular buffer (FIFO). If the buffer is full, the oldest entry in the buffer is overwritten. When a rising edge occurs at input EN, the ETH_UDP_STO Function Block verifies whether a data package is stored in the buffer and makes the information mentioned above available for the user (starting at the variable specified at input DATA).

The Function Block ETH_UDP_STO cannot be used until the ETHERNET UDP/IP processing is set in the controller configuration (link to Controller configuration of UDP/IP processing) Additionally, input TOUT of the transmit Function Block ETH_UDP_SEND must be <> 0.

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