Configuring Communication Connections
139
SIMATIC NET NCM S7 for Industrial Ethernet
C79000-G8976-C129–06
4.7.5 Free UDP Connection

Program-Controlled Addressing

A free UDP connection allows program-controlled addressing of the
communication partner. Communication between two nodes on Industrial Ethernet
has the following properties:
SData transfer is bi-directional; in other words it is possible to send and receive
on the UDP connection at the same time.
SThe local node is specified in the configuration. The remote node is entered in
the job header of the job buffer by the user program when it calls AG_SEND.
This allows any node on Ethernet/LAN/WAN to be reached.
SThe IP address and the port of the sender can be read from the job header of
AG_RECV.
unspecified
UDP connection
Ethernet
node
(unspecified)
SIMATIC S7 station
with Ethernet CP
receive
send receive
send
Job header
User data
Job header
User data
User data area
Job buffer
Figure 4-28 Sending and Receiving on an Unspecified UDP Connection with Programmed Addressing
Amounts of Data
Refer to the manual /1/ supplied with the Ethernet CP for the number of UDP
connections supported by the Ethernet CP. The number of connections per station
can be increased by adding more CPs.
Up to 2042 bytes of user data can be transferred per job buffer. The job header
uses an additional 6 bytes.