35
Overview of G-language Programs in the MC Unit
Section 1-7
The following diagram shows the operation of the example program.
Operation
1-7-4
G-language Codes
The following table provides a summary and brief description of the G-lan-
guage commands. For a more detailed explanation, refer to
SECTION 7 G-
language Programming
.
Speed
M strobe
M code
(MC Unit output)
M code reset
(input from CPU Unit)
Time
Code
Name
Function
Page
G00
POSITIONING
Positions up to 2 or 4 axes simultaneously with
PTP control at the maximum feed rate.
384
G01
LINEAR INTERPOLATION
Performs linear interpolation on 1, 2, 3, or 4 axes
(1 or 2 axes for MC221).
The specified axes move simultaneously.
The feed rate can be specified.
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 inter-
polation feed rate.
388
G04
DWELL TIMER
Waits for the specified length of time.
395
G10
PASS MODE
Performs operations one-by-one in sequence
without waiting for deceleration to stop.
396
G11
STOP MODE
Performs the next operation after completing
positioning.
398
G13
(See note 1.)
IN-POSITION CHECK OFF MODE
Starts the next operation without waiting for posi-
tioning to be completed.
399
G17
CIRCULAR PLANE SPECIFICATION (X-Y)
Sets the X-Y plane as the plane for circular inter-
polation.
400
G18
(See note 2.)
CIRCULAR PLANE SPECIFICATION (X-Z)
Sets the X-Z plane as the plane for circular inter-
polation.
400
G19
(See note 2.)
CIRCULAR PLANE SPECIFICATION (Y-Z)
Sets the Y-Z plane as the plane for circular inter-
polation.
400
G20
(See note 2.)
CIRCULAR PLANE SPECIFICATION (X-U)
Sets the X-U plane as the plane for circular inter-
polation.
400
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 ...