Hybrid View
-
09-07-2014 #1
Silyavski, I'm having similar issues, maybe my basic explanation will help if my problem can cast a common light on the issues?
I have 2 NPN proximity switches, each a 3 wire switch.
I set up a simple bench test with a 12v PSU and connected proximity switch brown to +ve and proximity blue to -ve then I used a simple continuity tester across the proximity black and brown.
As the proximity senses a metal target, the continuity test works as I would expect.
Then I set up Mach and the inputs so that I can see the BOB inputs are working on the Mach diagnostics screen.
Also the proximity switches light up with thier little LED, they work with a continuity test.
BUT when I connect a -24ve to the proximity switch and the Bob on one pin, and the poximity black to the other Bob pin, nothing happens in Mach.
Any ideas?
-
09-07-2014 #2
> all black limits together, all black homes together
> i connect 10kohm resistor between the input pin and corresponding wire.
Try adding a separate resistor to each black lead, then linking the free ends of the resistors to the input pin.
Adrian.
-
10-07-2014 #3
Tried this to no avail. Sensors will not work this way.
At the end i solved the problem after checking with the board maker. He assured me the diagrams are correct and that only one 10k resistor is needed per input/when 24v/
So i started doubting all else. Measured cabling, connections, all seemed right. Then very frustrated as a last attempt i changed all cabling with new /20AWG/ and it works now.
i believe the under rated /China/ thin cable was playing me tricks. F****g Chinese cables and connections. Never again.
So basically Tony, this is the way to connect them properly / NPN Normaly Open proximity sensors,24V to 5v input./ as described in my first post
The setup with my particular board is the following:
Pull Down inputs on the board and Active Low ticked in green in Mach3/ my board permits to pull up or down the inputs via shorting combination of 3 pins/
Did you check your setup with 2 or 3 sensors directly wired together and directly to the board and 24v, without any connectors and cables in between? + the respective resistors i mean?
This pdf is for my board but it seems everything concerning connecting different types of proximity switches is quite well explained.Last edited by Boyan Silyavski; 10-07-2014 at 04:46 PM.
-
10-07-2014 #4
Some sensors have internal pull up resistors built in hence the calculation to determine it. In my case that value was 10K so no external resistor is required.
Your PDF explains that very well. saying R1 + R2 needs to be 10K if R1 (internal) is 10K then R2 (external) is not needed.
Hope this helps. ..CliveLast edited by Clive S; 10-07-2014 at 05:15 PM.
-
11-07-2014 #5
Thanks Folks.
Silyavski, in the end I didnt need resistors, as Clive says it may be because the Proximity switch has a resitor in it. Like you, I ended up wiring the Proximity sensor much closer to the BOB and it worked! :) I then traced and rewired the connections and the junction box and I'm good now. Just need to mount the proximity switches onto the frame, adjust and then see how I get on with dual homing in Mach. Thanks again.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
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 -
Proximity sensor help required
By plasticsales in forum General ElectronicsReplies: 12Last Post: 21-08-2013, 07:02 PM -
Proximity Sensors as Limit Switches ?
By Lee Roberts in forum General ElectronicsReplies: 5Last Post: 03-10-2009, 07:04 PM



Reply With Quote


Bookmarks