67
Example 2
The acceleration time (500 ms) of the X axis is received at DM 0100 to DM 0101.
DIFU(13)
R1
Work bit
IORD
#4406
#0002
D0100
R3
R2
R3
R1
R2
25506 (=)
Execution condition
OUT (Work bit)
Set the address of the acceleration time of the X
axis.
Set the source unit number (0) and a total of two
words to be transmitted.
Set the first word of the destination to store the
acceleration time data.
OUT (Work bit)
After Reception
DM
D0100
D0101
0500
0000
Means 500 ms.
4-10-4 Execution Timing of IORD Instruction
Refer to the following for the execution timing and processing method of the
IORD instruction.
Format
check
Data
check
(1)
(2)
Data processing
(3)
Within one cycle
Set
Transfer data
IORD instruction
1, 2, 3...
1. The PC performs a format check to confirm whether the designation of the
operand of the IORD instruction is correct. ER Flag 25503 will be turned
OFF if the designation is correct. ER Flag 25503 will be turned ON and the
IOWR instruction will not be executed if the designation is wrong.
2. The MC Unit performs a data check to confirm if the MC Unit can process the
data designated with the operand. The Equal Flag 25506 will be turned ON if
the MC Unit can process the data. The Equal Flag 25506 will be turned OFF
and the IOWR instruction will not be executed if the MC Unit cannot process
the data.
3. The MC Unit transfers the data to the PC. The Equal Flag 25506 will be
turned ON when the data transmission is completed.
IORD Instruction
Section 4-10
Содержание 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: ......