■
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
i ● ●
■
List of operands
Operand Description
D1 Starting address of the received data storage data area
D2 Ending address of the received data storage data area
■
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
D1
(Note
1)
● ● ● ● ● ● ●
D2
(Note
1)
● ● ● ● ● ● ●
(Note 1) Always 16-bit data/device, regardless of the specification of operation units [i].
■
Outline of operation
● This instruction reads data that is sent from an external device and received by the
communication port of the unit.
● This instruction reads received data from the communication unit and the communication
port set by the UNITSEL instruction, and stores the number of received bytes in the area
specified by [D1] and the received data in the areas [D1+1] to [D2].
● In the case of SCU, data received from the partner are stored in 8 receive buffers for each
COM port. By executing the GPRECV instruction, data in the receive buffer can be copied to
a given operation memory.
● In the case of CPU with built-in ET-LAN, data received from the partner are stored in 1
receive buffer for each connection. By executing the GPRECV instruction, data in the receive
buffer can be copied to a given operation memory.
■
Amount of received data and end code
Items SCU In the case of CPU with built-in ET-
LAN
Number of received
data
0 to 4096
(Note 1)
0 to 16384
End code
identification
Yes (according to the SCU communication
settings (end settings))
No identification
(Note 1) For SCU, up to 4096 bytes can be sent, including a start code and an end code. The start code and
end code are set from the configuration menu of the tool software or with the PMSET instruction.
9.4 Receiving Operation
9-22 WUME-FP7COM-07