Skip to content

Heidenhain FN 0-FN 27: Formula and logic functions

Heidenhain Q parameter functions: arithmetic and trigonometry (FN 0-FN 8), conditional jumps (FN 9-FN 12), angle (FN 13) and special functions such as FN 14 ERROR, FN 16 F-PRINT, FN 17/FN 18 write and read system data, FN 20 WAIT FOR and FN 26/FN 27 open and write tables.

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, Turning, Mill-turn
Risk
Medium
Example
FN 0: Q10 = +5 / FN 1: Q11 = Q10 + Q2 / FN 17: SYSWRITE

How to write it on each control

Example
FN 0: Q10 = +5 / FN 1: Q11 = Q10 + Q2 / FN 17: SYSWRITE
Heidenhain—

They are the conversational equivalent of the Q-parameters variables; FN 17 writes to system parameters.

Machine: Milling, Turning, Mill-turn

Other codes in Heidenhain

See the full list of G and M codes

Frequently Asked Questions (FAQ)

What does Heidenhain FN 0-FN 27 mean in a CNC program?

Heidenhain Q parameter functions: arithmetic and trigonometry (FN 0-FN 8), conditional jumps (FN 9-FN 12), angle (FN 13) and special functions such as FN 14 ERROR, FN 16 F-PRINT, FN 17/FN 18 write and read system data, FN 20 WAIT FOR and FN 26/FN 27 open and write tables. In the catalogue it appears as "Formula and logic functions", within the Heidenhain family.

Can you give me an example of Heidenhain FN 0-FN 27?

FN 0: Q10 = +5 / FN 1: Q11 = Q10 + Q2 / FN 17: SYSWRITE — Heidenhain Q parameter functions: arithmetic and trigonometry (FN 0-FN 8), conditional jumps (FN 9-FN 12), angle (FN 13) and special functions such as FN 14 ERROR, FN 16 F-PRINT, FN 17/FN 18 write and read system data, FN 20 WAIT FOR and FN 26/FN 27 open and write tables.

Which machines use Heidenhain FN 0-FN 27?

Heidenhain FN 0-FN 27 is used in: Milling, Turning, Mill-turn.

What should you watch out for with Heidenhain FN 0-FN 27?

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