Anaheim DPJ72LC3, DPJ72LC2 manual G90 Absolute Positioning Mode, G91 Incremental Positioning Mode

Page 63

 

 

Section 4 System Programming 59

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.

Image 63
Contents User’s Guide Table of Contents Error! Bookmark not defined Page Thank You Product SupportSystem Requirements If you are using Windows 95, 98 or NT Installing LCUsing the Mouse If you are using Windows 3.1 orUsing Standard Windows Controls Choosing CommandsCommand Buttons Pull-Down MenusText Boxes System Safety Program Overview About this ManualFile Menu Pull Down Menu BarMain Screen Features Controller Menu Main Screen Features To change the state of an output line Tool Position Box View MenuHelp Menu Relative Other FeaturesProgram MachineTo zero each axis To set new values within a coordinate systemTo zero all axes Tool Path View PortControl Box Code Mode Jog Mode Point Mode Home Mode Program Listing Box Message BoxPage Windows Windows SetupSoftware Setup Setup FileSystem Settings To set your system settings Initial Setup Machine Tool Settings To set the Machine Tool Settings Initial Setup To Set the Maximum Unramped Feedrates Feedrate and Ramping SettingsTo Set the Ramping Rate To Set the Maximum FeedratesTo Set the Direction Change Delay Setting Machine Zero To Set the Jog RatesTo Set the Maximum Arc Feedrate To Set Machine Zero Without Using Home Switches To Set Machine Zero Using Home SwitchesTo Set Backlash Setting BacklashTo Set Up the Tool Library Tooling SettingsTo Configure the Input Lines Input Line SettingsOutput Line Settings To Configure the Output LinesTo define an M-code to control output lines To Configure the Motor Signal Lines Motor Signal SettingsTo Configure G and M Code Handling Initial Setup Page To import a DXF file Opening a G-Code ProgramImporting a DXF File To open an existing programTo choose a different file name or folder System Programming Using the Program Editor To open the editorTo edit a new program To close the editor To save your program using the same file nameKey Programming Concepts M Codes SupportedAbsolute vs. Incremental ModeG00 Rapid Tool Positioning M Code ReferenceG02 Clockwise Circular Cutting Move G01 Linear Interpolated Cutting MoveEnd End Center Start G03 Counter Clockwise Circular Cutting MoveG28 Return to Reference Point G04 DwellG17, G18, G19 Arc Plane Selection G20, G21 Inch Units and Metric UnitsG29 Return from Reference Point System Programming System Programming System Programming System Programming G52 Local Coordinate System G91 Incremental Positioning Mode G90 Absolute Positioning ModeM98, M99, M02 Subroutine Commands M00 Program PauseM30 End of Program Feedrate Command MXX Miscellaneous Device ControlProgram Comments System Programming Windows 95, 98 or NT Configuring LCStarting LC Software Windows 3.1 orLoading a G-Code File Viewing the Tool Path Tutorial Animating the G-Code File Editing a G-Code File Using the Jog Controls Connecting the Machine OnlineSetting Machine Zero Using the Point Move Setting Program Zero on the Machine Tool Testing the Program on the Machine Tool Cutting the Part Exiting the ProgramTurning off the Controller O Connections Typical Output Configuration Motor ON/OFF Input Internally Connected Driver BLD72 Series DriverSetting the Kick Current Driver Page Glossary Glossary Glossary