Discussion:
Fanuc part counter
(too old to reply)
p***@gmail.com
2015-02-07 05:23:23 UTC
Permalink
In takiawa turn i fanuc control and i want to part count with m99 plz guide me

Thanks in advance

Prateek
wrecker
2015-02-09 07:04:26 UTC
Permalink
Post by p***@gmail.com
In takiawa turn i fanuc control and i want to part count with m99 plz guide me
There's an M-code for this. It varies between machine builders, so
you'll have to RTFM to find the correct code for Takisawa. Put it on a
line just before the M99 (or M30).

Another way, that will work on any machine that has Macro B, is to
increment the system variable directly:

%
(...)
#3901 = #3901 + 1
/ M30
M99
%

HTH.
m***@gmail.com
2015-03-11 13:37:06 UTC
Permalink
I believe that on the ot control either an m02 or m30 will rewind and start
again at the beginning like the m99 command (i always thought that m99 was a
return from a subprogram) but will also toggle the part counter. If i was
at work i would try it for you as the only lathe we have with an ot has been
machining the same part for 5 years i am a little rusty on the code.
Hello my friend, Could you please explain how is the way to do offset in ot system .
thanks
m***@gmail.com
2015-03-11 13:47:51 UTC
Permalink
I'm fairly certain this is what you're after...
0040.3 = 1 (disables M2/M30 counting)
0219 = 99 (M code for counting # of parts, 0=not used)
By using both parametres (=0 and =99) you can add a 'One Cycle' function to
the Block Skip (provided you aren't using it for anything else) and still
keep up with your parts count...
.
.
.
G0 X**.**** Z**.****
/ M99
M30
Keep in mind, if you have macro-B you can access/manipulate the counter
directly by the system variable #3901. Yet another way to deal with it. :-)
Hope this helps,
Hipp
dkhorne <at> innova <dot> net
Hello there,
I am a using a Fanuc O-TC, and I want to use 'part count'.
****8<****snip****8<****
hello my friend I am beginer in cnc parametric programming and want to know more. Can you kindly send me some examples for cnc lathe parametric programming .
Thank you very much
m.pourhassan
***@gmail.com

Loading...