Shorter-path traverse of rotary axes: m126, 3 miscellaneous f unctions f or rotary ax es – HEIDENHAIN TNC 320 (340 55x-05) ISO programming User Manual
Page 321

HEIDENHAIN TNC 320
321
1
1
.3 Miscellaneous F
unctions f
or Rotary Ax
es
Shorter-path traverse of rotary axes: M126
Standard behavior
The standard behavior of the TNC while positioning rotary axes whose
display has been reduced to values less than 360° is dependent on
machine parameter shortestDistance (300401). This machine
parameter defines whether the TNC should consider the difference
between nominal and actual position, or whether it should always
(even without M126) choose the shortest path to the programmed
position. Examples:
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.
Actual position
Nominal position
Traverse
350°
10°
–340°
10°
340°
+330°
Actual position
Nominal position
Traverse
350°
10°
+20°
10°
340°
–30°