Subscribe to Blog
Email Address
 
Search for G43 returned 7 results.
Pages:(1) [1]
Tool_Length_Offset.PNG

Did you know there are three ways you can touch off your tools?

Because of how Machine Offsets add up, there are several ways CNC machinists can set their Tool and Work Offsets.

This is especially true for Tool Length Offsets.

Tool Offsets can be either Positive or Negative.
Depending on your Machine Shop equipment you should use one or the other.

Regardless of how you set your tool length offset, you apply it the same way.
Right after the tool change and after turning on your spindle and moving to your X Y position above the part.
The very first absolute Z movement should be the line where you apply the tool length offset.

Code
T15 M6; (TOOL CHANGE)
G0 G54 G90 X1.0 Y1.5 S1500 M3;(APPLY WORK OFFSET, MOVE TO THE FIRST POSITION, TURN ON THE SPINDLE)
G43 Z2.0 H15; (APPLY TOOL LENGTH OFFSET WHILE MOVING TO 2.0" ABOVE THE PART)
G0 Z0.1 M08;(MOVE TO FEED HEIGHT AND CARRY ON WITH THE PROGRAM..)

Positive Tool Offsets (gage line tool length offsets)

In the case of Positive Tool Offsets, the offset represents the Length of the tool measured as a distance from the Gauge Line of the spindle (typically spindle nose) to the tip of the tool. The longer the tool, the larger your Tool Length offset will be.

Read More 

Before we run any G-Code program, we need to tell the machine where our part zero is.
A Part Zero is simply a bunch of numbers that offset the axis to give the machine a new coordinate point to work from.

Work Offsets is one of the most basic pieces of knowledge any machinist must-have.

Let us account for all the basic coordinate systems and definitions, available in a generic CNC machine

  • Machine Home and (Absolute) Machine Coordinates
  • Work Offset Coordinates
  • Tool Length Offsets

Machine Home and Machine Coordinates: G53

Machine Coordinates (or Absolute Coordinates) is the absolute and constant representation of the machine axis position.
These coordinates never change between Machine Restarts and must remain such. In fact, there is often no way for an operator to adjust the Absolute Machine Axis Home position.

Machine Home is simply that magical place where all Machine Coordinates should become Zero.

To Home the Machine is to start a machine operation, that will move all Axis to their soft limit position where X, Y, and Z-axis reading will be set to zero.

Homing must be done every time you restart your machine. Without it machine does not know where is the position of its table or spindle.

When homed your machine coordinates will read X=0 Y=0 and Z=0 and it is going to look like this:


The point where Machine X and Y intersect is called Table Home Position and the one where the Machine Z-axis starts from is called Spindle Home.

Now, there is no agreement between machine tool manufacturers on where the machine home should be.

Read More 

Suggested new feature to HSMAdvisor: Quick G-Code Wizards

September 20, 2015, 3:54 pm by Eldar Gerfanov (Admin)
Recently i have received a very interesting suggestion, which i would like to discuss with you, guys.
 
A HSMAdvisor user wants to be able to create quick G-Code snippets based on the Tool and Cut information that HSMAdvisor has.
 
G-Code Wizards will allow you to quickly create a stub program for various standard machining operations.
 
For example you calculate speeds and feeds for drilling.
Then you have the ability to create a G-Code program based on your input like so:
 
T15 M6(T15 1/2" HSS Drill)
G54 G0 G90 X[Hole1_X] Y[Hole1_Y] S1500 M03
G0 G43 H15 M08
G81 G98 X[Hole1_X] Y[Hole1_Y] Z[Depth] F15.0
X[Hole2_X] Y[Hole2_Y]
X[Hole3_X] Y[Hole3_Y]
G80
G0  Z0.5 M09
G0 G91 G28 Z0 M05
 
All with a few clicks of a mouse.
This piece of code with minimal modifications you can then quickly insert into your program.
 
What do you think about it?
 

Lessson 3: CNC Canned Cycles, Drilling, Tapping, Reaming and Boring Cycles

September 20, 2015, 2:49 pm by Eldar Gerfanov (Admin)

Canned cycles are used every time we need to drill, ream or tap holes on our CNC machine

Standard Fanuc G-Code language supports more than a dozen canned cycles.

The most common cycles that will cover 99.9% of your g-Code CNC programming work are:

G-Code Name Motion Style
G81 Standard Drilling Feed-In, Rapid-Out
G83 Deep Hole Peck Drilling Incremental Feed-In by Peck Distance, Rapid Out, Repeat
G84 Right Hand Tapping Feed-In,Reverse Spindle, Feed-Out
G85 Reaming/Boring Feed-In, Feed Out

Subsequent holes

You can drill additional holes After your canned cycle has been initiated.
Any line with X Y position will be treated as another hole position.

Each position can have its own Retract value, feed rate and retract height modifier.

G80 - Canned Cycle Cancel Code

After all the holes of the canned cycle have been drilled, it is required to call G80 code in order to cancel the current cycle.

Read More 

Lessson 2: Outside Profile, Cutter Radius Offset Compensation

January 28, 2014, 10:51 pm by Eldar Gerfanov (Admin)

In this tutorial we are going to explore different options and techniques when programming cutter movement.

Lets begin with a simple part shown in a drawing below.

Basically it is a rectangular piece 4.00x2.00
For the purpose of simplicity lets make the depth of our profile (z- dimention) 0.75"

We are going to use a 0.5" dia endmill, again because it is a very common size and is easy to do basic math with.

I took a liberty of puting locations for our part/toolpath, so it is easy to extract numbers from the drawing just by looking at it.

Notice the green rectangle. This rectangle represents the path that the center of the tool will have to take to produce the part with required dimentions.
The thing is: because endmills have certain diameter, the center of the tool must be always offset by its radius.

There are two ways of doing that.

Read More 

Lesson 1 : Generic G-Code Milling Program Flow

January 23, 2014, 11:40 pm by Eldar Gerfanov (Admin)

At my day job I am starting to do more and more manual programming.

Which i do not realy like, but since am at it anyway i have decided to keep piling little articles about G-Code programming into this new category.
This way when i forget things again i will be able to quicly refresh my memory.

Program Start

O0001 (COMMENT OR PROGRAM NAME)

Starting safety blocks

(G20 IMPERIAL UNITS, G21-METRIC)
(G17 XY ARC PLANE, G18-XZ, G19-YZ)
(G40 CANCEL TOOL RADIUS COMPENSATION)
(G49 CANCEL TOOL LENGTH OFFSET)
(G80 CANCEL CANNED CyCLE)
(G90 ABSOLUTE POSITIONING MODE)

G20 G17 G40 G49 G80 G90

Tool Change Routine

(T14 - call 2.5" Face mill)
(M6 - Perform tool change)
(G0 - rapid feedrate)
(G55-G59 - Choose Work Offset)
(X, Y - Command a Position to move to)
(S - choose spindle speed)
(M03 - Turn spindle on Clockwise, M04 - Counter-clock wise)


T14 M6
G0 G54 G90 X{X} Y{Y} S{SPEED} M03;

Apply Tool length offset at retract height, Turn on Coolant

(G43 H14 Z2.0 - All codes must be in the same line Apply cutter length offset from record #14 to cuttent tool, move to 2.0 above work at the same time )
(M8 - Turn on Coolant)

G0 G43 H14 Z2.0 M8

Rapid tool to plunge height

G0 Z{Z_PLUNGE}

Plunge to cutting depth at plunge feedrate

G01 Z{Z_DEPTH} F{F_PLUNGE}

Make a straight cut in xy direction at cutting feedrate

G1 X{X_POS} Y{Y_POS} F{F_FEED}

Retract to plunge height at either rapid or retract feedrate

G1 Z{Z_PLUNGE}

Retract to rapid height, turn off colant

(M09 - Turn OFF coolant)

G0 Z{Z_RETRACT} M09

Retract to tool change height, turn off spindle

(G28 G91 Z0 - all coes must be in the same line, move Z axis to HOME POSITION through a reference point)
(G91 Z0 - Causes reference point to be the current location, thus sending axis straight up )
(M05 - Turn off spindle)

G0 G28 G91 Z0 M05

Perform Next tool change or end program

M30(end program)

Programming Efficient Peck Drilling Cycle

June 2, 2012, 8:18 am by Eldar Gerfanov (Admin)

Using Peck Cycle is often needed when drilling deep holes.
When using proper feed and speed no peck is required at depths of up to 3xDia for regular or 5xDia for High-Performance Parabolic drills.
At depths up to 10x, up to 5 pecks are required for regular  drills and up to 3 for Parabolic.
Anything over 10x Dia requires constant pecking of 0.5-1x Dia for regular drills and 1.5-2 Dia for Parabolic.

Since for programming you need a peck amount. Here are the numbers:

Code:REGULAR JOBBER DRILLS
3x: No Peck
3x-10x: 1xDia Peck
over 10x:.75xDia Peck
over 15x:.5xDia Peck 
 

Code:HI-HELIX HP DRILLS
5x: No Peck
5x-10x: 2xDia Peck
over 10x: 1.5xDia Peck 

Of course our HSMAdvisor Speed and Feed Calculator suggests not only the Speeds and Feeds but also the proper peck depth for various drill types and depths of the hole.
It in fact was the first machinist calculator to do so. This feature was much later borrowed by our competition.

And here is a pretty image showing Peck VS Hole Depth for regular twist drill:

This not only means that peck amount should be different for different styles of drills and depths of holes.
But also that peck distance should be different for different stages of drilling the same hole.
Ideally we should start the hole with large pecks, that continually reduce as the hole gets deeper and deeper.

Let's find out how we can apply this knowledge when programming our toolpaths.
This is format for normal Pecking:

Read More 
Pages:(1) [1]
Sing In

© 2009-2022 Eldar Gerfanov. All Rights Reserved.
© 2009 Eldar Gerfanov. Materials on this site are presented as is and are mostly for educational use.

You may freely reproduce information presented herein without any consent from me, provided you include link to this site.
In case when i am not the copyright holder, you may want to contact proper owner of material. Anyway, they are freely available on the Internet.
If you hold the copyright right for any of the materials on this site and want them removed, please contact me here