![HEIDENHAIN TNC 407 User Manual Download Page 215](http://html1.mh-extra.com/html/heidenhain/tnc-407/tnc-407_user-manual_2118718215.webp)
TNC 426/TNC 425/TNC 415 B/TNC 407
7 - 2 6
7
Programming with Q Parameters
N170 X+Q1 Y+Q2 M03 * .......................................... Pre-position in X/Y (pocket center), spindle ON
N180 Z+2 * ................................................................ Pre-position over workpiece
N190 G01 Z–Q5 FQ7 * .............................................. Move at feed rate Q7 (= 100) to working depth –Q5
(= –15mm)
N200 G41 G91 X+Q13 G90 Y+Q2 * .......................... First contour point on the side
N210 G26 RQ16 * ...................................................... Soft (tangential) approach
...................................................................................
with radius Q16 (= 5 mm)
N220 G91 Y+Q14 *
N230 G25 RQ6 *
N240 X–Q3 *
N250 G25 RQ6 *
N260 Y–Q4 * .............................................................. Mill sides of rectangular pocket (incremental)
N270 G25 RQ6 *
N280 X+Q3 *
N290 G25 RQ6 *
N300 Y+Q14 *
N310 G27 RQ16 * ...................................................... Soft (tangential) departure
N320 G00 G40 G90 X+Q1 Y+Q2 * ............................ Depart contour (absolute to pocket center), cancel radius
compensation
N330 Z+100 M02 * .................................................... Retract in the infeed axis
N99999 %S77I G71 *