Special Functions | Defining a counter
11
458
HEIDENHAIN | TNC 320 | ISO Programming User's Manual | 10/2017
Example
N50 FUNCTION COUNT RESET*
Reset the counter value
N60 FUNCTION COUNT TARGET10*
Enter the target number of parts to be machined
N70 G98 L11*
Enter the jump label
N80 G ...
Machining
N510 FUNCTION COUNT INC*
Increment the counter value
N520 FUNCTION COUNT REPEAT LBL 11*
Repeat the machining operations if more parts are to be
machined.
N530 M30*
N540 %COUNT G71*