Anaheim DPJ72LC4 Pager User Manual


 
Section Section 44 System ProgrammingSystem Programming
5959
Example:
G01 X1.0 Y3.0 Z-1.5 F12 Moves the tool directly to the Program
coordinate X=1.0, Y=3.0, Z=-1.5.
G52 X3 Y-7 Z0 Activates a local coordinate system with
origin at X=3, Y=-7, Z=0 relative to
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 G-code file if all your moves are
absolute.
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 Z-1.5 F12 Moves the tool directly to the Program
coordinate X=1.0, Y=3.0, Z=-1.5. G90 is
assumed.
G91 All XYZ coordinates after this command
will be interpreted as incremental distances.
G01 X1.0 Y2.0 Z-0.5 Moves the tool a distance of X=1.0, Y=2.0,
Z=-0.5 from the current tool location. This
corresponds to the Program coordinate
X=2.0, Y=5.0 Z=-2.0.