7 SOCKET COMMUNICATION FUNCTION INSTRUCTION
7.2 SOCRCV Instruction
259
7
S_SOCRCVS
The following instruction can go in the dotted squares.
S_SOCRCVS
■
Executing condition
■
Argument
Processing details
This instruction reads receive data of a specified connection from the socket communication receive data area.
Setting data
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.
Instruction
Executing condition
S_SOCRCVS
Input/output
argument
Name
Description
Data type
Input argument
EN
Executing condition
Bit
Un
Dummy ("U0")
String
s
Connection number (1 to 16)
ANY16
Output argument
ENO
Execution result
Bit
d
Start number of the device that stores receive data
ANY16
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
(s)
(d)
Device
Item
Setting data
Setting range
Setting side
(d)+0
Receive data length
Data length of the data read from the socket communication
receive data area is stored.
(number of bytes)
0 to 2046
System
(d)+1 to (d)+(n)
Receive data
Data read from the socket communication receive data area
are stored in ascending address order.
System
QnUDE(H)
LCPU
S_SOCRCVS
EN
ENO
d
s
ST
S_SOCRCVS
(EN, Un, s, d);
ENO:=
Un
Structured ladder/FBD
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......