EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1093

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
*1
System

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals