![Mitsubishi MELSEC L Series User Manual Download Page 47](http://html.mh-extra.com/html/mitsubishi/melsec-l-series/melsec-l-series_user-manual_1808746047.webp)
45
CHAPTER 6 SOCKET COMMUNICATION FUNCTION
6
6.
1
C
o
mm
uni
cat
ion Using T
C
P
(3) Program example for Passive open
The following shows a communication flow of a Passive open.
(a) Parameter setting
The following parameters are set for the sample program.
Project window
[Parameter]
[PLC Parameter]
[Built-in Ethernet Port Setting]
[Open
Setting]
*1
When "Fullpassive" is selected for "TCP Connection", a value must be set.
Item
Setting
Protocol
TCP
Open System
Socket Communication
TCP Connection
Unpassive
Host Station Port No.
1000
H
(Setting range: 0001
H
to 1387
H
, 1392
H
to FFFE
H
)
Destination IP Address
Blank
*1
(Setting range: 0.0.0.1 to 223.255.255.254)
Destination Port No.
Blank
*1
(Setting range: 0001
H
to FFFE
H
)
Send or receive?
Send by the SP.SOCSND
instruction, or receive by
the SP.SOCRCV or
S.SOCRCVS instruction.
NO
Waiting for TCP connection in
Passive open state.
YES
Start
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: ......