31
Overview of G-language Programs in the MC Unit
Section 1-7
Example 3: 2 Tasks and 4 Axes
Example 4: 1 Task and 2 Axes
The task configuration (axis configuration, number of tasks, and task axis
statements) is set by the unit parameters within the system parameters. (For
details, refer to
3-3 System Parameters
.
Note
The following table shows the factory settings for the task configuration (axis
configuration, number of tasks, and task axis statements). When using any
other task configuration, be sure to set these as the initial settings.
Default Task
Configuration
MC programs are managed according to the number of tasks, so it will be
necessary to rewrite the program if the task configuration is changed after the
program has been created. For details on changing the task configuration,
refer to
Section 3-2 Determining the Task Configuration
.
Tasks and Blocks
The MC Unit is capable of storing a total of 2,000 blocks of programming. The
maximum 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
Up to 800 blocks can be used in one program, including subroutines.
Tasks and Programs
A maximum of 100 programs can be managed by the MC Unit. The number of
programs that can be managed per task depends on the number of tasks as
shown in the following table. These figures include subroutines.
Task 1 :
X, Y, Z axis
Task 2:
U axis
Task 1:
X, Y, Z axis
Task 2:
U axis
Task 1
X ,Y axis
Item
CS1W-MC421
CS1W-MC221
Axis configuration
4 axes
2 axes
Number of tasks
1
1
Task axis statement (for task 1)
X, Y, Z, and U axes
X and Y axes
Task axis statement (for task 2)
Not used.
Not used.
Task axis statement (for task 3)
Not used.
Not used.
Task axis statement (for task 4)
Not used.
Not used.
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
---
Number of tasks
Maximum number of
programs (CS1W-MC421)
Maximum number of
programs (CS1W-MC221)
1
100 programs
100 programs
2
50 programs/task
50 programs/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 ...