What's new
What's new

Parts counter with an M99?

Ajax269

Plastic
Joined
Sep 22, 2016
Hi everyone,

I’ve got a Bridgeport/Hardinge mill with a pallet changer, using fanuc controller. I’m using an M99 to loop the program for constant running. The problem is, the parts counter won’t work this way.

Is there a simple M code that I can add before the pallet change, to activate the parts counter? I just read about M54 on a different thread, and I’ll try it tomorrow, but these Bridgeports are weird... I’m not sure it will work.

Thanks guys.
 
I have no experience with that particular machine but on my Brother pallet machine an Mcode will increase the part counter so you could just type that in anywhere in your program before the M99. If your M54 or whatever doesn’t work can you write a very simple macro counter?

Rough example for 1000 pc run size:
;
;
#600=[#600+1]
IF[#600GT999]GOTO1
;
;
M99;
;
N1
M30


That would stop you before executing the M99 so you would be inside your sub program, but something like that....
 
Check if parameter 6710 ia available on your machine.
If so, store 50 (for example) in it and M50 would increment the part count by 1.
If the increment is desired only by M50 (i.e., not by M02 and M30), set 6700#0 = 1.
0,98 and 99 cannot be stored.
 








 
Back
Top