Special functions | Defining a counter
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
HEIDENHAIN | TNC 620 | User's Manual for Setup, Testing and Running NC Programs | 01/2022
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
7
315