Anaheim DPJ72LC4, DPJ72LC3, DPJ72LC2 manual System Programming

Page 59

 

Section 4 System Programming 55

M06 T3

Pauses program, displays dialog informing

 

operator to change to tool number 3

Note: For compatibility reasons, the T command can be used on any line prior to the M06 command; it does not need to be on the same line as M06.

Once the M06 command has set the current tool, the G43 command applies the proper offset to account for the current tool’s length as follows:

G43 Hn

where n is the tool number for the current tool.

The G43 command tells LC to shift all subsequent Z axis moves away from the workpiece (in the positive Z direction) by an offset amount. The offset amount is equal to the difference in lengths between the current tool when the G43 command is executed and the previous tool. LC uses the Length Offset values in the Tooling Setup dialog box to calculate the difference in lengths between two tools.

Example:

 

G43 H3

Shifts all subsequent Z axis moves away

 

from the workpiece (in the positive Z

 

direction) by the difference in lengths

 

between tool number 3 and the previous tool

The G44 command is identical to the G43 command, except that it shifts all Z axis moves in the direction opposite from G43. Unless you are an experienced CNC programmer and know how to use G44 correctly, G43 is the preferred command.

The G49 command cancels tool length compensation. It removes any offset that LC has applied since the G-Code program began running.

When using tool length compensation there are several important things to keep in mind:

You must predefine all tools and tool lengths in the Tooling Setup dialog box.

It’s good practice to include an M06 tool change and a G43 compensation command for the first tool used, near the beginning of the G-Code program.

LC automatically cancels tool offset when it finishes processing a G- Code file, or during any operation that ends the current run of the G- Code file (such as resetting the program, opening a new program, and so on.) TO AVOID CRASHING THE MACHINE TOOL, IT IS

VERY IMPORTANT THAT YOU REMOVE THE CURRENT TOOL FROM THE SPINDLE WHENEVER LC CANCELS TOOL OFFSET.

Image 59
Contents User’s Guide Table of Contents Error! Bookmark not defined Page System Requirements Thank YouProduct Support 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 CommandsText Boxes Command ButtonsPull-Down Menus 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 Help Menu Tool Position BoxView 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 SetupSystem Settings To set your system settings Software SetupSetup File 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 Maximum Arc Feedrate Setting Machine ZeroTo Set the Jog Rates 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 define an M-code to control output lines Output Line SettingsTo Configure the 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 To edit a new program Using the Program EditorTo open the editor 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 ModeM30 End of Program M98, M99, M02 Subroutine CommandsM00 Program Pause Program Comments Feedrate CommandMXX Miscellaneous Device Control 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 Turning off the Controller Cutting the PartExiting the Program O Connections Typical Output Configuration Motor ON/OFF Input Internally Connected Driver BLD72 Series DriverSetting the Kick Current Driver Page Glossary Glossary Glossary