Mitsubishi MELSEC L Series User Manual page 47

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

Advertisement

(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
[Open Setting]
Item
Protocol
Open System
TCP Connection
Host Station Port No.
Destination IP Address
Destination Port No.
*1
When "Fullpassive" is selected for "TCP Connection", a value must be set.
Start
Waiting for TCP connection in
Passive open state.
NO
Send or receive?
YES
Send by the SP.SOCSND
instruction, or receive by
the SP.SOCRCV or
S.SOCRCVS instruction.
[Parameter]
[PLC Parameter]
TCP
Socket Communication
Unpassive
1000
(Setting range: 0001
to 1387
H
H
*1
Blank
(Setting range: 0.0.0.1 to 223.255.255.254)
*1
Blank
(Setting range: 0001
to FFFE
H
CHAPTER 6 SOCKET COMMUNICATION FUNCTION
[Built-in Ethernet Port Setting]
Setting
, 1392
to FFFE
)
H
H
H
)
H
6
45

Advertisement

Table of Contents
loading

Table of Contents