Mitsubishi MELSEC-L series Programming Manual page 243

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

Program Example
The following program opens the connection 1 for TCP/IP communication using the Active open
process.
(The I/O signals of the Ethernet module are X/Y00 to X/Y1F)
[Structured ladder]
*1 :
For divisions of
used and
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
and
in the program,
is necessary when it is not used.
Open request
signal
Connection 1 open
request signal
Turns execution flag
ON when instruction
flag is ON
*1
Execution type when
GX Works2-
[Open settings]
is used
*1
Execution type when
D100-[control data]
is used
Application setting
Host station port
number
Destination
IP address
Destination
port number
Opens connection
Turns normal
completion flag ON
Turns error
completion flag ON
is necessary when the [Open settings] of GX Works2 is
5.4.15 OPEN instruction
ZP_OPEN
5
5-197

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents