Communication structure
With socket communications, port numbers that identify the communication are used to enable multiple communication
sessions with the external device. These are used for both TCP/IP and UDP/IP.
For send: Specify send source Ethernet-equipped module's port number and the send destination external device's port
number.
For receive: Specify the Ethernet-equipped module's port number, and read the data sent to that port.
Ethernet-equipped module
(IP address: xx.xx.xx.xx)
(1) Sending UDP data from Ethernet-equipped module's port number A to external device 1's port number L.
(2) Sending UDP data from external device 1's port number L to Ethernet-equipped module's port number A
(3) Sending data with TCP/IP connection
(4) Sending UDP data from Ethernet-equipped module's port number C to external device 3's port number N
(5) Sending UDP data from external device 3's port number N to Ethernet-equipped module's port number C
Ethernet
(1)
Port No.A
(2)
(3)
(3)
Port No.B
(4)
Port No.C
(5)
External device 1
(IP address: yy.yy.yy.yy)
Port No.L
External device 2
(IP address: zz.zz.zz.zz)
Port No.M
External device 3
(IP address: ww.ww.ww.ww)
Port No.N
1.4 Socket Communications
1
1 FUNCTIONS
61