8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.2 Socket Communications Instructions
1091
8
■
Applicable devices
■
Control data
*1 The received data is stored in units of bytes sequentially from lower bytes. When an odd number of bytes of data is received, the last
receive data is stored in the lower byte of the last data storage area.
• When the SP.SOCRCV instruction is executed, receive data is read from the socket communications
receive data area during END processing. For this reason, executing the SP.SOCRCV instruction prolongs
the scan time.
• When an odd number of bytes of data is received, invalid data is stored in the higher byte of the device
where the last receive data is stored.
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)
(s2)
(d1)
(d2)
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.
• 0000H: Completed successfully
• Other than 0000H: 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.
(Number of bytes)
0 to 10238
System
+1 to +
Receive data
The data read from the socket communications receive data area is stored
sequentially in ascending order of addresses.
System
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......