376
Programs and Tasks
Section 7-1
7-1
Programs and Tasks
7-1-1
Overview
The CS1W-MC421 MC Unit can execute up to four tasks (tasks 1 to 4), and
the CS1W-MC221 can execute one or two (tasks 1 to 2). (A task is a unit of
execution for a program.)
By executing two or four tasks at the same time, the MC Unit can perform the
same functions as two or four controllers.
The number of tasks and axes to be used are set in advance using CX-Motion
for the unit parameters.
Number of Tasks and Axes
The X and Y axes can be used with the CS1W-MC221, and the X, Y, Z, and U
axes can be used with the CS1W-MC421. Each axis can be used for only one
task, i.e., any axis assigned to one task cannot be used in another task.
Example: 4 Tasks and 4 Axes
Example 2: 2 Tasks and 3 Axes
Example 3: 2 Tasks and 4 Axes
Example 4: 1 Task and 2 Axes
Tasks and Blocks
The MC Unit is capable of storing a total of 2,000 blocks of program. The max-
imum number of blocks that can be executed in each task depends on the
number of tasks as shown in the following table. These figures include sub-
routines.
Note
A maximum of 800 blocks can be used in one program, including subroutines.
Task 1 :
X axis
Task 2:
Y axis
Task 3 :
Z axis
Task 4:
U axis
Task 1 :
X, Y axis
Task 2:
Z axis
Task 1:
Y, Z axis
Task 2:
Y, U axis
Task 1 :
X, Y, Z axis
Task 2:
U axis
Task 1:
X, Y, Z axis
Task 2:
X, Y, U
axis
Task 1
X ,Y axis
Number of tasks
Maximum number of
blocks (CS1W-MC421)
Maximum number of
blocks (CS1W-MC221)
1
2,000 blocks
2,000 blocks
2
1,000 blocks/task
1,000 blocks/task
3
666 blocks/task
---
4
500 blocks/task
---
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 ...