How to use 6 limit switches to limit 3 axis at both extremes

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
MecTechMike
Posts: 54
Joined: Thu Aug 10, 2017 8:59 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

How to use 6 limit switches to limit 3 axis at both extremes

Post by MecTechMike »

Hey folks,

I need some help here. I know inputs 1-3 nominally control home/limit switches, but I'm trying to get dual switches working on each end of 3 axes. I wired up six NPN proximity sensors in pairs to the three inputs, but found I need both switches to trigger in order to trip the limits. I have NPN NC. Do I need NPN NO for this approach to work? What other options do I have with the current NPN NC sensors that I got.

Please advise, Thanks,
Mike
galyion
Posts: 54
Joined: Thu Feb 08, 2018 5:21 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
Contact:

Re: How to use 6 limit switches to limit 3 axis at both extremes

Post by galyion »

you could wire them up in series so either would break the common connection. there is 8 inputs so if you have more open you could set 3 as home and 3 as hard limits
Last edited by galyion on Fri Feb 23, 2018 10:35 pm, edited 1 time in total.
Jeremy
Pittsburgh, PA
Gary Campbell
Posts: 2177
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Allin1DC 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: Marquette, MI
Contact:

Re: How to use 6 limit switches to limit 3 axis at both extremes

Post by Gary Campbell »

Mike...
In lieu of a more elegant solution you could use a relay module for the low lims and another for the hi lims. Example and more info here: viewtopic.php?f=60&t=1508
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
MecTechMike
Posts: 54
Joined: Thu Aug 10, 2017 8:59 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: How to use 6 limit switches to limit 3 axis at both extremes

Post by MecTechMike »

Thanks for the quick advise guys. It took me a few tries, but hooking them in series does in fact work. For those considering the same, both switches get 24V power, but only the second switch is grounded. The first switch common goes to the signal input of the second switch. The first switch signal goes to the Acorn.

I'll try to draw it here tomorrow for a post.

Thanks for the help gentlemen,
Mike
martyscncgarage
Posts: 9914
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: How to use 6 limit switches to limit 3 axis at both extremes

Post by martyscncgarage »

MecTechMike wrote: Sat Feb 24, 2018 1:54 am Thanks for the quick advise guys. It took me a few tries, but hooking them in series does in fact work. For those considering the same, both switches get 24V power, but only the second switch is grounded. The first switch common goes to the signal input of the second switch. The first switch signal goes to the Acorn.

I'll try to draw it here tomorrow for a post.

Thanks for the help gentlemen,
Mike
Did you use the HOME ALL input?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Gary Campbell
Posts: 2177
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Allin1DC 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: Marquette, MI
Contact:

Re: How to use 6 limit switches to limit 3 axis at both extremes

Post by Gary Campbell »

Mike...
Have you verified that both your switches work as intended? I.E., will both stop motion if triggered?
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
MecTechMike
Posts: 54
Joined: Thu Aug 10, 2017 8:59 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: How to use 6 limit switches to limit 3 axis at both extremes

Post by MecTechMike »

Thanks for the follow up. Right now I don't have the switches on the axes. I am using the Alt-I menu to watch limit tripping. I am also getting messages on trip and clear. When tripped, the axes are frozen. So pretty confident things are working. I get a better idea once they are installed.

Mike
cnckeith
Posts: 7264
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: How to use 6 limit switches to limit 3 axis at both extremes

Post by cnckeith »

wire all the home side swtiches into one input, use the wizard to call that input "homeall"
wire the other three switches in series with the Estop with a momentary override (so you can back off if you hit it) and you will have 6 switches and only use one input and have auto homing. have your cake and eat it to.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D269594F9C-0110180512
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK
Contact:

Re: How to use 6 limit switches to limit 3 axis at both extremes

Post by Muzzer »

Keith - you say "wire the other three switches in series with the Estop with a momentary override" - do you mean to wire in a push to test switch that will take the e-stop line down to ground so you can move away from the limit condition? Trying to understand how to implement this - sounds like a good solution.

Murray
cnckeith
Posts: 7264
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: How to use 6 limit switches to limit 3 axis at both extremes

Post by cnckeith »

Yes exactly it's an old school trick the early old Bridgeport cnc machines used to have that setup as they were limited with the number of inputs as well.

Alternatively you could wire the limits in series and pipe them into one input. (Just like the home switches) you can use any of the limit input selections on the drop-down box in the Wizard for that input.

In a future cnc12 release will we will we will be adding a "limit_all" label as a input selection in the Wizard for this use as well.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
Post Reply