1 din pr ogr amming – HEIDENHAIN CNC Pilot 4290 User Manual

Page 76

Advertising
background image

4 DIN PLUS

64

Examples

Permissible combination:

N10 G1 X100 Z2 M8

Impermissible combination:

N10 G1 X100 Z2 G2 X100 Z2 R30 (same address letters used more
than once)

or

N10 M3 M4 – opposing functionality

NC address parameters
Address parameters consist of 1 or 2 letter(s) followed by a

A value

A mathematical expression

A ”?” (simplified geometry programming VGP)

An ”i” to designate incremental address parameters (examples:

Xi..., Ci..., XKi..., YKi..., etc.)

A # variable (calculated during NC program interpretation)

A V variable (calculated during run time)

Examples:

X20

(absolute dimension)

Zi–35.675

(incremental dimension)

X?

(Simple geometry programming)

X#12

(Programming of variables)

X{V12+1}

(Programming of variables)

X(37+2)*SIN(30)

(Mathematical term)

Program branches and repeats

You can use program jumps, repeats and subprograms to structure

a program. Example: Machining the beginning/end of a bar etc.

Skip level: Influences the execution of individual NC blocks

Slide code: you can assign the NC blocks to the indicated slides
provided that your lathe is equipped with more than one slide.

Input and output
With ”input” the machine operator can influence the flow of the NC
program. Using ”output” functions, you can communicate with the
machinist. Example: The machinist is required to check measuring
points and update compensation values.

Comments
These are enclosed in parentheses ”[...].” They are located at the end
of an NC block or in a separate NC block.

4.1 DIN Pr

ogr

amming

Advertising