Auto-squaring possible with separate home switches on each axis?
Moderator: cnckeith
-
- Posts: 31
- Joined: Thu Feb 03, 2022 10:53 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 80F5B5F561AB-1001215267
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Auto-squaring possible with separate home switches on each axis?
Is it possible to use auto-homing and auto-squaring on a gantry machine with dual drive Y axes and separate home switch inputs for each axis?
I'm running with software pairing, with separate home switches on each of the X, Y, Z, and A (slave) axes, with the inputs defined as FirstAxisHomeOK, SecondAxisHomeOK, ThirdAxisHomeOK, and SlavedHomeInput. But it looks like the auto-homing and auto-squaring script is expecting me to have HomeAll defined, and starts backing off "to clear the switch" when it gets to the Y axis. I expected it to use SecondAxisHomeOK and SlavedHomeInput for the homing/squaring, but it looks like maybe this isn't supported?
Is there a way to make this work, or do I need to just give up, wire my home switches together, and use HomeAll and SlavedHomeInput?
I'm running with software pairing, with separate home switches on each of the X, Y, Z, and A (slave) axes, with the inputs defined as FirstAxisHomeOK, SecondAxisHomeOK, ThirdAxisHomeOK, and SlavedHomeInput. But it looks like the auto-homing and auto-squaring script is expecting me to have HomeAll defined, and starts backing off "to clear the switch" when it gets to the Y axis. I expected it to use SecondAxisHomeOK and SlavedHomeInput for the homing/squaring, but it looks like maybe this isn't supported?
Is there a way to make this work, or do I need to just give up, wire my home switches together, and use HomeAll and SlavedHomeInput?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 2994
- Joined: Fri May 24, 2019 8:34 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804734C6498-0401191832
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Clearwater, FL
Re: Auto-squaring possible with separate home switches on each axis?
I retrofit a 6x12 router with auto squaring and paring wired per the manual that states that one of the requirements is to wire the first 3 N/C proximity switches in series to the HomeAll input. I have not tried any other way as I was instructed to follow the manual word by word. It may be possible to write your own custom homing macro but why? Also, since the wizard is set up to also display which input you set for HomeAll on the axis paring page it’s doubtful you can do it another way.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 2353
- 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: Auto-squaring possible with separate home switches on each axis?
Yes it is, with the following caveat:clough42 wrote: ↑Sun Mar 06, 2022 1:19 am Is it possible to use auto-homing and auto-squaring on a gantry machine with dual drive Y axes and separate home switch inputs for each axis?
I'm running with software pairing, with separate home switches on each of the X, Y, Z, and A (slave) axes, with the inputs defined as FirstAxisHomeOK, SecondAxisHomeOK, ThirdAxisHomeOK, and SlavedHomeInput. But it looks like the auto-homing and auto-squaring script is expecting me to have HomeAll defined, and starts backing off "to clear the switch" when it gets to the Y axis. I expected it to use SecondAxisHomeOK and SlavedHomeInput for the homing/squaring, but it looks like maybe this isn't supported?
Is there a way to make this work, or do I need to just give up, wire my home switches together, and use HomeAll and SlavedHomeInput?
You will have to write your own macro for the autosquaring. Eric S. and a number of others have done this, some have shared their versions here on the forum. So if you are comfortable reading over the OEM supported autosquare macro and making a few input reassignments or don't mind spending the time to learn a bit of macro coding you should be able to pull it off. If not, go with the supported version until you have the required skills to make your own.
GCnC Control
CNC Control & Retrofits
CNC Depot Modular ATC kits
https://www.youtube.com/user/Islaww1/videos
CNC Control & Retrofits
CNC Depot Modular ATC kits
https://www.youtube.com/user/Islaww1/videos
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 31
- Joined: Thu Feb 03, 2022 10:53 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 80F5B5F561AB-1001215267
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Auto-squaring possible with separate home switches on each axis?
Thanks for the responses. This is what I suspected, but thought I'd ask.
I write software for a living, so I can certainly code a macro, but I also see the value in walking the well-worn path when there's no benefit to doing otherwise. When I was planning the build, I had enough inputs, so I went ahead and used them, but having a little more experience with Acorn and CNC12, it's clear I'm only making things harder.
I write software for a living, so I can certainly code a macro, but I also see the value in walking the well-worn path when there's no benefit to doing otherwise. When I was planning the build, I had enough inputs, so I went ahead and used them, but having a little more experience with Acorn and CNC12, it's clear I'm only making things harder.

(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 2353
- 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: Auto-squaring possible with separate home switches on each axis?
As Shawn states, in order to use the Centroid provided macros, and receive support, HomeAll must be used, and you will also be required to "hit" the slave sensor first.
Personally I am not a fan of either, so if I had a machine that requires gantry squaring I would take an hour and mod the OEM macro.
Good luck with your build
Personally I am not a fan of either, so if I had a machine that requires gantry squaring I would take an hour and mod the OEM macro.
Good luck with your build
GCnC Control
CNC Control & Retrofits
CNC Depot Modular ATC kits
https://www.youtube.com/user/Islaww1/videos
CNC Control & Retrofits
CNC Depot Modular ATC kits
https://www.youtube.com/user/Islaww1/videos
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 2994
- Joined: Fri May 24, 2019 8:34 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804734C6498-0401191832
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Clearwater, FL
Re: Auto-squaring possible with separate home switches on each axis?
Yes, clearly making things a little harder when there is no need to. The OEM setup works and works great, just the way Centroid programmed it. Saving inputs is a good thing as you will no doubt want to add more features down the road and may need an input or two.clough42 wrote: ↑Sun Mar 06, 2022 12:52 pm Thanks for the responses. This is what I suspected, but thought I'd ask.
I write software for a living, so I can certainly code a macro, but I also see the value in walking the well-worn path when there's no benefit to doing otherwise. When I was planning the build, I had enough inputs, so I went ahead and used them, but having a little more experience with Acorn and CNC12, it's clear I'm only making things harder.![]()

(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3524
- 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: Auto-squaring possible with separate home switches on each axis?
One thing to be forewarned about. The Centroid autosquaring routine clears the soft limits at the start of the routine and then restores them at the end.
If something happens that prevents the autosquare routine from finishing, your soft limits will remain cleared and you will need to manually re-set them.
If something happens that prevents the autosquare routine from finishing, your soft limits will remain cleared and you will need to manually re-set them.
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.
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.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 2994
- Joined: Fri May 24, 2019 8:34 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804734C6498-0401191832
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Clearwater, FL
Re: Auto-squaring possible with separate home switches on each axis?
Yup, there are two pitfalls to the auto squaring routine, see page 20 of the manual for all the details.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 31
- Joined: Thu Feb 03, 2022 10:53 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 80F5B5F561AB-1001215267
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Auto-squaring possible with separate home switches on each axis?
I actually saw this. Something weird happened once, and after unpairing, it slowly backed the master axis away from the stop instead of towards it. I hit ESTOP after about an inch, and noticed later that the limits were gone.tblough wrote: ↑Sun Mar 06, 2022 5:54 pm One thing to be forewarned about. The Centroid autosquaring routine clears the soft limits at the start of the routine and then restores them at the end.
If something happens that prevents the autosquare routine from finishing, your soft limits will remain cleared and you will need to manually re-set them.
I've run it many times since, and haven't seen that behavior again. No idea what that was about.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3538
- Joined: Thu Sep 23, 2021 3:49 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 6433DB0446C1-08115074
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Germany
Re: Auto-squaring possible with separate home switches on each axis?
You could connect both ballscrews with a timing belt to prevent the machine get twisted if one servo fails:
http://www.m-hoch-5.de/uploads/images/PFM2_04.JPG
Uwe
http://www.m-hoch-5.de/uploads/images/PFM2_04.JPG
Uwe
(Note: Liking will "up vote" a post in the search results helping others find good information faster)