520 Programming: Execution of CAM Programs, Multi-axis Machining
12.6 Miscellaneous Functions for Rotary Axes
Shorter-path traverse of rotary axes: M126
Standard behavior
The behavior of the TNC while positioning rotary axes whose display
has been reduced to values less than 360° is dependent on bit 2 of
MP7682. This machine parameter defines whether the TNC should
always (even without M126) choose the shortest path when
traversing the difference between nominal and actual position, or only
if M126 is programmed. Examples for if the TNC should traverse the
rotary axis always along the number line:
Behavior with M126
With M126, the TNC will move the axis on the shorter path of traverse
for rotary axes whose display is reduced to values less than 360°.
Examples:
Effect
M126 becomes effective at the start of block.
To cancel M126, enter M127. At the end of program, M126 is
automatically canceled.
The behavior of the TNC when positioning the rotary axes
depends on the machine tool. The machine manual
provides further information.
Actual position Nominal position Traverse
350° 10° –340°
10° 340° +330°
Actual position Nominal position Traverse
350° 10° +20°
10° 340° -30°