Design of structure templates, Transfer parameters for structure templates, 41 din plus t e mplat e s – HEIDENHAIN CNC Pilot 4290 V7.1 User Manual

Page 355

Advertising
background image

HEIDENHAIN CNC PILOT 4290

355

4.41 DIN PLUS T

e

mplat

e

s

Design of structure templates

When you call a structure template, the NC blocks of the template are
loaded into the NC program. The blocks of the template have been
designed in such a way that you can influence the NC program by
adding or omitting entries. This is done by using transfer parameters.
In addition, the CNC PILOT adds the block numbers.

To influence a structure template:

„

Placeholder: Placeholders in the template have the following
syntax: #__la (or any other parameter designation). The placeholder
will then be replaced with the transfer data “la” (or any other
parameter designation). The transfer data can be any simple text, an
M or T function or a G function call (including the parameters). The
transfer data type is defined in the declaration of the transfer
parameter.

„

Omit line: If you want the CNC PILOT to omit NC blocks, the
relevant NC blocks must be preceded by [[#__la]] (or any other
parameter designation) in the template. The corresponding transfer
parameter la (or any other parameter designation) is declared using
the “yes/no decision” transfer type. The NC block concerned is only
transferred to the program if the condition is true, i.e. yes was
entered.

Transfer parameters for structure templates

The CNC PILOT supports up to 19 transfer parameters:

„

[//] – Beginning of the parameter declaration

„

[pn; s=dialog text (up to 16 characters); xx ]

„

[//] – End of the parameter declaration

Example: Transfer parameters

Vorlagex.BEV

[//]

[/la; s=spindle 0 ;e=S0/]

[/lb; s=G function ;e=G/]

[/lc; s=M function ;e=M/]

[/ld; s=T function ;e=T/]

[/le; s=SP name /]

[//]

. . .

pn:

Parameter designations (la, lb, ...)

xx:

Type of data transfer:

„

No type defined: The entered text is used

„

e=S0: yes/no decision, default: no

„

e=S1: yes/no decision, default: yes

„

e=G: G function

„

After you enter the G number, the CNC PILOT opens the
dialog box for this G function. The G function call is
transferred including its parameters.

„

When you press Continue, the list of G functions is
presented for selection.

„

e=M: M function

„

Enter the M number. The M function call is transferred.

„

When you press Continue, the list of M functions is
presented for selection.

„

e=T: The CNC PILOT opens the turret list for selecting a
tool. The tool call selected in the turret list is transferred.

Advertising