6.5.4 Receiving Data
Data input from the communication port is
stored in the receive buffer specified by the
system register, and the “reception done” flag
goes on. If the “reception done” flag is off, data
can be received at any time.
Data table for reception (receive buffer)
DT200 to DT204 are used as the receive buffer.
System register settings are as follows:
- System register 416: K200
- System register 417: K5
Sample program for receiving data
10-byte data received in the receive buffer through the communication port 1 are copied to DT0.
The program described above is executed in the following sequence.
1) The data sent from external devices is stored in the receive buffer.
2) The “reception done” contact R9038 is turned on.
3) The received data is sent from the receive buffer to the area starting with data register DT0.
4) The F159 (MTRN) instruction is executed with no data to clear the number of received bytes and to
turn off the reception done” contact R9038. The system is now ready to receive the next data.
(The data in the receive buffer is not cleared.)
Explanatory diagram
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание FP-X0 L14R
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 10: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 18: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 40: ...AFPX E30R AFPX E30RD AFPX E30T Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 43: ...Chapter 4 I O Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 48: ...4 6 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 49: ...Chapter 5 Installation and Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 65: ...Chapter 6 Communication Functions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 118: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 141: ...Sample program Control code Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 144: ...Sample program Control code Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 146: ...Sample program Control code Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 148: ...Sample program Control code Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 150: ...7 32 Sample program Control code Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 154: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 155: ...Chapter 8 Security Functions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 167: ...Chapter 9 Other Functions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 183: ...Chapter 11 Precautions During Programming Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 196: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 197: ...Chapter 12 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 210: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 211: ...Chapter 14 Appendix Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 288: ...14 7 ASCII Codes Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 289: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...