16 ETHERNET INSTRUCTIONS
16.2 Socket Communications Instructions
1549
16
■Applicable devices
*1 FX and FY cannot be used.
*2 FD cannot be used.
*3 T, ST, C, and FD cannot be used.
■Control data
■Receive data
The GP.SOCRCV instruction is used for socket communications.
Operand Bit Word Double word Indirect
specification
Constant Others
(U)
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(U)
(s1)
*1
*2
(s2)
*2
(d1)
*2
(d2)
*1
*3
Operand: (s2)
Device Item Description Setting range Set by
+0 System area
+1 Completion status The completion status is stored upon completion of the instruction.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
System
Operand: (d1)
Device Item Description Setting range Set by
+0 Receive data length The length of the data read from the socket communications receive data area is
stored.
System
+1 to + Receive data The data read from the socket communications receive data area is stored
sequentially in ascending order of addresses.
System
Error code
((s2)+1)
Description
C000H to CFFFH MELSEC iQ-R Ethernet User's Manual (Application)