10
Defining FUNCTION COUNT
The FUNCTION COUNT function provides the following possibilities:
Soft key
Function
Increase count by 1
Reset counter
Set the nominal count (target value) to the desired
value
Input value: 0–9999
Set the counter to the desired value
Input value: 0–9999
Increment the counter by the desired value
Input value: 0–9999
Repeat the NC program starting from this label if
more parts are to be machined.
Example
5 FUNCTION COUNT RESET
6 FUNCTION COUNT TARGET10
7 LBL 11
8 L ...
51 FUNCTION COUNT INC
52 FUNCTION COUNT REPEAT LBL 11
53 M30
54 END PGM
408
Special functions | Defining a counter
Reset the counter value
Enter the target number of parts to be machined
Enter the jump label
Machining
Increment the counter value
Repeat the machining operations if more parts are to be
machined
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022