Open-source tools for Heidenhain post processors

Polymech publishes manufacturing software in the open. This Klartext simulator is one of those tools: run the program a post processor writes, watch the tool, and step through each block while the post is still on the bench.

Open the Klartext simulator Heidenhain simulator source on GitHub

drill_7_20.h
  1. 0BEGIN PGM drill_7_20 MM
  2. 10TOOL CALL 10 Z S1247
  3. 18CYCL DEF 200 DRILLING
  4. 19L FMAX M99
  5. 24M30

For post processor development

A post is finished when the Klartext it emits is the motion you meant. Load that file here. Positioning with L, arcs with CC and CP, and the cycles shop programs actually call are drawn as the tool moves. A flat end mill removes stock on feed moves. Rapids do not cut. Tool diameter comes from the ; #n D= note in the program.

Cycles

Cycle 200 drilling, cycle 203 universal drilling, and cycle 207 rigid tapping are expanded at M99. Contour lead-in and lead-out arcs stay in the plane the CC block names. M140 MB MAX retracts along the tool axis to the ZMAX published for that tool.

A check, not the control

Datum tables, tilted working planes, and radius compensation are not applied. Use the view to see the posted path, then prove the job on the machine.

Posted programs from the shop

Five Klartext files from real manufacturing jobs are already loaded. Use them as fixtures when a post changes, or open one to see how a cycle was written.

Programs stay in this browser

Drop a .h file on the simulator and it is saved in the browser’s private file storage for this site. Nothing from that drop is uploaded to Polymech. The next visit on the same browser still has the file. Another browser, or a private window that blocks that storage, starts again from the five programs above.

Source

The simulator and the sample programs are in the Heidenhain simulator repository on GitHub. That repository is part of Polymech’s open-source work on post processors and manufacturing tools for the sheet presses, injectors, and extruders we build.