Panasonic AFP7CPS Series User Manual page 59

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

Advertisement

 Timing chart
 Data received from an external device are saved in the same reception buffer.
 When the terminator (end code) is received, the "reception done" flag (X0) turns on.
Subsequently, the following data are saved in the buffer upon reception. 8 data can be
received consecutively.
Received data
Reception
done flag
X0
GPRECV
execution
condition R100
 When the GPRECV instruction is executed, data are copied into the specified area, and the
reception done flag (X0) turns OFF. The reception done flag (X0) turns OFF when the I/O
refresh is executed at the beginning of the subsequent scans.
Reception buffer
Received data
Reception done flag
(X0)
Execute GPRECV
 Saving method for received data
When data are saved in a given data register from the reception buffer, based on GPRECV
instruction, the data are saved in the following manner.
DT200
H32(2)
DT201
DT202
H34(5)
DT203
-----
-----
DT204
-----
-----
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Start receiving
・・・
1
2
Cr
U5
Saves the received No. of bytes.
H31(1)
The received data are saved in ascending order from
H33(3)
lower bytes.
H35(4)
If the received No. of bytes is smaller than the area specified
-----
by the GPRECV command, the data are not overwritten.
-----
C
B
5
(
)
A
R
Execute GPRECV instruction
Cr
Reception done flag (X0):
When reception has been done: ON,
When copying of received data has
been done based on GPRECV
instruction: OFF
6.3 Receiving Operation
・・・
ON
OFF
ON
OFF

Advertisement

Table of Contents
loading

This manual is also suitable for:

Afp7ccet1

Table of Contents