Gprecv (General-Purpose Communication Receive Instruction) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

15.3 GPRECV (General-Purpose Communication Receive Instruction)

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
bit
n unit
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
W
W
X
Y
(Note
D1
1)
(Note
D2
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].
WUME-FP7CPUPGR-12
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
SS
UL
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
D
IX
K
H
SF
F
DF
St
rin
g
Index
modifie
r
" "
15-15

Advertisement

Table of Contents
loading

Table of Contents