212
IOWR and IORD Specifications
Section 4-2
Example 2
Changing Acceleration Time of X Axis to 500 ms
Settings
DM Area
Execution Timing for IOWR
Refer to the following diagrams for the execution timing and processing
method of the IOWR 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. The transfer will be completed by the time the Equals Flag
turns ON.
Data writing bit 06 of word n + 10/n + 18, data write error bit 7 of word n +
10/n + 18, data reading bit 08 of word n + 10/n + 18, and data read error
bit 09 of word n + 10/n + 18 will not change when an IOWR instruction
DIFU(13)
R1
Work bit
Set in the
expansion DM
area the
positioning data
described below.
Set the address of the X-axis acceleration
time (1136 Hex corresponds to 4406).
Set the address of first source word of the
acceleration time data.
Set the source unit number (0) and a total
of two words to be transmitted.
IOWR
#1136
D00100
#00020000
R3
R2
R3
R1
R2
=
Execution condition
OUT (Work bit)
Set the data
shown below in
the DM Area.
OUT (Work bit)
D0100
D0101
01F4
0000
500 ms.
Set
Transfer data
Format
check
Data check
and
processing
(1)
(2)
Within one cycle
The completion time
varies with the data to be
transferred and the
number of words.
IOWR instruction
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 ...