378
G Language Overview
Section 7-2
Note
Not supported by the CS1W-MC221.
7-2-2
G-language Formats
The following notion is used for the operands.
< >
Name of an operand to be specified
[ ]
Optional operand
...
An operand that can be specified more than once
@
A required space
_
Optional space
G30
SPEED CONTROL
Feeds up to two or four axes simultaneously at a con-
trolled speed.
405
G31
INTERRUPT FEEDING
Performs interrupt feeding operations.
406
G32
TRAVERSE
Executes traverse operations.
412
G50
SELECT REFERENCE COORDINATE SYSTEM
Specifies the reference coordinate system.
416
G51
SELECT WORKPIECE COORDINATE SYSTEM
Specifies the workpiece coordinate system.
417
G53
CHANGE WORKPIECE ORIGIN OFFSET
Changes the origin of the workpiece coordinate
system.
418
G54
CHANGE REFERENCE COORDINATE SYSTEM
PV
Changes the present value in the reference
coordinate system.
419
G60
ARITHMETIC OPERATIONS
Performs arithmetic operations on numerical values,
position data, and registers.
420
G63
SUBSTITUTION
Substitutes numerical values, position data, or
registers into other position data or registers.
421
G69
CHANGE PARAMETER
Changes the specified parameter.
421
G70
UNCONDITIONAL JUMP
Unconditionally jumps to the specified block.
423
G71
CONDITIONAL JUMP
Jumps to the specified block when the condition is
met.
424
G72
SUBROUTINE JUMP
Calls the specified subroutine.
424
G73
SUBROUTINE END
Ends the subroutine.
425
G74
OPTIONAL END
Ends the block currently being executed when the
specified optional input is ON.
425
G75
OPTIONAL SKIP
Skips the block after this command when the
specified optional input is ON.
427
G76
OPTIONAL PROGRAM PAUSE
Pauses the program when the specified optional
input is ON.
428
G79
PROGRAM END
Ends the main program.
429
G90
ABSOLUTE SPECIFICATION
Specifies the use of absolute coordinates in axis
operations.
430
G91
INCREMENTAL SPECIFICATION
Specifies the use of relative coordinates in axis
operations.
430
Code
Name
Function
Page
Name
Code
Operands
POSITIONING
G00
<Axis movement command ...> [_M<M code>[/Stopover (Note 2.)]]
[_D<D code>[/Stopover (Note 2.)]]
[_#<optional number>]
LINEAR INTERPOLATION
G01
<Axis movement command ... >[_F<speed reference>[/Stopover (Note 2.)]]
[_M<M code>[/Stopover (Note 2.)]]
[_D<D code>[/Stopover (Note 2.)]]
[_#<optional number>]
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 ...