Skip to content

Heidenhain CALL PGM: Subprogram call

Calls another Heidenhain program as a subprogram.

For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.

The brands and control names mentioned belong to their owners and are used only to identify the equipment. GetGCode is not affiliated with or endorsed by any manufacturer, ISO or ASME: this is our own content, not official documentation. Legal notice.

Family
Heidenhain
Machine
Milling, Mill-turn
Risk
Medium
Example
CALL PGM "SUB1"

How to write it on each control

Example
CALL PGM "SUB1"
Heidenhain—

Check the path, units and environment of the subprogram.

Machine: Milling, Mill-turn

Other codes in Heidenhain

See the full list of G and M codes

Frequently Asked Questions (FAQ)

What does Heidenhain CALL PGM mean in a CNC program?

Calls another Heidenhain program as a subprogram. In the catalogue it appears as "Subprogram call", within the Heidenhain family.

Can you give me an example of Heidenhain CALL PGM?

CALL PGM "SUB1" — Calls another Heidenhain program as a subprogram.

Which machines use Heidenhain CALL PGM?

Heidenhain CALL PGM is used in: Milling, Mill-turn.

What should you watch out for with Heidenhain CALL PGM?

Medium risk: it rarely breaks anything on its own, but a wrong value shows up on the part. Check the block before running the batch.

Related apps