I have a problem on a 5 axis DMU160P with TNC530 control. In the code below, the table is already at position, but line 14453 causes the C axis to rotate 360 degrees, back to the same position, while simultaneously moving to depth in Z. This caused the tool to gouge the part.
Is there a way to stop the table making this unnecessary rotation. I know code M126 will rotate by the shortest route. Willl the M126 code reset the axis and stop this unwanted rotation from taking place?
14437 ;
14438 M129
14439 ;
14440 ; SAFEPOINT Y
14441 M140 MBMAX
14442 L Y0. R0 FMAX M91
14443 M55
14444 TOOL CALL 3 Z S4974
14445 TOOL DEF 7
14446 ; KINEMATICS AUTO SET CYCLE DEF 19
14447 CYCL DEF 19.0 WORKING PLANE
14448 CYCL DEF 19.1 A+90. B0 C+33.368
14449 L B+Q121 C+Q122 R0 FMAX
14450 CYCL DEF 32.0 TOLERANCE
14451 CYCL DEF 32.1 T0.010
14452 L X-5.437 Y+18.514 R0 FMAX M3
14453 L Z+435.916 C-146.632 FMAX M8
14454 L Z+432.916 F895
14455 L X-5.973 Y+15.562 RL
14456 L Y+15.522
14457 CR X+1.987 Y+7.522 R+8. DR+
14458 L X+2.046
14459 CR X+10.374 Y+10.972 R+11.778 DR+
14460 L X+24.934 Y+25.531