Hi all,
I posted this in another thread but then I found the Milltronics forum so I'm gonna ask here also.
Over the last 20 years as a maintenance mechanic, i have picked up a little skill with manual machining. Now, however, I need to use a Milltronics MB-20 milling machine. I have three pieces of mild steel that I need to cut three 1.5" x 1.5" square holes in. None of the holes are in the same location on the metal but all nine holes are the same size. I have written the following G Code program. I want to locate the starting position on each piece and then run the program below to cut the hole. I'm not sure about the G92 command. Can anyone take a look and advise me please?
Thanks,
(Cuts a square hole 1.5 x 1.5)
G20 (inches)
G55
G92X0Y0 (Set Local Coordinate)
M6 T1 (Change Tool: Diameter: 0.3150 in)
M3 (Start Spindle)
M7 (Flood Coolant On)
G0Z0.5000
G0X0.0Y0.605 (Origin 0)
G1Z-0.0500F2.0 (Depth 1)
G1X0.605Y0.605F6.0 (leg 1)
G1X0.605Y-0.605F6.0 (leg 2)
G1X-0.605Y-0.605F6.0 (leg 3)
G1X-0.605Y0.605F6.0 (leg 4)
G1X0.0Y.605F6.0 (leg 5)
G1Z-0.1000F2.0 (Depth 2)
G1X0.605Y0.605F6.0 (leg 1)
G1X0.605Y-0.605F6.0 (leg 2)
G1X-0.605Y-0.605F6.0 (leg 3)
G1X-0.605Y0.605F6.0 (leg 4)
G1X0Y.605F6.0 (leg 5)
G1Z-0.1500F2.0 (Depth 3)
G1X0.605Y0.605F6.0 (leg 1)
G1X0.605Y-0.605F6.0 (leg 2)
G1X-0.605Y-0.605F6.0 (leg 3)
G1X-0.605Y0.605F6.0 (leg 4)
G1X0Y.605F6.0 (leg 5)
G1Z-0.2000F2.0 (Depth 4)
G1X0.605Y0.605F6.0 (leg 1)
G1X0.605Y-0.605F6.0 (leg 2)
G1X-0.605Y-0.605F6.0 (leg 3)
G1X-0.605Y0.605F6.0 (leg 4)
G1X0.0Y0.605F6.0 (leg 5)
G1Z-0.2500F2.0 (Depth 5)
G1X0.605Y0.605F6.0 (leg 1)
G1X0.605Y-0.605F6.0 (leg 2)
G1X-0.605Y-0.605F6.0 (leg 3)
G1X-0.605Y0.605F6.0 (leg 4)
G1X0.0Y0.605F6.0 (leg 5)
G0Z0.5000 (Retract)
M9 (Coolant Off)
M5 (Stop Spindle)
G0X0Y0 (Origin)
M30 (End of Program)