377
G Language Overview
Section 7-2
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.
Note
The same program number cannot be used for different tasks.
7-2
G Language Overview
7-2-1
List of G-language Commands
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
3
33 programs/task
---
4
25 programs/task
---
Code
Name
Function
Page
G00
POSITIONING
Positions up to two or four axes simultaneously with
PTP control at the maximum feed rate.
384
G01
LINEAR INTERPOLATION
Performs linear interpolation on up to two or four
axes simultaneously at the specified interpolation
feed rate.
385
G02
CIRCULAR INTERPOLATION (CLOCKWISE)
Performs 2-axis circular interpolation in the clockwise
direction at the specified interpolation feed rate.
388
G03
CIRCULAR INTERPOLATION (COUNTER-
CLOCKWISE)
Performs 2-axis circular interpolation in the
counterclockwise direction at the specified
interpolation feed rate.
G04
DWELL TIMER
Waits for the specified period of time.
395
G10
PASS MODE
Performs operations one-by-one in sequence without
deceleration to stop.
396
G11
STOP MODE
Performs the next operation after completing
positioning.
398
G13
IN-POSITION CHECK OFF MODE
Starts the next operation without waiting for
positioning to be completed.
399
G17
CIRCULAR PLANE SPECIFICATION (X-Y)
Sets the X-Y plane as the plane for circular
interpolation.
400
G18
(See
note.)
CIRCULAR PLANE SPECIFICATION (X-Z)
Sets the X-Z plane as the plane for circular
interpolation.
400
G19
(See
note.)
CIRCULAR PLANE SPECIFICATION (Y-Z)
Sets the Y-Z plane as the plane for circular
interpolation.
400
G20
(See
note.)
CIRCULAR PLANE SPECIFICATION (X-U)
Sets the X-U plane as the plane for circular
interpolation.
400
G21
(See
note.)
CIRCULAR PLANE SPECIFICATION (Y-U)
Sets the Y-U plane as the plane for circular
interpolation.
400
G22
(See
note.)
CIRCULAR PLANE SPECIFICATION (Z-U)
Sets the Z-U plane as the plane for circular
interpolation.
400
G26
REFERENCE ORIGIN RETURN
Moves to the reference origin.
402
G27
WORKPIECE ORIGIN RETURN
Moves to the workpiece origin.
403
G28
ORIGIN SEARCH
Performs an origin search in the specified axis.
404
G29
ORIGIN UNDEFINED
Makes the origin undefined.
405
Содержание CS1W-MC221 -
Страница 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Страница 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 11: ...xii ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Страница 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Страница 227: ...200 Command Area Section 3 6 ...
Страница 351: ...324 Interface Specifics Section 5 4 ...
Страница 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Страница 575: ...548 Error Log Section 12 6 ...
Страница 589: ...562 Performance Appendix A ...
Страница 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Страница 683: ...656 Origin Search Patterns Appendix F ...
Страница 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...