
9.5 Sending/Receiving Flag Operation
9-17
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:
STX
ETX
ETX
STX
a
b
c
d
e
ON
OFF
ON
OFF
b
a
STX
ETX
b
a
STX
ETX
b
a
STX
ETX
b
a
STX
ETX
d
e
c
STX
ETX
d
e
c
STX
ETX
d
e
c
STX
ETX
d
e
c
STX
ETX
d
e
c
STX
ETX
Transmitted
data
SCU
send buffer
GPSEND
instruction
execution
T
rans
m
is
s
io
n poi
nt
er
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: [email protected]
Summary of Contents for AFP7CCM1
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 45: ...3 I O Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 57: ...6 PLC Link Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...