I need help writing code that will activate parts counter.
For hardinge Elite 51 with GE funac 18i-TB controller.
also I have tried
M97 p(program#0000)Q(1);
m30;
does not work
thanks toxictoad
I believe the Parts Counter is activated by a parameter. We have 18T and 21i controls. Parameter 6700.1 (PCM) set to 0 will count parts when reading M02 or M30 and the number set in Parameter 6710. When set to 1 it counts using only the M code specified in Parameter 6710. This is directly from the Parameter manuals.
This is all I can find, but there has to be more to it. Our Daewoos with the 21i controls work fine. Yet the Hardinges using 18T controls alarm out when reading the M-code specified in Parameter 6710. The odd thing is that the counter will increment by one. Maybe the MB has to set something to allow the use of 6710???
I never bothered to find out why. If I need parts counted on a job, I use G10 to do the counting.
G10P32U1W1
M30
%
This increments both the X and Z wear offsets for tool 32 by one. We use U for daily (or shift) counter while the W is used for total number parts run. This does require the operators to reset them to zero. Doesn't always happen.
I'll look into it further and report back if I find out how to make the M-code run without alarming. Would appreciate it if you also posted what the solution is if you find one.