Results 1 to 10 of 10
Thread: fanuc ot-c parts counter
12-02-2008, 01:48 PM #1
fanuc ot-c parts counter
im running a bar puller to make 20 parts with G65 P9055 C20. works fine the machine runs my program 20 times. but i dont see were the parts counter is so i dont know how many cycels have run. is the counter one of the offsets or a parameters?
12-02-2008, 02:31 PM #2
On mine it uses an M95, each read advances the count by 1. M30 also adds to the count. That complicates things figuring the actual # of parts, especially if you end up needing to run some shorter bar lengths. Not sure of a parameter setting to disable M30 for the count. I imagine there is one that can be changed.
12-02-2008, 02:37 PM #3
Set up a simple counter using your 500 variables.
You can set it up to count bars or parts which ever works.
To count parts
In your sub program
This will index the value of #501 by 1
If your sub makes 2 parts then #501=#501+2
To see your 500s
Right soft button to find Macro
type 501 hit no.search soft key
At the start of your run set 501 to 0
You can have a couple different counters set up. One to count the run and one to count the day. Or what ever you might want.
12-02-2008, 02:42 PM #4
I don't know if it is the one (counter)you're looking for, but on my ot-c, the parts counter is on the second page of the main paramaters list, lower right corner. Strangely, on my machine, it counts every M0, optional stop, as one count.
I will have to investigate this G65/M95 you guys speak of. I have always written on the Haas I ran, the whole program as a sub, and just ran a code that started the program with M98P100 L20 (20 pcs)
I usually throw in an M1 at the end before it recycles to the top so I can stop and check a part if need be.
12-02-2008, 02:50 PM #5
12-02-2008, 03:50 PM #6
12-02-2008, 04:50 PM #7
Good idea using the variables. Gonna make use of that straight away, thank you.
12-02-2008, 08:40 PM #8
0040.3: count (0) or not count (1) total number of parts M2/ M30 executed.
219: When preset Mcode is executed total parts is counted. setting 1-255. 0 =no setting. 98 and 99 cannot be set. (?????)
0600: number of parts required, 0-9999
779: number of parts in total, 0-9999999
On my machine part count shows on the Position screen. Reset to 0 by pressing P then Cancel. Also displays actual cycle time: push green button to M30.
12-02-2008, 09:14 PM #9
My control uses different parameter #s but same functionality. Setting initial parameter with a 1 disables M2, M30 for counting. Then the following parameter is set with whatever # within the range that you wish to use. M78, M223, etc. Thanks for making me look at the manual, alphonso. :~)
12-04-2008, 09:40 PM #10
For OM-a and OM-b
check use of the machine parameter #3901( i think... its in the Fanuc yellow book in the macro A section)
this is the actual value in the part counter displayed on the POS screen
So inside you sub program you'd add
just before your M99 line
It also stays in the machine during power off