Thread: 3 wire proximity switch help
Hybrid View
-
05-10-2015 #1
No I'm saying just use One switch. These switches sense a metal object for the trigger so just place trigger at each end using only one switch and one input.
Then set the limit Inputs for both ends to the same pin number. Mach doesn't care or even Know which switch tripped it just watches the designated input.
You can even Share the same Switch and one end trigger for Home function if you like by just setting Mach Home input for that axis to same pin number. Then turn off the Home SW option in General config so turns off Limits while it's homing and you don't get a limit trip. After homing Mach turns limits back on so your safe again.
Doing this means you only need 3 inputs for all axis including homing.
Edit: Doh didn't see Rob beat me to reply.Last edited by JAZZCNC; 05-10-2015 at 10:35 PM.
-
05-10-2015 #2
Jazz
That's exactly what I'm trying to do us 3 imputs for all axis. If I just use one swithh for the Y axis the switch is facing one way and picks up the metal object. What is going to trigger it going the other way if the switch isn't going to come in contact with the metal stop? How do I get to trigger it going the other way?
Mike
-
05-10-2015 #3
Make the switch point down, not sideways, and set the trigger pieces of metal just below it at each end of travel. It sounds as if this wouldn't give such accurate results but Jazz did some experiments a little while ago that showed this to work well.
-
The Following User Says Thank You to Neale For This Useful Post:
-
05-10-2015 #4
Ok thanks make a lot of sence that way. I'll try it and see how it works.
Thanks Again
-
05-10-2015 #5
Yes sorry I didn't look closely at the way you had the switches pointed. Neal is correct it does work very well I use the round type switch like this all the time.
Also saves the switches getting smashed by riding over the target rather than into end stops.
Keep the sensing distance small has possible for best accurecy.Last edited by JAZZCNC; 05-10-2015 at 11:46 PM.
-
06-10-2015 #6
So why I got you I have another question. When I hook up on switch to the 5V on the BOB and to the imput lets say on the y it works.Then when I hook up the X and add another transistor to the 5v neither will work. just when it's a single resistor on the 5v do they work as soom as I add another nothing works.
Any thoughts?
-
06-10-2015 #7
Are you powering up the BoB from the USB input or a separate power supply? The reason I ask is that USB supplies a limited current and you might not have enough power to work the BoB and more than 1 resistor. You may remember that I recommended that you did not use the USB port on the computer to power the BoB !
-
The Following User Says Thank You to cropwell For This Useful Post:
-
06-10-2015 #8
-
06-10-2015 #9
No I'm using a separate 5v PS. The lights don't light up when it makes contact either. But when I put the Blue wire on the 12v ps with the + it's lights up brite
-
06-10-2015 #10
I think we have the problem !
The earth return paths are not connected. The blue wire from the sensor should be connected to the 0v (gnd) terminals on both power supplies and also (of course) to the 0v ground on the BoB. This is the most likely explanation of the symptoms.
-
The Following User Says Thank You to cropwell For This Useful Post:
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Proximity limit switch problems
By davrich in forum General ElectronicsReplies: 16Last Post: 12-03-2018, 01:58 PM -
FOR SALE: Proximity sensors
By Web Goblin in forum Items For SaleReplies: 5Last Post: 13-09-2014, 08:02 AM -
Proximity switch NPN or PNP
By Matt81 in forum General ElectronicsReplies: 9Last Post: 19-04-2014, 11:38 AM -
Proximity Wiring Problem
By Bruce in forum General ElectronicsReplies: 7Last Post: 13-01-2014, 07:21 PM -
Proximity Switches
By kingcreaky in forum General ElectronicsReplies: 20Last Post: 23-10-2013, 01:30 PM
Bookmarks