586,907 active members*
3,049 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2008
    Posts
    22

    Question on G Code

    Im running Fadal 6030 and 4029 CNC.
    Seem to be having a issue with the "H" # matching the tool #
    (see below in bold and red)
    My question is should the "H#" always match the tool T#.

    Thanks
    Jim V




    N100 O099 ( O099 )
    N110 ( CREATED ON 10-21-11 AT 9:26 AM )
    N120 ( MCX FILE - C:\DOCUMENTS AND SETTINGS\JIMV\MY DOCUMENTS\MOX 3D FILES\N5063\DCS01_70207-B.MCX-5 )
    N130 ( NC FILE - C:\DOCUMENTS AND SETTINGS\JIMV\MY DOCUMENTS\MY MCAMX5\MILL\NC\O099.NC )
    N140 ( MATERIAL - STEEL INCH - 304 STAINLESS )
    N150 G20
    N160 G0 G17 G40 G49 G80 G90 H0 E0 Z0
    N170 ( 1/4 FLAT ENDMILL TOOL - 21 DIA. OFF. - 2 LEN. - 2 DIA - 0.25 )
    N180 T21 M6
    N190 A-0.
    N200 G0 G90 S3000 M3 E1 X15.5709 Y5.2165
    N210 H2 Z.0213 M8

  2. #2
    Join Date
    Apr 2005
    Posts
    1194
    Thats a problem with your post or how you setup your tool and length number in your screen after you pick the the geometry in mastercam. Make sure they are the same number. You can edit on the floor by using the D key and moving the cursor to the line you want to edit then press C key to change and then enter after your done. If you dont like the change hit C key again and then enter the value you want to change and hit enter or enter the value you want to delete and enter a ; after it. Also if thats a stock fadal x5 post watch out for rigid tapping you dont want any X or Y numbers in with yoru g84 or g84.1 and g99 numbers and it may need a R value in that line if it doesnt do it. The oem fadal post from amstrcam needs a little tweaking.
    We have had good luck with our Fadals milling mostly soft steel and aluminum up to 5 axis. We are always looking for spare parts If you have a broken down Fadal give a shout.

  3. #3
    Join Date
    Dec 2008
    Posts
    22

    Thanks for your Help

    I was thinking they need to be the same. Most of the time it comes out correct.

    Thanks again
    Jim V

  4. #4
    Join Date
    Mar 2011
    Posts
    4
    Most of the time they are the same, but sometimes I will use multiple offsets for the same tool. For instance T1 and H11. But as previously stated, you need to make sure you have all the tool parameters the same in X5. Seems like it was just an oversight when defining your tool in Mastercam.

  5. #5
    Join Date
    Mar 2003
    Posts
    900
    The "H" code can be anything you want it to be regradless of tool number. HOWEVER, the normal procedure is T1 H1; T2 H2; T21 H21 Etc. If you choose to use a different "H" code on a given tool due to circumstances, just make sure that it is well documented in the program notes and opeator instructions. Other wise you could have a major crash occur.

    Neal

Similar Threads

  1. G-code question
    By nateman_doo in forum Benchtop Machines
    Replies: 19
    Last Post: 10-11-2011, 06:23 AM
  2. G code question
    By Toolz_86 in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 2
    Last Post: 09-28-2010, 09:31 AM
  3. G91 G code question
    By beekeep in forum G-Code Programing
    Replies: 8
    Last Post: 07-14-2010, 04:14 AM
  4. V-21 G-Code Question
    By SteveS in forum BobCad-Cam
    Replies: 10
    Last Post: 02-12-2009, 05:27 PM
  5. G Code Question
    By dgoddard in forum G-Code Programing
    Replies: 3
    Last Post: 01-02-2008, 11:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •