![Mitsubishi MELSEC L Series User Manual Download Page 51](http://html.mh-extra.com/html/mitsubishi/melsec-l-series/melsec-l-series_user-manual_1808746051.webp)
49
CHAPTER 6 SOCKET COMMUNICATION FUNCTION
6
6.
2
C
o
mm
uni
cat
ion Using UDP
6.2
Communication Using UDP
UDP (User Datagram Protocol) is a simple protocol that does not perform data sequencing and retransmission.
To perform socket communication using UDP, confirm the following in advance.
• IP address and port number of the target device
• IP address and port number of the CPU module
(1) Program example
This section provides a program example for communication using UDP.
(a) Parameter setting
The following parameters are set for the sample program.
Project window
[Parameter]
[PLC Parameter]
[Built-in Ethernet Port Setting]
[Open
Setting]
Item
Setting
Protocol
UDP
Open System
Socket Communication
TCP Connection
Blank
Host Station Port No.
1000
H
(Setting range: 0001
H
to 1387
H
and 1392
H
to FFFE
H
)
Destination IP Address
192.168.3.40 (Setting range: 0.0.0.1 to 223.255.255.254/255.255.255.255)
Destination Port No.
1000
H
(Setting range: 0001
H
to FFFE
H
/FFFF
H
)
Summary of Contents for MELSEC L Series
Page 1: ......
Page 2: ......
Page 19: ...17 CHAPTER 1 OVERVIEW 1 Memo ...
Page 116: ...114 Memo ...
Page 123: ......