15.3 GPRECV (General-Purpose Communication Receive Instruction)
■
Ladder diagram
(Note 1) The above figure shows the case that S1=U0 (CPU unit with built-in SCU) and S2=U1 (port number 1)
are specified by the UNITSEL instruction.
■
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].
15.3 GPRECV (General-Purpose Communication Receive Instruction)
WUME-FP7CPUPGR-12 15-15