Communication Using Udp - Mitsubishi MELSEC L Series User Manual

Cpu module, built-in ethernet function
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

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
Item
Protocol
Open System
TCP Connection
Host Station Port No.
Destination IP Address
Destination Port No.
[Parameter]
[Open Setting]
UDP
Socket Communication
Blank
1000
(Setting range: 0001
H
192.168.3.40 (Setting range: 0.0.0.1 to 223.255.255.254/255.255.255.255)
1000
(Setting range: 0001
H
CHAPTER 6 SOCKET COMMUNICATION FUNCTION
[PLC Parameter]
[Built-in Ethernet Port Setting]
Setting
to 1387
and 1392
to FFFE
H
H
H
to FFFE
/FFFF
)
H
H
H
)
H
49
6

Advertisement

Table of Contents
loading

Table of Contents