Atc mfunc.6 could use some help (Resolved)
Moderator: cnckeith
-
- Posts: 51
- Joined: Tue Feb 26, 2019 6:06 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
Re: Atc mfunc.6 could use some help
New video of what exactly its doing . Maybe the gcode needs a callout for a tool changer for it to use the macro ?
-
- Posts: 51
- Joined: Tue Feb 26, 2019 6:06 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
Re: Atc mfunc.6 could use some help
Ok thanks
-
- Posts: 51
- Joined: Tue Feb 26, 2019 6:06 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
Re: Atc mfunc.6 could use some help
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.
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
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.
As a result, all the rest of the M6 file is assumed to be part of the O9902 subprogram.
-
- Posts: 51
- Joined: Tue Feb 26, 2019 6:06 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
Re: Atc mfunc.6 could use some help
Thanks fixed that now . I have movement now just debugging maybe rewriting parts of the macro .
-
- Posts: 51
- Joined: Tue Feb 26, 2019 6:06 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
Re: Atc mfunc.6 could use some help
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
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
-
- Posts: 51
- Joined: Tue Feb 26, 2019 6:06 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
Re: Atc mfunc.6 could use some help
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
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
- Attachments
-
- mfunc6.mac
- (19.26 KiB) Downloaded 92 times
-
- report_F045DA76BCBE-1108181316_2021-02-28_16-59-15.zip
- (878.61 KiB) Downloaded 84 times
-
- Posts: 51
- Joined: Tue Feb 26, 2019 6:06 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
Re: Atc mfunc.6 could use some help
Even a blind squirrel finds nut nut ever so often
Made some progress looks like it working except 1 and 16 are the same location on the carousel 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
Made some progress looks like it working except 1 and 16 are the same location on the carousel 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
- Attachments
-
- mfunc6.mac
- (21.33 KiB) Downloaded 85 times
-
- report_F045DA76BCBE-1108181316_2021-03-01_16-32-45.zip
- (898.11 KiB) Downloaded 95 times
-
- Posts: 51
- Joined: Tue Feb 26, 2019 6:06 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
Re: Atc mfunc.6 could use some help
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.
-
- Posts: 51
- Joined: Tue Feb 26, 2019 6:06 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
Re: Atc mfunc.6 could use some help
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
How can I get the estop to turn off the outputs
Thanks