beautypg.com

Subprograms, expert programs, Nc program conversion, 1 pr ogr amming in din/iso mode – HEIDENHAIN SW 54843x-03 DIN Programming User Manual

Page 196

background image

196

DIN Programming

4.1 Pr

ogr

amming in DIN/ISO mode

Subprograms, expert programs

Subprograms are used to program the contour or the machining
process.

In the subprogram, transfer parameters are available as variables. You
can fix the designation of the transfer parameters and illustrate them
in help graphics (See "Subprograms" on page 427.).

In every subprogram, the local variables #l1 to #l30 are available for
internal calculations.

Subprograms can be nested up to six times. Nesting means that a
subprogram calls a further subprogram, etc.

If a subprogram is to be run repeatedly, enter the number of times the
subprogram is to be repeated in the Q parameter.

The Steuerung distinguishes between local and external
subprograms.

Local subprograms are in the file of the NC main program. Local
subprograms can only be called in from their corresponding main
programs.

External subprograms are stored in separate NC files and can be
called in from any NC main program or other NC subprograms.

Expert programs
An expert program is a subprogram that executes complex processes
and is adapted to the machine configurations. Expert programs are
usually provided by the machine tool builder.

NC program conversion

For programming and user communication, keep in mind that the
Steuerung interprets the NC program up to the fixed word
MACHINING in the program selection. The MACHINING section is not
interpreted until you select Cycle on.

This manual is related to the following products: