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

HSMAdvisor v2.7.2

September 17, 2023, 4:49 pm by Eldar Gerfanov (Admin)

Good news, everybody!

HSMAdvisor now has a G and M-Code reference page:

Also in this update, I have fixed error messages that appeared after the clean install.
These weren't critical as they appeared only once, but I assume they caused a few new users not to continue using the app, which is quite unfortunate.

The latest update can be downloaded from here: https://hsmadvisor.com/download

Thanks to everybody who sends feedback and suggestions!

Updated G and M-Code reference in FSWizard

August 30, 2023, 1:01 am by Eldar Gerfanov (Admin)

The FSWizard app, available on iOS, Android, and web browsers, recently received a substantial update for its G and M code reference page.

This update includes the addition and updating of the most commonly used Fanuc G and M codes.

Notably, the G code within the sample snippets is now highlighted, enhancing readability.

You can download the update from: https://fswizard.com/

or access it through your web browser: https://app.fswizard.com/#/GCodes.

Thank you to everyone who keeps sending suggestions and feedback!

Cheers!

Notepad++: Absolutely Free G-Code Editor With Code Highlighting

March 20, 2016, 3:28 pm by Eldar Gerfanov (Admin)
NPPGcodeLang3.png

Quite often I see people asking which text editors others use to work with their G-Code.

Some even suggest paid ones.

I am using a free general-purpose advanced text editor called Notepad++.

It is so flexible, it can recognize the language you are working with and turn on the language-specific highlighting for even the G-Code.

I created my own Language profile for it. It is attached to this article so that everyone can download it.

Below is how you can apply this language profile to turn on g-code highlighting:

Read More 
G-CODE_N Language G-CODE_N.xml G-CODE DARK G-CODE_DARK.xml Size:0.01 MB
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 

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