7 SOCKET COMMUNICATION FUNCTION INSTRUCTION
7.1 Opening/Closing Connection
253
7
Setting data
*2 "Destination IP address" and "Destination port No" are neglected at Unpassive open.
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.
• Use the LCPU other than L02SCPU and L02SCPU-P.
Device
Item
Setting data
Setting range
Setting side
(s2)[0]
Execution type/Completion type
Specify which to use the parameter values set by GX Works2
or the setting values of the following control data ((s2)[2] to
(s2)[9]) at open processing of a connection.
0000H: Uses the parameter set in [Open settings] of GX
Works2.
8000H: Uses the settings of control data (s2)[2] to (s2)[9].
0000H
8000H
User
(s2)[1]
Completion status
The instruction completion status is stored.
0: Normal completion
Other than 0: Error completion (error code)
System
(s2)[2]
Application setting area
(1) Communication method (protocol) (b8)
0: TCP/IP
1: UDP/IP
(2) With/without procedure in socket communication function
(b9)
1: Nonprocedural communication
(3) Open system (b15, b14)
00: Active open or UDP/IP
10: Unpassive open
11: Fullpassive open
(Refer to the
left.)
User
(s2)[3]
Host station port No.
Specify the port number of the host station.
1H to 1387H
1392H to FFFEH
(400H or later is
recommended)
User
(s2)[4]
(s2)[5]
Destination IP address
Specify the IP address of the external device.
1H to
FFFFFFFFH
(FFFFFFFFH :
broadcast)
User
(s2)[6]
Destination port No.
Specify the port number of the external device.
1H to FFFFH
(FFFFH:
broadcast)
User
(s2)[7] to
(s2)[9]
Unavailable
System
b15 b14
b9 b8
0
(1)
(2)
0
b0
…
…
(3)
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......