Anaheim DPJ72LC2, DPJ72LC3, DPJ72LC4 manual System Programming

Page 61

Section 4 System Programming 57

The first tool used in the program is tool #1, so it is selected in the Current Tool pull-down menu on the main screen. The tool change position is defined as Machine Coordinates X=2, Y=2, Z=0. Tool #1 is loaded in the machine tool. Program zero has been set using tool #1. Program zero is set at Machine Coordinates X=0, Y=0, Z=-4. The machine tool is moved to Program Coordinates X=0, Y=0, Z=1 before the G-Code file is run.

G00

Z.25

Move the Z axis down to Program

 

 

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

 

 

Coordinates X=0, Y=0, Z=-3.75

G01

Z-1.0 F10

Move the Z axis down to Program

 

 

Coordinates X=0, Y=0, Z=-1, Machine

 

 

Coordinates X=0, Y=0, Z=-5

G00

Z.25

Move the Z axis up to Program Coordinates

 

 

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

 

 

X=0, Y=0, Z=-3.75

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, Machine

 

 

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

M06 T2

Change the tool to Tool #2. All coordinates

 

 

remain unchanged.

G43

H2

Apply the tool length compensation for tool

 

 

#2. The offset amount is 0.750 (2.250-

 

 

1.500). The tool does not move. However,

 

 

the Program Coordinates change to X=2,

 

 

Y=2, Z=3.25. The Machine Coordinates

 

 

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

G29

X1 Y1 Z0.25

Move the X and Y axes across and the Z

 

 

axis down to Program Coordinates X=1,

 

 

Y=1, Z=0.25, Machine Coordinates X=1,

 

 

Y=1, Z=-3.0

G01

X3 Y3 Z-1 F20

Linear interpolation to Program Coordinates

 

 

X=3, Y=3, Z=-1, Machine Coordinates X=3,

 

 

Y=3, Z=-4.25

G28

Z0

Rapid move in the Z axis only to Program

 

 

Coordinates X=3, Y=3, Z=3.25, Machine

 

 

Coordinates X=3, Y=3, Z=0

M06 T3

Change the tool to tool #3. All coordinates

 

 

remain unchanged.

G43

H3

Apply the tool length compensation for tool

 

 

#3. The offset amount is –1.250 (1.000-

2.250). The tool does not move. However, the Program Coordinates change to X=3,

Image 61
Contents User’s Guide Table of Contents Error! Bookmark not defined Page Product Support Thank YouSystem Requirements Using the Mouse Installing LCIf you are using Windows 3.1 or If you are using Windows 95, 98 or NTUsing Standard Windows Controls Choosing CommandsPull-Down Menus Command ButtonsText 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 View Menu Tool Position BoxHelp Menu Program Other FeaturesMachine RelativeTo 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 SetupSetup File Software SetupSystem 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 To Set the Jog Rates Setting Machine ZeroTo 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 SettingsTo Configure the Output Lines Output Line SettingsTo 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 Importing a DXF File Opening a G-Code ProgramTo open an existing program To import a DXF fileTo choose a different file name or folder System Programming To open the editor Using the Program 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 MoveG17, G18, G19 Arc Plane Selection G04 DwellG20, G21 Inch Units and Metric Units G28 Return to Reference PointG29 Return from Reference Point System Programming System Programming System Programming System Programming G52 Local Coordinate System G91 Incremental Positioning Mode G90 Absolute Positioning ModeM00 Program Pause M98, M99, M02 Subroutine CommandsM30 End of Program MXX Miscellaneous Device Control Feedrate CommandProgram Comments System Programming Starting LC Software Configuring LCWindows 3.1 or Windows 95, 98 or NTLoading 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 Exiting the Program Cutting the PartTurning 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