Sending/Receiving Flag Operation; No Header (Start Code), Terminator (End Code) "Cr - Panasonic AFP7CPS Series User Manual

Communication cassette ethernet type fp7-series, cpu unit, extension cassettes ethernet x 1ch type
Table of Contents

Advertisement

6.4 Sending/Receiving Flag Operation

6.4.1 No Header (Start Code), Terminator (End Code) "CR":

The "reception done" flag, the "sending active" flag, the GPSEND instruction, and the
GPRECV instruction are related as follows:
Data received
from external
device
SCU
receive bu ffer
No. of bytes
received
Reception
done flag
X0
GPRECV
instruction
execution
GPSEND
instruction
execution
General-purpose
communication
Sending active flag
Y8
Transmitted
data
Receive bu ffer
specified using
GPRECV instruction
 The COM port has eight reception buffers. The reception process is continued after the
reception done flag (X0) turns ON. The reception done flag (X0) does not turn OFF
immediately following the execution of GPRECV instruction. It will be turned off at the
beginning of the next scan or later.
 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.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
C
A
B
CR
Stored
A
A
A
B
B
C
<1>
<2>
<3>
6.4 Sending/Receiving Flag Operation
D
D
Data can be received until eight
receive bu ffers are all filled up even
if the reception done flag is turned on.
<1>
1
2
3
A
B
C
E
F
D
D
E
E
F
<2>
<3>
After GPRECV instruction is
executed, reception done
flag turns off at the beginning
of next scan or later.
3
CR
No. of bytes received
G
D
E
F
G
<4>
ON
OFF
ON
OFF
ON
OFF
ON
OFF

Advertisement

Table of Contents
loading

This manual is also suitable for:

Afp7ccet1

Table of Contents