217
IOWR and IORD Specifications
Section 4-2
4-2-3
Transferring Data Using the Command Area
Refer to the following diagram for the execution timing and processing method
of the IOWR instruction when the command area is used for large amounts of
data.
Note
Addresses in parentheses are for the CS1W-MC221 on the left side of the
slash and are for the CS1W-MC421 on the right side of the slash.
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 in correct.
2.
The MC Unit performs a data check to see if the MC Unit can process the
data designated with the operand. 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 process
the data.
Note
If a command (e.g., for program execution) is given while data is being pro-
cessed in step 2 above, the command will be executed after the data is pro-
cessed.
Example: Program
Execution after Position
Data Transfer
The timing chart shows data for task 1.
1,2,3...
1.
Position data is transmitted with the IOWR instruction.
2.
The Equals Flag will be turned ON when the transmission of the position
data has been completed.
3.
The Data Writing Flag will turn OFF when data processing has been com-
pleted.
Data writing
(n + 10, 06/n + 18, 06)
Data write error
(n+10, 07/n+18, 07)
Data reading
(n+10, 08/n+18, 08)
ON for one cycle min.
ON for one cycle min.
Error
Error
Data read error
(n+10, 09/n+18, 09)
Transfer data
IOWR instruction
Fixed
Bits for writing
Bits for reading
Format
check
Data check
Data processing
Within one cycle
The completion time varies with the data to
be transferred and the number of words.
(1)
(2)
(3)
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 ...