HEIDENHAIN TNC 640 (34059x-01) ISO programming User Manual
Page 303

HEIDENHAIN TNC 640
303
9.4 Miscellaneous F
unctions f
o
r Cont
our
ing Beha
vior
Superimposing handwheel positioning during 
program run: M118
Standard behavior
In the program run modes, the TNC moves the tool as defined in the 
part program.
Behavior with M118
M118 permits manual corrections by handwheel during program run. 
Just program M118 and enter an axis-specific value (linear or rotary 
axis) in millimeters.
Input
If you enter M118 in a positioning block, the TNC continues the dialog 
for this block by asking you the axis-specific values. The coordinates 
are entered with the orange axis direction buttons or the ASCII 
keyboard.
Effect
Cancel handwheel positioning by programming M118 once again 
without coordinate input.
M118 becomes effective at the start of block.
Example NC blocks
You want to be able to use the handwheel during program run to move 
the tool in the working plane X/Y by ±1 mm and in the rotary axis B by 
±5° from the programmed value:
N250 G01 G41 X+0 Y+38.5 F125 M118 X1 Y1 B5 *
M118 is effective in a tilted coordinate system if you 
activate the tilted working plane function for the Manual 
Operation mode. If the tilted working plane function is not 
active for the Manual Operation mode, the original 
coordinate system is effective.
M118 also functions in the Positioning with MDI mode of 
operation!
If M118 is active, the MANUAL TRAVERSE function is not 
available after a program interruption!
