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
Summary of Contents for C200H-MC221 -
Page 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Page 2: ......
Page 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 16: ...xvi ...
Page 42: ......
Page 48: ......
Page 196: ......
Page 212: ......
Page 242: ......
Page 258: ......
Page 304: ......