Interactive Klartext course · Lesson 1 / 15
Program skeleton and BLK FORM
Start a Klartext program with a valid program skeleton, then describe the workpiece blank that TNC Sim will display and machine in 3D.
What you will learn
- Open and close a program with matching BEGIN PGM and END PGM blocks.
- Use BLK FORM 0.1 for the minimum corner and BLK FORM 0.2 for the maximum corner.
- Check that every maximum coordinate is greater than its matching minimum coordinate.
How it works
The program name and unit belong in both structural blocks. MM selects millimetres. The two BLK FORM blocks define opposite corners of a rectangular workpiece in X, Y and Z.
BLK FORM describes stock geometry; it does not move the tool. Once both corners are valid, TNC Sim can create the blank for the interactive 3D view.
Klartext example
Try the essential blocks
This compact example introduces the lesson topic. Use the guided practice for the complete checked exercise.
BEGIN PGM PLATE MM
BLK FORM 0.1 Z X+0 Y+0 Z-20
BLK FORM 0.2 X+100 Y+80 Z+0
END PGM PLATE MM
Ready to practice?