beautypg.com

1 programming in din/iso mode, Geometry and machining commands – HEIDENHAIN SW 548328-05 DIN Programming User Manual

Page 184

background image

184

DIN programming

4.1 Pr

ogr

amming in DIN/ISO mode

4.1

Programming in DIN/ISO mode

Geometry and machining commands

The Control also supports structured programming in DIN/ISO mode.
The G commands are divided into:

Geometry commands

for describing the blank and finished part.

Machining commands

for the MACHINING section.

Example: "Structured DINplus program"

HEADER

#MATERIAL Steel

#MACHINE Automatic

lathe

#DRAWING

356_787.9

#CLAMP. PRESS.

20

#SLIDE

$1

#COMPANY

Turn & Co

#UNIT METRIC

TURRET 1

T1 ID"342-300.1"

T2 ID"111-80-080.1"

. . .

BLANK

N1 G20 X120 Z120 K2

FINISHED PART

N2 G0 X60 Z-115

N3 G1 Z-105

. . .

MACHINING

N22 G59 Z282

N25 G14 Q0

[Predrilling 30 mm outside centric face]

N26 T1

N27 G97 S1061 G95 F0.25 M4

. . .

END

Some G codes are used for blank/finished-part definition

and in the MACHINING section. When copying or shifting

NC blocks, keep in mind that "geometry" functions are

used exclusively for describing a contour, while

"machining" functions are used only in the MACHINING

section.