Subscribe to Blog
Email Address
 
Search for G54 returned 8 results.
Pages:(1) [1]

proLIGHT 2000 Benchtop CNC: Progress update and the First Finished Piece!

October 2, 2020, 2:27 pm by Eldar Gerfanov (Admin)

Finally got my proLIGHT CNC Mill running with UCCNC control software.

Chose that over mach3/4 because uccnc software seemed better made. Unfortunately, it too has bugs.

Most importantly, executing gcode.
Instead of running all codes in a block simultaneously, it does them in the incorrect order.

For example, code like

Code
G55
G0 G90 G54 X0 Y0

Instead of going to X0 Y0 defined in offset #54, it will go to coordinates of offset #55!
Only after executing that line, the offset will change to G55.
Similar issue with
Code
G28 G91 Z0

Don't need to tell you this may lead to crashes.
So I changed the MasterCAM's post processor to output some of the codes in different lines.

Hopefully, devs will fix this issue soon.

In other news, I have just finished the first 2-tool piece.

It was a miniature skull figure made out of aluminum:

I got 150 bucks for machining that for a guy I met in a Facebook group. Nice!

The smallest endmill was 1mm ball nose, and it held up perfectly at max RPM of 5000 and feed rate of about 25ipm.

The DOC and stepover were about 0.004"

Now I wish it had a 20k spindle. If I could run at 100ipm, it would make a quick work of that little piece.
This way, it took 1 hour, which is not too bad either.

Cheers! 

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)

HAAS: Making G54-G59 show Z0 at the top of fixture

November 29, 2011, 10:50 pm by Eldar Gerfanov (Admin)

Problem: Work offset G54 Z0 shows some "weird number" which is very hard to relate to.

Can we make top of fixture show Z0=0.000 ?

Solution:

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