Results 1 to 5 of 5

Thread: Question on G Code

  1. #1
    Registered
    Join Date
    Dec 2008
    Location
    USA
    Posts
    21
    Downloads
    0
    Uploads
    0

    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
    Registered carbidecraters's Avatar
    Join Date
    Apr 2005
    Location
    USA
    Posts
    1045
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Dec 2008
    Location
    USA
    Posts
    21
    Downloads
    0
    Uploads
    0

    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
    Registered coolvdub's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    2
    Downloads
    0
    Uploads
    0
    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
    Registered Neal's Avatar
    Join Date
    Mar 2003
    Location
    Chatsworth, Ca
    Posts
    900
    Downloads
    0
    Uploads
    0
    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, 01:23 AM
    2. G code question
      By Toolz_86 in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 2
      Last Post: 09-28-2010, 04:31 AM
    3. G91 G code question
      By beekeep in forum G-Code Programing
      Replies: 8
      Last Post: 07-13-2010, 11:14 PM
    4. Need Help!- V-21 G-Code Question
      By SteveS in forum BobCad-Cam
      Replies: 10
      Last Post: 02-12-2009, 11:27 AM
    5. G Code Question
      By dgoddard in forum G-Code Programing
      Replies: 3
      Last Post: 01-02-2008, 05:50 PM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.