Panasonic FP7 Series Command Reference Manual page 799

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

Advertisement

15.2 GPTRNS / pGPSEND /GPSEND (General-Purpose Communication
List of operands
Operand
Description
S
Starting number for the device for storing the sent data
Number of bytes of the sent data, or starting number of the device where the amount of sent data is
n
stored
D
Starting number of the device that stores the processing result (1 word)
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
(Note 1)
n
(Note
D
1)
(Note 1)
Always 16-bit data/device, regardless of the specification of operation units [i].
Outline of operation
● Data are sent from the communication port to external devices.
● Data of [n] bytes are sent from the unit / communication port set by the UNITSEL instruction,
starting with the starting address (word address) of the sent data area specified by [S].
● Data to be sent are set by the user program, in the area starting with [S].
● The processing result is stored in the area specified by [D].
Processing
● The slot numbers and communication port numbers specified with UNITSEL instruction are
obtained from the system data register (SD).
● This instruction confirms that the general-purpose communication clear to send flag of a
specified communication port is ON and the general-purpose communication sending flag is
OFF.
● When sending is enabled, sent data is transferred to the send buffer of a communication port
and a request to send is executed.
WUME-FP7CPUPGR-12
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
32-Bit
device:
TS
TE
U
W
WI
IX
C
C
M
O
S
E
Send Instruction)
Real
St
Integer
numbe
rin
r
g
D
K
H
SF
" "
F
Index
modifie
r
15-5

Advertisement

Table of Contents
loading

Table of Contents