Is there an easy way to re-zero in the middle of a program?

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
EricAZ
Posts: 3
Joined: Tue Feb 16, 2021 2:50 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 2540
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Chandler, AZ
Contact:

Is there an easy way to re-zero in the middle of a program?

Post by EricAZ »

Is there an easy way in CNC12 to reset the zero for the Z-axis when changing a tool? I tried cancelling the job, resetting zero for a new tool, and resuming but it did not behave as I expected. In this particular case I do not have enough holders to set everything up in the tool library ahead-of-time. I have looked through the manual and other posts but am not finding anything. Thanks
tblough
Posts: 3099
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Is there an easy way to re-zero in the middle of a program?

Post by tblough »

Easy solution is to post one file per tool.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Gary Campbell
Posts: 2187
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: Is there an easy way to re-zero in the middle of a program?

Post by Gary Campbell »

There are numerous examples of mid file tool setting for manual change spindles in the Centroid tool change example files. Also a number of users have posted their tool change macros for MTC spindles
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
Nigelo
Posts: 370
Joined: Tue Dec 11, 2018 4:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: F045DA80C8B8-0905181172
E415F6F70BC3-0318203049
98F07B91FC6B-0123236802
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Is there an easy way to re-zero in the middle of a program?

Post by Nigelo »

You could also review Swissi's excellent ProbeApp, now on version 3, available through this Forum
Hope this helps
Nigel

"You can lead a horse to water but you cannot force it to drink"
polaraligned
Posts: 231
Joined: Mon Feb 07, 2011 8:03 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1030090103
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Location: Montvale, NJ

Re: Is there an easy way to re-zero in the middle of a program?

Post by polaraligned »

I would use a Mfunc6 macro, which gets called instead of your normal M6 tool change. Put a M00 code in that macro which stops and allows you to jog your axis and set Z zero again. So every time M6 gets called, you end up calling M00 to pause and allow jogging, and then you can set your new Z-zero. You are going to want to add code to stop spindle, coolant and do any other chores that need doing at tool change time.
EricAZ
Posts: 3
Joined: Tue Feb 16, 2021 2:50 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 2540
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Chandler, AZ
Contact:

Re: Is there an easy way to re-zero in the middle of a program?

Post by EricAZ »

Thanks for the responses. I used the "separate posts" idea to get me through the job I was running and will dig into macros more. I'm just getting started with CNC12 and still have a lot to learn. I'll definitely check out Swissi's ProbeApp.

Gary mentioned the "Centroid tool change example files". I'm guessing that he was referring to the examples in the back of the book "Introduction to Centroid Acorn CNC12 Macros". If there is another source please let me know. They would be great info as I learn more about macros.
swissi
Posts: 573
Joined: Wed Aug 29, 2018 11:15 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DADEB24D5-0309180716
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Is there an easy way to re-zero in the middle of a program?

Post by swissi »

EricAZ wrote: Mon Sep 27, 2021 10:08 am Thanks for the responses. I used the "separate posts" idea to get me through the job I was running and will dig into macros more. I'm just getting started with CNC12 and still have a lot to learn. I'll definitely check out Swissi's ProbeApp.

Gary mentioned the "Centroid tool change example files". I'm guessing that he was referring to the examples in the back of the book "Introduction to Centroid Acorn CNC12 Macros". If there is another source please let me know. They would be great info as I learn more about macros.
As Nigelo mentioned above, the ProbeApp is perfect for what you want to do. Just add a M58 command into your tool change macro mfunc6.mac and the ProbeApp will come up at every tool change and will allow you to reset WCS and then let the job continue. If no WCS reset is necessary, you just exit the ProbeApp and the job will continue.

Check out this POST or the ProbeApp User Guide for more details on the ProbeApp.

-swissi
If you are using Fusion 360, check out my CNC12 specific Post Processor
If you are using a Touch Probe, Tool Touch Off Device or a Triple Corner Finder Plate, check out my ProbeApp

Contact me at swissi2000@gmail.com
Gary Campbell
Posts: 2187
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: Is there an easy way to re-zero in the middle of a program?

Post by Gary Campbell »

EricAZ wrote: Mon Sep 27, 2021 10:08 am Thanks for the responses. I used the "separate posts" idea to get me through the job I was running and will dig into macros more. I'm just getting started with CNC12 and still have a lot to learn. I'll definitely check out Swissi's ProbeApp.

Gary mentioned the "Centroid tool change example files". I'm guessing that he was referring to the examples in the back of the book "Introduction to Centroid Acorn CNC12 Macros". If there is another source please let me know. They would be great info as I learn more about macros.
viewtopic.php?f=63&t=1493
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
Post Reply