Label number, Label call, I – 6 pr ogr amming positip 880 – HEIDENHAIN PT 880 User Manual
Page 60

60
I Operating Instructions
I – 6 Pr
ogr
amming POSITIP 880
Label Number
Label numbers 1 to 99 identify the beginning of a subprogram.
Label 0
Label 0 is used only to identify the end of a subprogram. An end label
is optional. If not used, the subprogram will end either at the block
from which the subprogram was called or after the last block in the
program.
Label Call
In the program, subprograms and program sections are called with the
command LBLCALL, such as LABEL CALL (REPEAT), LABEL CALL
(ROTATE), LABEL CALL (MIRROR).
The command LBL CALL 0 is not allowed.
After a LBL CALL block is inserted into the program, POSITIP 880
executes the called subprogram.
LABEL CALL REPEAT
This form is used to call a subprogram 1 or more times. It allows the
subprogram to be offset a specified amount on each iteration. See Fig.
I.47.
LABEL CALL ROTATE
This form allows blocks within a subprogram to be rotated a specified
amount on each iteration.
LABEL CALL (MIRROR)
This form allows blocks within a subprogram to be inverted over an
axis to represent a mirror image of that subprogram.
The beginning of a subprogram (or a program section repeat) is now
marked with the label. Enter the program blocks for the subprogram
after the LBL block.
Label 0 is used only to identify the end of a subprogram.
Fig. I.47 LABEL CALL REPEAT form