Back to GSM Code List

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.

Family
Heidenhain
Machine
Milling, Mill-turn
Risk
Medium
Example
CALL PGM "SUB1"
E.g.:
CALL PGM "SUB1"

Machine: Milling, Mill-turnRisk: Medium

Heidenhain

  • Check the path, units and environment of the subprogram.

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 tools