29 subpr ogr a ms – HEIDENHAIN MANUALplus 4110 User Manual
Page 407

HEIDENHAIN MANUALplus 4110
407
6.29 Subpr
ogr
a
ms
You can add up to 20 "transfer values" to a subprogram. These are:
LA to LF, LH, I, J, K, O, P, R, S, U, W, X, Y, Z.
The transfer values are available as variables within the subprogram.
The identification code is: "#__..", followed by the parameter
designation in lowercase letters (for example: #__la).
You can use these transfer values when programming with
variables within the subprogram (see figure to the bottom right).
The transfer parameter LN is reserved for transferring integer values
from 0 to 9999.
The variables #256 – #285 are available in any subprogram for
internal calculations (local variables).
If a subprogram is to be executed repeatedly, enter the number of
times the subprogram is to be repeated in the parameter "number
repeats Q."
Dialog texts
You can define the parameter descriptions that precede/follow the
input fields in an external subprogram.
MANUALplus automatically sets the unit of measure for parameter
values to the metric system or inches.
A maximum of 19 descriptions can be entered. The parameter
descriptions can be positioned within the subprogram as desired.
Parameter descriptions:
[//]—beginning
[pn=n; s=parameter text (up to 16 characters) ]
[//]—end
Example:
. . .
[//]
[la=1; s=bar diameter]
[lb=1; s=starting point in Z]
[lc=1; s=chamfer/rounding (-/+)]
. . .
[//]
. . .
pn:
Parameter designations (la, lb, ...)
n:
Conversion number for units of measurement
0: Non-dimensional
1: "mm" or "inches"
2: "mm/rev" or "inch/rev"
3: "mm/min" or "inch/min"
4: "m/min" or "feet/min"
5: Rev/min
6: Degrees (°)
7: "µm" or "µinch"