7-24
Explanation of data table
Data sent from an external device connected to the communication port is stored in the data registers
that have been set as the receive buffer.
-
Specify the data registers in system register 416 to
419.
-
The number of bytes of data received is stored in the
starting address of the receive buffer. The initial value
is 0.
-
Received data is stored in the received data storage
area in order from the lower -order byte.
Reception process
When the “reception done” flag R9038 is off, operation takes place as follows when data is sent from an
external device. (The R9038 flag is off during the first scan after RUN).
1. Incoming data is stored in order from the lower-order byte of the 2nd-word area of the receive buffer.
Header and terminator (start and end codes) are not stored.
2. When the terminator (end code) is received, the “reception done” flag R9038 turns on. Reception of
any further data is prohibited. When the terminator has been set to “None”, the “reception done” flag
does not turn on. Check the number of received bytes to judge whether the reception has completed
or not.
3. When an F159 (MTRN) instruction is executed, the “reception done” flag R9038 turns off (except the
case when the terminator has been set to “None”), the number of received bytes is cleared, and
subsequent data is stored in order from the lower-order byte.
For repeated reception of data, perform the following steps:
1. Receive data
2. Reception done (R9038: on, reception prohibited)
3. Process received data
4. Execute F159 (MTRN) (R9038: off, reception possible)
5. Receive subsequent data
Prepare for reception
-
The “reception done” flag R9038 turns on when data
reception from the external device is completed.
Reception of any further data is prohibited.
-
To receive subsequent data, you must execute the F159
(MTRN) instruction to turn off the “reception done” flag
R9038.
Содержание FP0R Series
Страница 1: ......
Страница 6: ...iv ...
Страница 14: ...xii ...
Страница 15: ...Chapter 1 Functions and Restrictions of the Unit ...
Страница 24: ...1 10 ...
Страница 25: ...Chapter 2 Specifications and Functions of Control Unit ...
Страница 38: ...2 14 ...
Страница 39: ...Chapter 3 Expansion ...
Страница 45: ...3 7 3 4 Terminal layout diagram Model No Terminal layout diagrams E8RS E8RM E16RS E16RM E8YRS ...
Страница 48: ...3 10 ...
Страница 49: ...Chapter 4 I O Allocation ...
Страница 53: ...Chapter 5 Installation and Wiring ...
Страница 73: ...Chapter 6 Preparation of USB Port ...
Страница 77: ...6 5 5 Click Finish on the following screen to be displayed ...
Страница 79: ...6 7 4 Double click on FP0R 5 Click Update Driver ...
Страница 84: ...6 12 ...
Страница 85: ...Chapter 7 Communication ...
Страница 139: ...7 55 Sample program For Type II Use a program as below to directly specify a MODBUS address ...
Страница 141: ...Chapter 8 High speed Counter Pulse Output and PWM Output Functions ...
Страница 142: ...8 2 ...
Страница 199: ...Chapter 9 Security Functions ...
Страница 211: ...Chapter 10 Other Functions ...
Страница 217: ...Chapter 11 Self Diagnostic and Troubleshooting ...
Страница 227: ...Chapter 12 Precautions During Programming ...
Страница 242: ...12 16 ...
Страница 243: ...Chapter 13 Specifications ...
Страница 254: ...13 12 ...
Страница 255: ...Chapter 14 Dimensions and Others ...
Страница 260: ...14 6 14 1 5 Power Supply Unit Unit mm 14 1 6 I O Link Unit Unit mm 14 1 7 When Using DIN Rail Unit mm ...
Страница 262: ...14 8 ...
Страница 263: ...Chapter 15 Appendix ...
Страница 344: ...15 82 15 7 ASCII Codes ...
Страница 346: ......
Страница 347: ......
Страница 348: ......