● 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 CPU with built-in ET-LAN)
● 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 that correspond to the
connection (Y80 to Y8F) 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 (Y70 to Y7F).
Check that the
flag is OFF
GPSEND instruction executable
conditions
Clear to send flag (X80 - X8F): ON
Sending flag (Y80 - Y8F): OFF
Sent flag (Y70 - Y7F):
Normal completion: OFF
Abnormal completion: ON
Execute GPSEND
General-purpose
flag (Y80 - Y8F)
Sent flag (Y70 - Y7F)
Sending data
General-purpose
communication clear to
send flag (X80 - X8F)
Check that the
flag is ON
Sending flag (Y80 - Y8F):
While sending: ON
When sending done and instruction
executed: OFF
■
I/O allocation (in the case of CPU with built-in ET-LAN)
I/O number Name Description
X80 to X8F
General-purpose
communication clear to
send flag
Turns ON when general-purpose communication is in a connected
status.
Y80 to Y8F
General-purpose
communication sending
flag
Turns ON when sending with general-purpose communication.
Y70 to Y7F Sent flag
Reports completion result of sending data in genera-purpose
communication or master communication.
(Normal completion: 0, Abnormal completion: 1)
(Note 1) Each contact is used for reading the operation state. Do not write over it with a user program.
(Note 2) In the case of the GPTRNS and pGPSEND instructions, the sending flag and send results flag are
updated after the scan is complete.
(Note 3) In the case of the GPSEND instruction, the sending flag and send results flag are updated after
sending is completed when the next GPSEND instruction is executed.
■
Flag operations
Name Description
SR7
To be set in the case of out-of-range in indirect access (index modification).
15.2 GPTRNS / pGPSEND /GPSEND (General-Purpose Communication
Send Instruction)
WUME-FP7CPUPGR-12 15-13