Panasonic AFP7CPS4E User Manual page 113

Fp7 series, programmable controller
Table of Contents

Advertisement

However, if the code STX is added in the middle of the data, the data are
saved from the beginning of the reception buffer.
Sending process: Sending done flag and GPSEND instruction are related as follows:
Transmitted
data
SCU
send buffer
GPSEND
instruction
execution

General-purpose

communication
Sending active flag
Y8, Y9, YA, YB
 Header (STX) and terminator (ETX) are automatically added to the data to be sent. The
data are transmitted to an external device.
 After GPSEND instruction is executed, data transmission is started in several μs to several
tens of ms. For time before transmission is started, please refer to the communication cycle
time (SM208-SM210) using the system monitor function.
 After GPSEND instruction is executed, dual sending to the same port is not possible until the
"sending general-purpose communication flag" (Y8, Y9, YA, YB) turns OFF.
 The "General-purpose communication Sending active flag" (Y8, Y9, YA, YB) turns OFF in
GPSEND instruction execution in the next scan or later following completion of data sending
to an external device. The "General-purpose communication Sending active flag" (Y8, Y9,
YA, YB) always remains on for at least 1 scan time.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
a
STX
b
ETX
STX
STX
STX
STX
a
a
a
a
b
b
b
b
ETX
ETX
ETX
ETX
9.5 Sending/Receiving Flag Operation
STX
c
d
STX
STX
STX
c
c
c
d
d
d
e
e
e
ETX
ETX
ETX
e
ETX
STX
STX
c
c
d
d
e
e
ETX
ETX
ON
OFF
ON
OFF
9-17

Advertisement

Table of Contents
loading

Table of Contents