ATC macro help

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

bmilam
Posts: 152
Joined: Sun Sep 16, 2018 7:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: ATC macro help

Post by bmilam »

Marty, that is a great idea. You have no idea how many hours of searching this would have saved me. I'd find a sample macro and then never be able to find it again. It was frustrating to hear that this macro was so easy to edit but the information on what and how to edit was found a little here and a little there. I have been looking trying to figure this out for a couple of months.

I'll post mine this evening.
martyscncgarage
Posts: 9915
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: ATC macro help

Post by martyscncgarage »

bmilam wrote: Sat Jan 18, 2020 12:49 pm Marty, that is a great idea. You have no idea how many hours of searching this would have saved me. I'd find a sample macro and then never be able to find it again. It was frustrating to hear that this macro was so easy to edit but the information on what and how to edit was found a little here and a little there. I have been looking trying to figure this out for a couple of months.

I'll post mine this evening.
Up to the user to share, populate and describe the macro for it to be successful.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
hebs
Posts: 64
Joined: Wed Sep 18, 2019 4:46 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: A81087B53034-0710192235
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ATC macro help

Post by hebs »

martyscncgarage wrote: Sat Jan 18, 2020 9:39 am Guys, I created a Sticky topic for users to share their cool Macros. You are doing such cool things with them, putting effort into them, collaborating on them, they deserve a thread to share with others to help and inspire them.
So, if you care to share:
viewtopic.php?f=60&t=3938

Thanks for helping make Acorn and CNC12 a continued success!
Marty
This is a great idea Marty. I will upload my rack ATC macro when I get it perfected.
bmilam
Posts: 152
Joined: Sun Sep 16, 2018 7:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: ATC macro help

Post by bmilam »

I just about have the macro doing everything that I wanted it to do. I have one last thing that I am trying to fix. I had G28 in the code and I replaced those with G53 Z0. Now instead of moving the machine to the front left of my machine before every tool change, it moves it to the XY 0 for the part. Not a huge deal but adds time to changes and if I am using the full 4x8 it is going to travel all the way to the front and then all the way to the back to do a tool change. What would I change if I am just wanting it to lift the Z to 0 and then go to the tool bin?
cncsnw
Posts: 3875
Joined: Wed Mar 24, 2010 5:48 pm

Re: ATC macro help

Post by cncsnw »

"G53 Z0" should not cause X or Y to move at all. Are you sure the X/Y movement is not coming from a different command on a different line?

If "G53 Z0" alone causes X and Y to move to part zero (and you can test this in MDI) then there is a fresh bug in CNC12 that needs to be fixed. But I would be pretty surprised if that is the case.
bmilam
Posts: 152
Joined: Sun Sep 16, 2018 7:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: ATC macro help

Post by bmilam »

I'd that shouldn't cause it then I'm sure it is an error on my part not the software. I will go back thru the macro and see I'd there is anything else that I changed that could cause it. That is my last thing to correct to be finished. Been doing a little testing and it seems to be running good
Gary Campbell
Posts: 2210
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn 238
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Bergland, MI, USA
Contact:

Re: ATC macro help

Post by Gary Campbell »

Bobby...
That move is inserted by the Vectric postP.

Edit this line: "[N] G90 G0[XH][YH]" in the toolchange section to read this:

"[N] G90"

As always, save a backup copy of the post prior to making modifications
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
bmilam
Posts: 152
Joined: Sun Sep 16, 2018 7:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: ATC macro help

Post by bmilam »

Ah ok. Thank you I would never have found it there
bmilam
Posts: 152
Joined: Sun Sep 16, 2018 7:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: ATC macro help

Post by bmilam »

Gary, thanks for the info. I swapped those out in the PP and now it works even better. Got rid of the step that I wanted it to.
Post Reply