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