![NAiS FP2 Скачать руководство пользователя страница 80](http://html2.mh-extra.com/html/nais/fp2/fp2_technical-manual_3062214080.webp)
6-16
Header: STX, Terminator: ETX
Receiving data:
The “reception done” flag, the “transmission done” flag, and the MTRN instruction are related as follows:
•
The data is stored in the receive buffer within MCU in sequential order. When the header is received,
the receive pointer is initialized.
•
Receiving data still continues a fter the “reception done” flag turned on. There are 8 receive buffers of
2048 bytes each internally, therefore, data for the amount of these 8 sets can be received.
•
If there are two headers, data fo llowing the second header overwrites the data in the receive buffer.
•
The “reception done” flag X4 (X 5) is turned off when no data is received after executing F159 (MTRN)
instruction. (It does not turn off right after the execution of MTRN insruction. It will be turned off at the
beginning of the next scan or later.)
Key Point:
There is no relevance between the operation of transmission by F159 (MTRN) instruction and the
operation of reception by F161 (MRCV) instruction. MCU can always receive data.
•
In case of transmission, a reque st to send is given to MCU using F159 (MTRN) instruction.
•
In case of reception, received d ata are copied from MCU using F161 (MRCV) instruction.
Содержание FP2
Страница 2: ......
Страница 8: ......
Страница 9: ...Chapter 1 Functions and Restrictions of the Unit...
Страница 14: ...1 6...
Страница 15: ...Chapter 2 Specifications and Functions...
Страница 29: ...Chapter 3 Installation and Wiring of Communication Blocks...
Страница 35: ...Chapter 4 Communication Function...
Страница 36: ...4 2...
Страница 44: ...4 10 4 4 4 Flow Chart...
Страница 46: ...4 12...
Страница 47: ...Chapter 5 Communication Function PC PLC Link...
Страница 65: ...Chapter 6 Communication Function General purpose Serial communication...
Страница 94: ...6 30...
Страница 95: ...Chapter 7 Communication Function Computer link...
Страница 108: ...7 14...
Страница 109: ...Chapter 8 Applications...
Страница 118: ...8 10...
Страница 119: ...Chapter 9 Specifications...
Страница 139: ...Chapter 10 Dimensions and Sample Programs...
Страница 141: ...10 3 10 1 2 Communication Blocks FP2 CB232 AFP2803 FP2 CB422 AFP2804 FP2 CB485 AFP2805...
Страница 142: ...10 4...