HEIDENHAIN TNC 640 (34059x-05) ISO programming User Manual
Page 431

The PLANE Function: Tilting the working plane (Software Option 8) 12.2
12
TNC 640 | User's ManualDIN/ISO Programming | 1/2015
431
Positioning the rotary axes in a separate block
Proceed as follows if you want to position the rotary axes in a
separate positioning block (option
STAY selected):
Danger of collision!
Pre-position the tool to a position where there is no
danger of collision with the workpiece (clamping
devices) during positioning.
Do not program mirroring of the rotary axis between
the PLANE function and the positioning, otherwise
the control positions to the mirrored values but the
PLANE function calculates without mirroring.
Select any
PLANE function, and define automatic positioning
with the
STAY option. During program execution the TNC
calculates the position values of the rotary axes present on the
machine, and stores them in the system parameters Q120 (A
axis), Q121 (B axis) and Q122 (C axis)
Define the positioning block with the angular values calculated
by the TNC
NC example blocks: Position a machine with a rotary table C and a tilting table A to a space angle of B+45°
...
N10 G00 Z+250 G40
Position at clearance height
N20 PLANE SPATIAL SPA+0 SPB+45 SPC+0 STAY
Define and activate the PLANE function
N30 G01 A+Q120 C+Q122 F2000
Position the rotary axis with the values calculated by the
TNC
...
Define machining in the tilted working plane