![HEIDENHAIN TNC 407 Скачать руководство пользователя страница 221](http://html1.mh-extra.com/html/heidenhain/tnc-407/tnc-407_user-manual_2118718221.webp)
TNC 426/TNC 425/TNC 415 B/TNC 407
7 - 3 2
7
Programming with Q Parameters
N200 G98 L10 *
N210 D01 Q15 P01 +Q5 P02 +Q4 *
N220 D00 Q21 P01 +Q1 * ......................................... Determine starting and calculation values
N230 D01 Q24 P01 +Q4 P02 +Q108 *
N240 D00 Q26 P01 +Q6 *
N250 G54 X+Q9 Y+Q10 Z–Q4 * ................................ Shift datum to center of sphere
N260 G73 G90 H+Q6 * .............................................. Rotation for program start (starting plane angle)
N270 I+0 J+0 *
N280 G11 R+Q24 H+Q6 FQ11 * ............................... Pre-positioning before machining
N290 G98 L1 *
N300 I+Q108 K+0 * ................................................... Set pole (X/Z plane)
N310 G01 Y+0 Z+0 FQ11 * ........................................ Pre-positioning at each arc beginning
N320 G98 L2 *
N330 G11 R+Q4 H+Q21 FQ11 *
N340 D02 Q21 P01 +Q21 P02 +Q3 * ........................ Mill the sphere upward until the highest point is reached
N350 D11 P01 +Q21 P02 +Q2 P03 2 *
N360 G11 R+Q4 H+Q2 * ........................................... Mill the highest point on the sphere
N370 G00 Z+Q15 * .................................................... Retract in Z
N380 X+Q24 * ............................................................ Retract in X
N390 D01 Q26 P01 +Q26 P02 +Q8 * ........................ Prepare the next rotation increment
N400 D00 Q21 P01 +Q1 * ......................................... Reset solid angle for machining to the starting value
N410 G73 G90 H+Q26 * ............................................ Activate rotation for next operation
N420 D12 P01 +Q26 P02 +Q7 P03 1 *
N430 D09 P01 +Q26 P02 +Q7 P03 1 * ..................... Rotate the coordinate system around the Z axis until the end
plane angle is reached
N440 G73 G90 H+0 * ................................................. Reset rotation
N450 G54 X+0 Y+0 Z+0 * .......................................... Reset data shift
N460 G98 L0 * ........................................................... End of subprogram
N99999 %S712I G71 *