Using UDP Data Exchange

The UDP data exchange can be used to realize communication with AC31 Devices and is an optional module that can be added to the AC500 ETHERNET Communication Module.

Right-click on the Communication Module and select Add device to open the Add Device dialog where the UDP data exchange module is listed:

../_images/b2e2ba4e45ffb3a80a33139000eba54e

Double-click on UDP_data_exchange (UDP data exchange) to open the UDP data exchange Configuration in the editor window:

../_images/aaf7e25c45ffb4060a33139000eba54e

The following parameters are available:

Parameter Default Value Meaning
Size of receive buffer 8192 1464…65535 Size of the receive buffer in [Bytes]. The behaviour in case of a full buffer can be determined with parameter Behaviour on receive buffer overflow.
Size of transmit buffer high prio 4096 0…65535 Size of the high priority transmit buffer in [Bytes].
Size of transmit buffer low prio 4096 0…65535 Size of the low priority transmit buffer in [Bytes].
Size of timeout buffer 2048 0…65535 Size of the timeout buffer in [Bytes].
Number of header data 10 0…1464 Number of bytes that are copied into the timeout buffer for timeout packages.
Receive broadcast Disable Disable Reception of broadcast packages is disabled.
Enable Reception of broadcast packages is enabled.
Behaviour on receive buffer overflow Overwrite Overwrite Incoming packages will overwrite the oldest packages in case of a full receive buffer.
Reject Incoming packages will be rejected in case of a full receive buffer.
UDP Port 0 0…65535 Port used for the UDP connection. See note below for further information.

Note

The following ports are reserved and will cause a configuration error if selected: 1200, 1201, 123, 80, 24576, 25383.

At this operating mode, the Function Blocks have no input for setting a port, so the port has to be identically at both sides. Otherwise, a communication is not possible.