9-9
9.2 Appendix
9.2.1
Detailed Time Chart of Data Transmission and Reception
Explanation of operation
MCU detects the completion of data reception.
The reception done flag X0(X2) is taken in the CPU by the I/O refresh operation.
Makes the reception done flag X0(X2) be the execution condition, and the received data is copied in
the operation memory using F161 (MRCV).
Once copying data completes, the PLC data reception done flag X1(X3) turns on.
After completing the execution of the MRCV instruction, the MCU reception done flag turns off.
As the MCU reception done flag is taken in by the I/O refresh operation of the CPU, X0(X2) turns off.
Also the PLC data reception done flag X1(X3) turns off by the I/O refresh operation.
Precautions
The MCU reception done flag (above-mentioned
) turns off within a maximu of 100 µs after the MRCV
instruction is executed, so that it may not turn off in the next scan after the execution of the MRCV
instruction depending on PLC scan time and the timing to execute the MRCV instruction. In that case,
the received data has been copied from the MCU to the CPU, however, note that the reception done flag
X0(X2) has been left to be on even in the next scan.
It is recommended to execute the MRCV instruction as soon as the reception done flag X0(X2) turned on
as mentioned below.
If the moment that the reception done flag X0(X2) turns on is not used as the execution condition, the
PLC data reception done flag X1(X3) after the execution of the MRCV instruction can be used to tell
whether there are any received data or not.
Summary of Contents for FP2
Page 2: ......
Page 8: ......
Page 9: ...Chapter 1 Functions and Restrictions of the Unit...
Page 14: ...1 6...
Page 15: ...Chapter 2 Specifications and Functions...
Page 29: ...Chapter 3 Installation and Wiring of Communication Blocks...
Page 35: ...Chapter 4 Communication Function...
Page 36: ...4 2...
Page 44: ...4 10 4 4 4 Flow Chart...
Page 46: ...4 12...
Page 47: ...Chapter 5 Communication Function PC PLC Link...
Page 65: ...Chapter 6 Communication Function General purpose Serial communication...
Page 94: ...6 30...
Page 95: ...Chapter 7 Communication Function Computer link...
Page 108: ...7 14...
Page 109: ...Chapter 8 Applications...
Page 118: ...8 10...
Page 119: ...Chapter 9 Specifications...
Page 139: ...Chapter 10 Dimensions and Sample Programs...
Page 141: ...10 3 10 1 2 Communication Blocks FP2 CB232 AFP2803 FP2 CB422 AFP2804 FP2 CB485 AFP2805...
Page 142: ...10 4...