Panasonic FP7 User Manual page 83

Cpu unit. com port communication
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

 Timing chart
 Data in the table [S] specified by GPSEND command are sent, in ascending order from
lower bytes.
 During the sending process, the "sending general-purpose communication flag" (Y8, Y9, YA)
turns ON. The flag is turned OFF when sending is completed. (The flag does not turn off
right after the execution of the instruction. It turns off at the beginning of the second scan.)
 The sending result (0: normal completion, 1: abnormal completion) is saved in the general-
purpose communication sending result flag (Y0, Y1, Y2).
Clear to send general
purpose communication
flag (X8, X9, XA)
Sending general-purpose
communication flag (Y8,
Y9, YA)
Execute GPSEND
Sending done result
flag (Y0, Y1, Y2)
Sending data
 I/O allocation
COM port no.
1
2
0
X8
X9
XA
Y8
Y9
YA
Y0
Y1
Y2
(Note 1) Each contact is used for reading the operation status. Do not write over it with a user program.
(Note 2) When the sending time is shorter than the scan time, the "sending general-purpose communication flag" (Y8,
Y9, YA) turns OFF when the GPSEND command is executed in the subsequent scan following data sending
completion. In all cases, it is turned ON for at least one scan time.
KEY POINTS
Specify the port targeted for communication, using UNITSEL command
immediately before GPSEND command.
Maintain the ON conditions for GPSEND command until sending is
completed and the sending general-purpose communication flag (Y8, Y9,
YA) turns OFF.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Confirm ON
Confirm OFF
Name
Clear to send general-
purpose sending flag
Sending general-
purpose
communication flag
Sending done result
flag
Conditions to enable execution of
GPSEND command
Clear to send flag (X8, X9, XA): ON
Sending flag (Y8, Y9, YA): OFF
Sending flag (Y8, Y9, YA):
Sending data: ON, Sending done: OFF
Sending done result flag (Y0, Y1, Y2):
Normal completion: OFF
Abnormal completion: ON
Explanation
It turns ON when the unit is set to the general-purpose
communication mode.
Turns ON during sending data based on general-purpose
communication GPSEND.
Turns OFF when the sending process is completed.
Reports completion result of sending data in general-purpose
communication or master communication. (Normal
completion: 0, Abnormal completion: 1)
7.3 Sending Operation
7-5

Advertisement

Table of Contents
loading

Table of Contents