417
G-language Commands
Section 7-3
Programming Example
The following example shows setting the reference coordinate system as the
coordinate system and performing linear interpolation.
:
:
N009
G90
N010
G50
N011
G01
X100
Y200
:
:
7-3-17 G51: SELECT WORKPIECE COORDINATE SYSTEM
Sets the workpiece coordinate system as the coordinate system.
Format
G51
Operands
None
Description
This command sets the workpiece coordinate system as the coordinate sys-
tem. After this command is executed, the coordinate data in all subsequent
axis operations is processed as workpiece coordinate data.
The origin for the workpiece coordinate system can be set with the system
parameters or with G53. The reference coordinate system will be used after
REFERENCE ORIGIN RETURN (G26) or ORIGIN SEARCH (G28) is exe-
cuted.
Programming Example
The following example shows setting the workpiece coordinate system as the
coordinate system and performing linear interpolation.
:
:
N009
G90
N010
G51
N011
G01
X100
Y200
:
:
Reference coordinate system
Workpiece coordinate system
Reference coordinate system
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 ...