I would like to create a counter on a turning production run that is independent from the easily manipulated window display. Is there a line of code that I can simply insert before the M30 in the running cnc program that will input a count into a parameter? In the control I did find the following parameters: 6710 Count Up M-Code, 6711 Parts Count, 6712 Parts Total. All have a current value of zero. Control is Fanuc 21-T. Is there anyone out there who can give me the specific line of code to insert before the M30?