36
Overview of G-language Programs in the MC Unit
Section 1-7
Note
1.
This command is either new for CS1W-MC221/MC421 MC Units, or the
specifications have been changed from earlier MC Units.
2.
The CS2W-MC221 MC Unit does not have this command.
Auxiliary Codes
Note
D codes are either new for CS1W-MC221/MC421 MC Units, or the specifica-
tions have been changed from earlier MC Units.
G21
(See note 2.)
CIRCULAR PLANE SPECIFICATION (Y-U)
Sets the Y-U plane as the plane for circular inter-
polation.
400
G22
(See note 2.)
CIRCULAR PLANE SPECIFICATION (Z-U)
Sets the Z-U plane as the plane for circular inter-
polation.
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 on the specified axis.
404
G29
ORIGIN UNDEFINED
Sets the origin to an undefined state.
405
G30
SPEED CONTROL
Feeds up to 2 axes simultaneously at the con-
trolled feed rate.
405
G31
(See note 1.)
INTERRUPT FEEDING
Performs an interrupt feeding operation.
406
G32
(See note 1.)
TRAVERSE
Executes traverse operation.
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 coor-
dinate system.
419
G60
ARITHMETIC OPERATIONS
Performs arithmetic operations on numerical val-
ues, position data, and registers.
420
G63
SUBSTITUTION
Substitutes numerical values, position data, or
registers into other position data or
registers.
421
G69
(See note 1.)
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 STOP
Pauses the program when the specified optional
input is ON.
428
G79
PROGRAM END
Ends the main program.
429
G90
ABSOLUTE SPECIFICATION
Positions with absolute coordinates when per-
forming axis operations.
430
G91
INCREMENTAL SPECIFICATION
Positions with relative coordinates when
performing axis operations.
430
Code
Name
Function
Page
Code
Name
Function
M
M code
Outputs an M code.
D (See note.) D code
Starts an external interrupt task for the CPU Unit.
Содержание 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 ...