Mitsubishi MELSEC-L series Programming Manual page 325

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

Advertisement

Control Data
Device
Item
Execution type/
[0]
s2
Completion type
Completion status
[1]
s2
Application setting area
[2]
s2
Host station port No.
[3]
s2
[4]
s2
*2
Destination IP address
[5]
s2
*2
[6]
Destination port No.
s2
[7]
s2
to
[9]
s2
*1 :
Precautions
Use the Built-in Ethernet port QCPU of which the function version is B or later and the first five
digits of the serial number are '11012' or higher.
Specify which to use the parameter values set by GX Works2 or the
setting values of the following control data (
processing of a connection.
0000
: Uses the parameter set in [Open settings] of GX Works2.
H
8000
: Uses the settings of control data
H
The instruction application status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
b15 b14 b13
to
s2
+2
3
0
Communication method (protocol)
0: TCP/IP
1: UDP/IP
With/without procedure in socket communication function
1: Nonprocedural communication
Open system
00: Active open or UDP/IP
10: Unpassive open
11: Fullpassive open
Specify the port number of the host station.
Specify the IP address of the external device.
Specify the port number of the external device.
Unavailable
"Destination IP address" and "Destination port No" are neglected at Unpassive open.
Setting data
+2 to
+9
) at open
s2
s2
+2 to
+9.
s2
s2
b10 b9 b8 b7
to
b0
2
1
0
7.1 SOCOPEN Instruction
SP_SOCOPEN
Setting range
Setting side
0000
,
H
User
8000
H
System
(See the left
User
column.)
1
to 1387
,
H
H
1392
to
H
FFFE
H
User
(400
or later
H
is
recommended)
1
to
H
FFFFFFFF
H
User
(FFFFFFFF
:
H
broadcast)
401
to
H
FFFF
H
User
(FFFF
:
H
broadcast)
System
7-3
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents