Interactive Klartext course · Lesson 8 / 15

Drilling with CYCL DEF 200

Define one drilling operation with cycle parameters, then reuse it at one or more XY positions.

What you will learn

  • Set safety clearance, depth, plunge feed and pecking depth.
  • Define the workpiece surface and second safety clearance.
  • Call the active cycle at a position with M99.

How it works

CYCL DEF 200 stores a drilling cycle. Its Q parameters describe the Z motion and feed behaviour, while a later positioning block supplies the hole coordinates.

M99 calls the active cycle at the programmed position. This separates reusable process data from the list of hole locations.

Klartext example

Try the essential blocks

This compact example introduces the lesson topic. Use the guided practice for the complete checked exercise.

CYCL DEF 200 ; Drilling
 Q200=+2   ; safety clearance
 Q201=-15  ; depth
 Q206=+150 ; plunge feed
 Q202=+5   ; pecking depth
 Q210=+0   ; dwell at top
 Q203=+0   ; surface coordinate
 Q204=+50  ; second safety clearance
 Q211=+0   ; dwell at bottom
L X+30 Y+30 FMAX M99

Ready to practice?

Write the blocks and check the 3D result

Open lesson 8 in TNC Sim