0 Members and 1 Guest are viewing this topic.
Still not sure what your trying to do as your using the same Z move to do two things? Wont one of the heads run into something while they are both going up and down at the same time?but as far as your numbers I would think your mixing imperial fixture offsets with metric gcode movements150" * 25.4 = 3810mm and 50" * 25.4 = 1270mm ( that's why your seeing the huge movements)you might want to make sure you setup units are in metric or use the equivalent value (just some more math).Code: [Select]%N1 G17 G21N3 T1 M6G90 G54G0 Z6.S4851 M3X200. Y0. M8N6 G81 Z-10.866 F1000. R2.5N7 G80M9G55X200. Y0.G1 Z-10.866 F1000.G0 Z6.G54X200 Y0 m30%
%N1 G17 G21N3 T1 M6G90 G54G0 Z6.S4851 M3X200. Y0. M8N6 G81 Z-10.866 F1000. R2.5N7 G80M9G55X200. Y0.G1 Z-10.866 F1000.G0 Z6.G54X200 Y0 m30%
Set your G55 to X100 Y50 and save fixtureMove to the Point of Origin X0Y0 on your material. then Zero the xy axis(that will set the g54 to 0,0) the example just drills 1 hole then offsets the head and drills another hole in the same spot to prove the offsetting works correctly.N3 T1 M6G54G00 X200. Y0. S4851 M3N5 Z6.N6 G81 X200. Y0. Z-10.866 F1000. R2.5N7 G80 (Switch to G55 to offset to the 2nd head)G55N9 G81 X200. Y0. Z-10.866 F1000. R2.5N7 G80 G54 ( go back to the original fixture offset)G0 X0 Y0 (Go back to the original Point of origin)M5 M9M30%NOW do not get confused by what you see in the toolpath as it does NOT exactly show what the machine is going to do. Just follow the machine tool as it does the job IT will be correct.