874
« on: November 23, 2016, 03:33:03 PM »
Just had a very good friend let me know something I hadn't spotted....
This part...
( POCKET SIDES )
N13330 T2 M6
N13340 G0 G90 G54 X3.3147 Y3.219 S4278 M3
N13350 G43 H2 Z.25
Line N13340 is a bit of a mess and could be the culprit it seems, at least to Mach3.
G0 is a rapid move, G90 is absolute distance mode, G54 selects fixture offset 1, then we move to a coordinate X & Y, set the spindle speed and turn on the spindle all in one block.
Do we know what offset we were in at the start - was it G54?
Is G54 referenced to machine home?
Was the machine homed at all?
Might be worth trying the code like this...
G90 G54 - set modes fiirst
G00 X3.3147 Y3.219 - carry out positioning moves
M3 S4278 - start spindle and set speed
Try that, it might be the post processor is not the right one, or needs a few tweaks, what program is it generated in?