|
| Section 4 System Programming 59 |
Example: |
|
|
G01 | X1.0 Y3.0 | |
|
| coordinate X=1.0, Y=3.0, |
G52 | X3 | Activates a local coordinate system with |
|
| origin at X=3, |
|
| Program Zero. The machine tool does not |
|
| move. |
G01 | X1.0 Y10.0 Z2.0 | Moves the tool directly to the point X=1.0, |
|
| Y=10.0, Z=2.0 relative to the local |
|
| coordinate system as defined by the G52 |
|
| command above. |
G52 | X0 Y0 Z0 | Cancels use of the local coordinate system. |
|
| All absolute moves are again relative to |
|
| Program Zero as you set it before running |
|
| the program. |
G90 Absolute Positioning Mode
The G90 command puts the system into absolute positioning mode. All XYZ coordinates are treated as points relative to Program Zero (or a local coordinate system set by the G52 command). This command stays in effect until a G91 command occurs.
Note that absolute positioning is the default positioning mode for LC. It is not necessary to include this command in your
G91 Incremental Positioning Mode
The G91 command puts the system into incremental positioning mode. All XYZ coordinates are treated as incremental move distances. This command stays in effect until a G90 command occurs.
Example: |
|
|
G01 | X1.0 Y3.0 | |
|
| coordinate X=1.0, Y=3.0, |
|
| assumed. |
G91 |
| All XYZ coordinates after this command |
|
| will be interpreted as incremental distances. |
G01 | X1.0 Y2.0 | Moves the tool a distance of X=1.0, Y=2.0, |
|
| |
|
| corresponds to the Program coordinate |
|
| X=2.0, Y=5.0 |