HEIDENHAIN iTNC 530 (340 49x-03) ISO programming User Manual
Page 484

484
9 Programming: Special Functions
9.9 Specifying the P
o
sitioning Be
ha
vior of the
PLANE F
u
nction
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):
8
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).
8
Define the positioning block with the angular values calculated by
the TNC.
NC example blocks: Position a machine with a rotary table C and an
tilting table A to a space angle of B+45°.
Pre-position the tool to a position where there is no danger
of collision with the workpiece (clamping devices) during
positioning.
...
N120 G00 G40 Z+250 *
Position at clearance height
N130 PLANE SPATIAL SPA+0 SPB+45 SPC+0 STAY *
Define and activate the PLANE function
N140 G01 F2000 A+Q120 C+Q122 *
Position the rotary axis with the values calculated by
the TNC
...
Define machining in the tilted working plane