216
IOWR and IORD Specifications
Section 4-2
Example 2
Reading the X-axis Acceleration Time (500 [ms]) to D00100 to D00101.
Data that Is Read [DM]
Execution Timing for IORD
Refer to the following diagram for the execution timing and processing method
of the IORD instruction.
1,2,3...
1.
The CPU Unit performs a format check to see if the designations for the
IOWR instruction operands are correct. The Error Flag will be turned ON
and the IOWR instruction will not be executed if a designation is incorrect.
2.
The MC Unit performs a data check to see if the MC Unit can process the
data designated with the operands. The Equals Flag will be turned ON if
the MC Unit can process the data. The Equals Flag will not be turned ON
and the IOWR instruction will not be executed if the MC Unit cannot pro-
cess the data.
3.
The specified data is transferred from the MC Unit to the CPU Unit. The
Equals Flag will turn ON when the transfer has been completed.
Transfer Time
Refer to
Section 1-5 Specifications.
DIFU(13) R1
Work bit
IORD
#1136
#00020000
D00100
R3
R2
R3
R1
R2
(=)
Execution condition
OUT (Work bit)
Set the X-axis acceleration time address to 4406.
(1136 Hex corresponds to 4406)
Set the source unit number (0) and a total of two
words to be transmitted.
Set the address first word of the destination to
store the acceleration time data.
OUT (Work bit)
D0100
D0101
01F4
0000
500 ms.
Data processing
(3)
Within one cycle
Set
Transfer data
IORD instruction
Format
check
(1)
Data
check
(2)
Summary of Contents for CS1W-MC221 -
Page 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Page 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 11: ...xii ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 27: ...xxviii Conformance to EC Directives 6 ...
Page 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Page 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Page 227: ...200 Command Area Section 3 6 ...
Page 351: ...324 Interface Specifics Section 5 4 ...
Page 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Page 575: ...548 Error Log Section 12 6 ...
Page 589: ...562 Performance Appendix A ...
Page 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Page 683: ...656 Origin Search Patterns Appendix F ...
Page 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...