Panasonic FP7 Series Command Reference Manual page 804

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

Advertisement

15.2 GPTRNS / pGPSEND /GPSEND (General-Purpose Communication
Send Instruction)
GPSEND instruction
R0
X80
R100
R100
DF
( (
) )
R100
Y8
( (
DF /
) )
● For the GPSEND instruction, it is necessary to turn ON the execution condition until the end of
data sending, and turn OFF the execution condition at a scan in which the end of data sending
is confirmed.
Time chart (in the case of SCU)
● Data are sent in ascending order from low bytes of [S+1] in the table specified by the
GPTRNS / pGPSEND / GPSEND instruction.
● During sending, the general-purpose communication sending flags (Y8, Y9, YA, YB) are
turned ON. They turn OFF when sending is completed.
● The sending result (0: normal completion; 1: abnormal completion) is stored in the general-
purpose communication sent flags (Y0, Y1, Y2, Y3).
General-purpose
communication clear to
send flag (X8, X9, XA, XB)
General-purpose
communication sending
flag (Y8, Y9, YA, YB)
GPTRNS/pGPSEND/G
PSEND execution
Sent flag (Y0, Y1, Y2, 3)
Data sending
15-10
R101
Y80
SSET
UNITSEL
DT101
GPSEND.US
S
Checks that the
flag is ON
Checks that the
flag is OFF
R100
"ABCDE"
DT100
S1
S2
U100
U1
S1
S2
DT100
DT0
n
D
R101
Instruction executable conditions
Clear to send flag (X8, X9, XA, XB): ON
Sending flag (Y8, Y9, YA, YB): OFF
Sending flag (Y8, Y9, YA, YB):
While sending: ON, Sending done: OFF
Sent flag (Y0, Y1, Y2, Y3):
Normal completion: OFF
Abnormal completion: ON
GPSEND execution condition
X80: Clear to send flag: ON
Y80: Send active flag: OFF
Data conversion
S1: Sent data
S2: Sent data storage
DT100: Number of sent characters
DT101 and after: Sent data
Communication port settings
S1: CPU LAN port (U100)
S2: COM1 (U1)
Transmission processing
S: Header for sent data (DT101)
n: Number of sent characters(DT100)
D: Execution result code (DT0)
Transmission completion check
GPSEND execution conditions reset
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents