![background image](http://html1.mh-extra.com/html/omron/cs1w-mc221/cs1w-mc221_operation-manual_742361062.webp)
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
Содержание 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 ...