Anaheim DPJ72LC4, DPJ72LC3, DPJ72LC2 manual G52 Local Coordinate System

Page 62

58

Section 4 System Programming

 

 

Y=3, Z=4.5. The Machine Coordinates

 

 

remain unchanged at X=3, Y=3, Z=0.

G29

X4 Y4 Z0

Move the X and Y axes across and the Z

 

 

axis down to Program Coordinates X=4,

 

 

Y=4, Z=0, Machine Coordinates X=4, Y=4,

 

 

Z=-4.5

G01

X5 Z-1

Linear interpolation to Program Coordinates

 

 

X=5, Y=4, Z=-1, Machine Coordinates X=5,

 

 

Y=4, Z=-5.5

G28

 

Move the Z axis up and the X and Y axes

 

 

across to the Tool Change Position, Program

 

 

Coordinates X=2, Y=2, Z=4.5, Machine

 

 

Coordinates X=2, Y=2, Z=0

G49

 

Cancel Tool Length Compensation. The Z

 

 

axis Program Coordinate changes by -0.500,

the difference in Length Offset between the current tool (#3: 1.000) and the tool displayed in the Current Tool pull-down menu when the program first began (#1: 1.500). The new Program Coordinates are X=2, Y=2, Z=4. The Machine Coordinates remain unchanged at X=2, Y=2, Z=0. At this point the current tool should be removed from the spindle.

G52 Local Coordinate System

The G52 command defines and activates a local coordinate system that LC uses in place of your original Program Coordinates for all absolute positioning moves. The X, Y and Z parameters indicate the offset from your original Program Zero location to the origin for the local coordinate system.

For example, "G52 X1 Y2 Z-4" would activate a local coordinate system whose origin is at a distance of 1, 2, -4 from the original Program Zero.

All absolute moves are made relative to the new local coordinate system. To cancel use of the local coordinate system in the middle of a G-code file, use the command “G52 X0 Y0 Z0”.

When LC reads a G52 command, it displays a magenta dot in the Tool Path View Port showing the origin of the local coordinate system.

Note that the local coordinate system only applies to the G-code file being executed. The G52 command has no effect on the Program Zero you set before running the G-code file. LC automatically cancels the local coordinate system when it completes execution of a G-code file.

Image 62
Contents User’s Guide Table of Contents Error! Bookmark not defined Page System Requirements Thank YouProduct Support If you are using Windows 3.1 or Installing LCUsing the Mouse If you are using Windows 95, 98 or NTChoosing Commands Using Standard Windows ControlsText Boxes Command ButtonsPull-Down Menus System Safety About this Manual Program OverviewPull Down Menu Bar File MenuMain Screen Features Controller Menu Main Screen Features To change the state of an output line Help Menu Tool Position BoxView Menu Machine Other FeaturesProgram RelativeTo set new values within a coordinate system To zero each axisTool Path View Port To zero all axesControl Box Code Mode Jog Mode Point Mode Home Mode Message Box Program Listing BoxPage Windows Setup WindowsSystem Settings To set your system settings Software SetupSetup File Initial Setup Machine Tool Settings To set the Machine Tool Settings Initial Setup Feedrate and Ramping Settings To Set the Maximum Unramped FeedratesTo Set the Maximum Feedrates To Set the Ramping RateTo Set the Direction Change Delay To Set the Maximum Arc Feedrate Setting Machine ZeroTo Set the Jog Rates To Set Machine Zero Using Home Switches To Set Machine Zero Without Using Home SwitchesSetting Backlash To Set BacklashTooling Settings To Set Up the Tool LibraryInput Line Settings To Configure the Input LinesTo define an M-code to control output lines Output Line SettingsTo Configure the Output Lines Motor Signal Settings To Configure the Motor Signal LinesTo Configure G and M Code Handling Initial Setup Page To open an existing program Opening a G-Code ProgramImporting a DXF File To import a DXF fileTo choose a different file name or folder System Programming To edit a new program Using the Program EditorTo open the editor To save your program using the same file name To close the editorM Codes Supported Key Programming ConceptsMode Absolute vs. IncrementalM Code Reference G00 Rapid Tool PositioningG01 Linear Interpolated Cutting Move G02 Clockwise Circular Cutting MoveEnd G03 Counter Clockwise Circular Cutting Move End Center StartG20, G21 Inch Units and Metric Units G04 DwellG17, G18, G19 Arc Plane Selection G28 Return to Reference PointG29 Return from Reference Point System Programming System Programming System Programming System Programming G52 Local Coordinate System G90 Absolute Positioning Mode G91 Incremental Positioning ModeM30 End of Program M98, M99, M02 Subroutine CommandsM00 Program Pause Program Comments Feedrate CommandMXX Miscellaneous Device Control System Programming Windows 3.1 or Configuring LCStarting LC Software Windows 95, 98 or NTLoading a G-Code File Viewing the Tool Path Tutorial Animating the G-Code File Editing a G-Code File Connecting the Machine Online Using the Jog ControlsSetting Machine Zero Using the Point Move Setting Program Zero on the Machine Tool Testing the Program on the Machine Tool Turning off the Controller Cutting the PartExiting the Program O Connections Typical Output Configuration Driver BLD72 Series Driver Motor ON/OFF Input Internally ConnectedSetting the Kick Current Driver Page Glossary Glossary Glossary