Panasonic FP7 Series Command Reference Manual page 807

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

Advertisement

15.2 GPTRNS / pGPSEND /GPSEND (General-Purpose Communication
● 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).
General-purpose
communication clear to
send flag (X80 - X8F)
General-purpose
communication sending
flag (Y80 - Y8F)
Execute GPSEND
Sent flag (Y70 - Y7F)
Sending data
I/O allocation (in the case of CPU with built-in ET-LAN)
I/O number
Name
General-purpose
X80 to X8F
communication clear to
send flag
General-purpose
Y80 to Y8F
communication sending
flag
Y70 to Y7F
Sent flag
(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
To be set in the case of out-of-range in indirect access (index modification).
SR7
WUME-FP7CPUPGR-12
Check that the
flag is ON
Check that the
flag is OFF
Description
Turns ON when general-purpose communication is in a connected
status.
Turns ON when sending with general-purpose communication.
Reports completion result of sending data in genera-purpose
communication or master communication.
(Normal completion: 0, Abnormal completion: 1)
Send Instruction)
GPSEND instruction executable
conditions
Clear to send flag (X80 - X8F): ON
Sending flag (Y80 - Y8F): OFF
Sending flag (Y80 - Y8F):
While sending: ON
When sending done and instruction
executed: OFF
Sent flag (Y70 - Y7F):
Normal completion: OFF
Abnormal completion: ON
15-13

Advertisement

Table of Contents
loading

Table of Contents