Page 2 of 4

Re: Atc mfunc.6 could use some help

Posted: Sun Feb 21, 2021 4:19 pm
by WINSTON
New video of what exactly its doing . Maybe the gcode needs a callout for a tool changer for it to use the macro ?

Re: Atc mfunc.6 could use some help

Posted: Sun Feb 21, 2021 4:20 pm
by WINSTON
Ok thanks

Re: Atc mfunc.6 could use some help

Posted: Sun Feb 21, 2021 4:48 pm
by WINSTON
Ok found out that if m6t5 was on the same line it would go right through the macro but if I did m6 on one line and t5 on the next it would go to the macro .
Could be hardly anything is working in the macro and I could not see it.
Thanks for the help cncsnw.

Re: Atc mfunc.6 could use some help

Posted: Sun Feb 21, 2021 6:43 pm
by cncsnw
You are missing an M99 at the end of your embedded O9902 subprogram in your M6 macro file.

As a result, all the rest of the M6 file is assumed to be part of the O9902 subprogram.

Re: Atc mfunc.6 could use some help

Posted: Sun Feb 21, 2021 10:56 pm
by WINSTON
Thanks fixed that now . I have movement now just debugging maybe rewriting parts of the macro .

Re: Atc mfunc.6 could use some help

Posted: Sun Feb 28, 2021 8:10 pm
by WINSTON
Cncsnw
I think I may have misunderstood you when you where talking about defining the inputs. Did you mean in the centroid main program where you have to compile or just put the definitions of the i puts in the gcode header ?
Thanks for your help

Re: Atc mfunc.6 could use some help

Posted: Sun Feb 28, 2021 8:19 pm
by WINSTON
I had some progress got it to go to the proper locations except for 1 and 16 it thinks those are the same . I have checked the magnets and they are in the proper locations .
2 I can't figure out why its not changing the tool number at the end of the macro if i press cycle start again at the end of the program it changes but that can't be done running a real gcode program vid below of what it is doing



Re: Atc mfunc.6 could use some help

Posted: Mon Mar 01, 2021 7:42 pm
by WINSTON
Even a blind squirrel finds nut nut ever so often :lol:
Made some progress looks like it working except 1 and 16 are the same location on the carousel :x and its writing cnc files of the macro tool location code in the cnc folder . Is it supposed to do that?
It might not work an hour from now who knows



Re: Atc mfunc.6 could use some help

Posted: Wed Mar 31, 2021 5:28 pm
by WINSTON
Ok first parts using the tool changer still finding bugs ever so often .I have got to change the red drawbar button it has no power going to it unless the spindle is off and brake is applied ,my mill has no brake just using that for extra safty . I also added a feature so I could use my old tool holders just have to make their tool numbers higher than 16.


Re: Atc mfunc.6 could use some help

Posted: Fri Apr 02, 2021 7:53 pm
by WINSTON
Here's biggest bug in this program that I have found . Say it goes into a tool change and I realize somethings wrong and I hit the estop button , It doesn't turn off the outputs which means it crashes into the spindle and the carousel keeps turning .
How can I get the estop to turn off the outputs
Thanks