Interactive Klartext course · Lesson 15 / 15
Parametric contours with Q parameters
Collect important dimensions in Q parameters, then use the same programmed profile for more than one machining pass.
What you will learn
- Assign named numeric dimensions to Q parameters at the start of the program.
- Use the parameters in contour coordinates and process values.
- Reuse the profile with different tools, depths or offsets.
How it works
A parametric contour separates design values from the blocks that use them. Changing one parameter can update every dependent coordinate or depth consistently.
The final TNC Sim lesson combines earlier topics: tool calls, safe positioning, contour functions, compensation, labels and a second chamfering pass.
Klartext example
Try the essential blocks
This compact example introduces the lesson topic. Use the guided practice for the complete checked exercise.
Q1 = +0
LBL 1
L X+10 Y-10 Z+50 FMAX R0
L Z+Q1 FMAX
L X+5 F500 RL
L Y+95
RND R15
L X+95
L Y+5
CHF 15
L X-5
L Z+50 FMAX R0
LBL 0
Ready to practice?