Selecting tilting axes: m138, Miscellaneous functions for rotary axes 12.3 – HEIDENHAIN TNC 320 (77185x-01) ISO programming User Manual
Page 373

Miscellaneous functions for rotary axes 12.3
12
TNC 320 | User's Manual for DIN/ISO Programming | 3/2014
373
Selecting tilting axes: M138
Standard behavior
The TNC performs M128 and TCPM, and tilts the working plane,
only in those axes for which the machine tool builder has set the
appropriate machine parameters.
Behavior with M138
The TNC performs the above functions only in those tilting axes
that you have defined using M138.
If you restrict the number of tilting axes with the
M138 function, your machine may provide only
limited tilting possibilities.
Effect
M138 becomes effective at the start of block.
You can reset M138 by reprogramming it without entering any
axes.
Example NC blocks
Perform the above-mentioned functions only in the tilting axis C:
N50 G00 Z+100 R0 M138 C *