9.4 Receiving Operation
9-13
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
done flag
(X0, X1, X2, X3)
Execute
GPRECV
instruction
Reception done
copy flag
(X4, X5, X6, X7)
Reception
buffer data
C
R
C
R
1 scan time
In the case of sequential receptions, the
reception done flag (X0, X1, X2, X3) remains ON.
After always executing GPRECV instruction, confirm
whether there are lately received data referring to the
reception done copy flag (X4, X5, X6, X7).
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание AFP7CCM1
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 10: ...Table of Contents viii Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 21: ...2 Names and Functions of Parts Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 24: ...Names and Functions of Parts 2 4 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 25: ...3 Wiring the COM Port Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 45: ...3 I O Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 52: ...I O Allocation 4 8 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 57: ...6 PLC Link Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 97: ...9 General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 114: ...General Purpose Communication 9 18 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 115: ...4 Troubleshooting Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 124: ...Troubleshooting 10 10 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 125: ...11 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...