hi all
we got a bran new DMG Mori NLX2500 with y axis also
so when i do a regualr milling contour with regular endmill on any odd shape it works perfect so our cam system post is spitting out the blow
and when i do with the same path 90deg chamfer tool
the chamfer tool always few degrees off from the outline of the contour..
here is my Gcode for both, i coudnt see anything that would through the chamfer offcenter
and do I need to use G17 at all? as i fail to understand why this machine would need g17 and g18 and g19 since everything is controlled by cycle?
but you guys might spot something..

hole 25mm on center gcode.
M5
M46
G54
N1( OPERATION 1, MILL CONTOUR )
( TOOL POSITION 1, 12. DIA. FINISH ENDMILL )
G0T0150000
G17M45
G0G28H0.
G0C0.
G97S7000M13
G0G98X62.Y0.Z50.C90.
C0.
G112
G1X0.C31.F5000.
Z5.
Z-10.F1000.
G2I0.J-31.
G1Z5.F5000.
G113
G0Z50.
M5
M1

N2( OPERATION 2, MILL CONTOUR )
( TOOL POSITION 2, 8. DIA. SPOT DRILL )
G0G54G40G80G97
M200
G28V0.
G53G0X0.Z0.
G0T0202
G17M45
G97S7000M13
G0G98X52.Y0.Z50.C-270.
C0.
G112
G1X0.C26.F5000.
Z5.
Z-2.F1000.
G2I0.J-26.
G1Z5.F5000.
G113
G0Z50.
M5
M46
G28V0.
G53G0X0.
G53G0Z0.
M1

________________________________________


hole 25mm offest from center 25mm
M5
M46
G54
N1( OPERATION 6, MILL CONTOUR )
( TOOL POSITION 2, 8. DIA. SPOT DRILL )
G0T0202
G17M45
G0G28H0.
G0C0.
G97S7000M13
G0G98X72.731Y0.Z50.C45.632
C0.
G112
G1X50.859C25.996F5000.
Z5.
Z-2.F1000.
G2I-.429J-25.996
G1Z5.F5000.
G113

N2( OPERATION 7, MILL CONTOUR )
( TOOL POSITION 2, 8. DIA. SPOT DRILL )
G0G98X71.94Y0.C-313.712
C0.
G112
G1X49.713C26.F5000.
Z-2.F1000.
G2I.144J-26.
G1Z5.F5000.
G113
G0Z50.
M5
M46
G28V0.
G53G0X0.
G53G0Z0.
M1

so can anyone see if there is some gcode mssing? or maybe its machine resetting the c axis after every tool?
anyone can spot any problems with gcode?
regards.