HEIDENHAIN TNC 407 (280 580) User Manual User Manual
Page 102

5-3
TNC 425/TNC 415 B/TNC 407
5
Programming Tool Movements
General Information on Programming Tool Movements
Subprograms and program section repeats
If a machining sequence repeats itself in a program, you can save time
and reduce the chance of programming error by entering the sequence
once and defining it as a subprogram or program section repeat.
Programming variants:
• To repeat a machining routine immediately after it is executed (program
section repeat)
• To insert a machining routine at certain locations in a program (subpro-
gram)
• To call and execute a separate program for program run or test run
within the main program (main program as subprogram).
Cycles
Common machining routines are delivered with the control as standard
cycles. The TNC features fixed cycles for:
• Peck drilling
• Tapping
• Slot milling
• Pocket and island milling
Coordinate transformation cycles can be used to change the coordinates
of a machining sequence in a defined way, i.e.:
• Datum shift
• Mirroring
• Rotation
• Enlarging and reducing
Parametric Programming
Instead of numerical values you enter markers in the program, so-called
parameters, which are defined through mathematical functions or logical
comparisons. You can use parametric programming for:
• Conditional and unconditional jumps
• Measurements with the 3D touch probe during program run
• Output of values and measurements
• Transferring values to and from memory
The following mathematical functions are available:
• Assign
• Addition/Subtraction
• Multiplication/Division
• Angle measurement/Trigonometry
etc.