gcode syntax problem.
Posted: Thu Aug 24, 2023 1:57 am
I have a customer who is using mastercam , his post processor which is a generic fanuc post I believe outputs a G0 G90 G54 X0Y0 at a particular point .
now if the program is currently in G55 ( or any other WCS) the control sees the G0 G90 X0Y0 and moves to G55 X0Y0 then changes the coordinate system to G54 .
if we change the syntax to G54 G0 G90 X0Y0 it performs the operation going from G55 to G54 first then performs the correct X0Y0 move in G54 correctly .
Why does this happen ?
Does anyone have a good post procesor for UCCNC and mastercam ?
now if the program is currently in G55 ( or any other WCS) the control sees the G0 G90 X0Y0 and moves to G55 X0Y0 then changes the coordinate system to G54 .
if we change the syntax to G54 G0 G90 X0Y0 it performs the operation going from G55 to G54 first then performs the correct X0Y0 move in G54 correctly .
Why does this happen ?
Does anyone have a good post procesor for UCCNC and mastercam ?