Operations Of The "Reception Done Copy" Flag And Multiplex Reception - Panasonic AFP7CPS4E User Manual

Fp7 series, programmable controller
Table of Contents

Advertisement

9.4.4 Operations of the "Reception done copy" flag and multiplex reception

 Operation and function of the "reception done copy" flag (X4, X5, X6, X7)
 The "reception done copy" flag (X4, X5, X6, X7) turns ON when the GPRECV instruction is
executed and data are copied from the reception buffer to the specified operation memory,
and turns OFF when the END instruction is executed.
 Processing in the case of multiplex reception
 If the time from the reception of data in the reception buffer to the subsequent data reception
is shorter than the PLC scan time, and the receiving frequency is high, it is possible that the
reception done flag (X0, X1, X2, X3) remains ON and cannot detect sequential receptions.
 In cases where it is necessary to process sequentially received data, constantly execute the
GPRECV instruction, in combination with the "reception done copy" flag (X4, X5, X6, X7).
 Referring to the "reception done copy" flag (X4, X5, X6, X7), you can confirm whether there
are lately received data.
Reception
buffer data
Reception
done flag
(X0, X1, X2, X3)
Execute
GPRECV
instruction
Reception done
copy flag
(X4, X5, X6, X7)
1 scan time
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
C
C
R
R
After always executing GPRECV instruction, confirm
whether there are lately received data referring to the
reception done copy flag (X4, X5, X6, X7).
9.4 Receiving Operation
In the case of sequential receptions, the
reception done flag (X0, X1, X2, X3) remains ON.
9-13

Advertisement

Table of Contents
loading

Table of Contents