GPSEND instruction
R100
R100
UNITSEL U1U100
GPSEND.US
DT101 DT0DT100
X80 Y80
GPSEND execution condition
X80: Clear to send flag: ON
Y80: Send active flag: OFF
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)
R100
Data conversion
S1: Sent data
S2: Sent data storage
DT100: Number of sent characters
DT101 and after: Sent data
DF /
Transmission completion check
GPSEND execution conditions reset
S1 S2
S n D
S1 S2
● 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).
Checks that the
flag is OFF
Instruction executable conditions
Clear to send flag (X8, X9, XA, XB): ON
Sending flag (Y8, Y9, YA, YB): OFF
Sent flag (Y0, Y1, Y2, Y3):
Normal completion: OFF
Abnormal completion: ON
GPTRNS/pGPSEND/G
PSEND execution
General-purpose
communication sending
flag (Y8, Y9, YA, YB)
Sent flag (Y0, Y1, Y2, 3)
Data sending
General-purpose
communication clear to
send flag (X8, X9, XA, XB)
Checks that the
flag is ON
Sending flag (Y8, Y9, YA, YB):
While sending: ON, Sending done: OFF
15.2 GPTRNS / pGPSEND /GPSEND (General-Purpose Communication
Send Instruction)
15-10 WUME-FP7CPUPGR-12