12
Example
N50 FUNCTION COUNT RESET*
N60 FUNCTION COUNT TARGET10*
N70 G98 L11*
N80 G ...
N510 FUNCTION COUNT INC*
N520 FUNCTION COUNT REPEAT LBL 11*
N530 M30*
N540 %COUNT G71*
532
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 640 | ISO Programming User's Manual | 10/2017