Hi Jerry,
tool offsets in the Fadal, I work with operate as follows:
G43 tells the machine to use length offsets from the tool table, H1 would tell it to use offset 1 for tool 1, so the code block : G43Z1.0H1 will send the cutter to 1.000 above the top of part.
G41 in conjunction with D1 will offset the cutter to the left of the programmed path by 1/2 the diameter defined in the tool table for tool 1. G42 will offset the cutter to the right, and G40 cancels all tool offsets,(right and left assume clockwise rotation ). I would suggest you wait until you feel proficient in G CODE before venturing into using G41 and G42 unless you just have to. It can really do some strange things.
G43 is a must use offset however, instead of using DT to set your tools try UT and follow the directions.
your sample program:
Code:
N1 O358 (drill hole... O should be CAPITAL LETTER)
N2 G90 G17 G20 G40 G80
N3 T1 M6 ( CHANGE TO TOOL 1)
N3 S400 M3 ( SPINDLE ON CLOCKWISE)
N4 G0X0.Y0.E1 ( RAPID TO PART X0 Y0 )
N5 G43 H1 Z1.0 ( RAPID Z TO 1" ABOVE PART)
N6 Z0.1 ( RAPID TO .1 ABOVE PART)
N7 G1Z-.1F2.0 ( FEED DRILL INTO PART .1 AT 2 IPM)
N8 G91G28Z0 ( RETURN Z AXIS TO Z 0, MACHINE 0)
N9 G91G28X0Y0 ( RETURN X AND Y AXIS TO MACHINE ZERO)
N10 M5 ( TURN OFF SPINDLE)
N11 M9 ( TURN OFF COOLANT)
N12 M30 ( END OF FILE - REWIND)