![background image](http://html1.mh-extra.com/html/omron/c200h-mc221/c200h-mc221_operation-manual_742324083.webp)
63
Note
The programmed run instruction will be executed after the data is processed if
the programmed run instruction is given while the data is being processed in the
previous step 3. Refer to the following example.
Example
The program run instruction is executed after position data is transferred.
1, 2, 3...
1. Position data is transmitted with the IOWR instruction.
2. Equal Flag 25506 will be turned ON when the transmission of the position
data is completed.
3. The run instruction is given. The instruction will not be executed until the MC
Unit completes processing the position data.
4. The MC Units will execute the run instruction after the MC Units completes
processing the position data.
(2)
Set
IOWR
instruction
Transfer data
IOWR instruction
Set
Equal Flag
25506
Program number (n)
Reading program number
(Word n+1, bit 07)
Starting scanning
(Word n+1, bit 02)
Run
instruction
(3)
Bit
Word
Program execution
(1)
Format
check
Data
check
Data
processing
N001 N002 N003
..
4-9-5 Transfer Time
The calculation of transmission time with the IOWR instruction is complicated
and varies with the PC model, ladder program, and the status of the MC Unit.
Refer to the following example of transmission time with the C200HX as a refer-
ence value.
Cycle time:
2.5 ms
Status of MC Unit:
1 task with 2 axes that are servo-locked.
No. of position data items
Transmission time (ms)
1
1.7
6
3.2
20
8.5
42
16
Note
The IOWR instruction transfers all data while the IOWR instruction is being
executed. In the above example, the ladder cycle time will increase according to
the above table.
Adjust the time to monitor the cycle time if necessary.
IOWR Instruction
Section 4-9
Содержание C200H-MC221 -
Страница 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Страница 2: ......
Страница 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 16: ...xvi ...
Страница 42: ......
Страница 48: ......
Страница 196: ......
Страница 212: ......
Страница 242: ......
Страница 258: ......
Страница 304: ......