HEIDENHAIN PT 855 for Milling User Manual
Page 68

I - 4 Programming POSITIP
66
Operating Instructions
POSITIP 855
Example: Enter a subprogram call:
CALL LBL
Subprograms and program section repeats
Go to the second soft key row.
/
L a b e l n u m b e r ?
1
ENT
ENT
Accept the default label number.
After the
CALL LBL
block in the
EXECUTE PROGRAM
operating
mode, POSITIP executes those blocks in the subprogram that are
located between the
LBL
block with the called number and the
next block containing
LBL 0
.
Note that the subprogram will be executed at least once even with-
out a
CALL LBL
block.
Call the label.
POSITIP offers the label number which was last set.
Enter a label number (here, 1). Confirm your entry.
The current block now contains the called label:
CALL LBL 1
.
For subprograms you can ignore the question
"Repeat REP ?"
.
Press the soft key to confirm that a subprogram is being called.
Program blocks
0
BEGIN PGM 30
MM
Start of program, program number, unit of measurement
1
Z+20.000
Clearance height
2
X+20.000
R0
X coordinate of recess point slot ➀
3
Y+10.000
R0
Y coordinate of recess point slot ➀
4
CALL LBL 1
Call subprogram 1: execute blocks 12 to 16
5
X+40.000
R0
X coordinate of recess point slot ➁
6
Y+50.000
R0
Y coordinate of recess point slot ➁
7
CALL LBL 1
Call subprogram 1: execute blocks 12 to 16
8
X+60.000
R0
X coordinate of recess point slot ➂
9
Y+40.000
R0
Y coordinate of recess point slot ➂
10
CALL LBL 1
Call subprogram 1: execute blocks 12 to 16
11
Z+20.000
Clearance height
12
LBL 1
Start of subprogram 1
13
Z–10.000
Recess to slot depth
14
IY+20.000
R0
Mill slot
15
Z+2.000
Retract
16
LBL 0
End of subprogram 1
17
END PGM 30
MM
Program end, program number and measuring unit