. .
Page 2 of 4 FirstFirst 1234 LastLast
  1. #11
    m_c's Avatar
    Lives in East Lothian, United Kingdom. Last Activity: 3 Days Ago Forum Superstar, has done so much to help others, they deserve a medal. Has been a member for 9-10 years. Has a total post count of 2,908. Received thanks 360 times, giving thanks to others 8 times.
    Quote Originally Posted by Clive S View Post
    What that means is that the switch can supply 300mA try putting a mA meter in circuit and see what you get.
    Not quite, it means the sensors can switch 300mA. It's not supplying anything.
    .
    Most of these sensors have overload protection built in, so if you were to try and switch a load that exceeds 300mA, it would appear to do nothing. However, a BOB opto will not need anywhere near that much current.
    Avoiding the rubbish customer service from AluminiumWarehouse since July '13.

  2. #12
    Quote Originally Posted by Clive S View Post
    What that means is that the switch can supply 300mA try putting a mA meter in circuit and see what you get.
    The 300mA is the current the switch can sink. Inside the sensor is a 10K resistor between the supply and output. AT 24v supply it means that it will source 2.4mA at that voltage. For all practical purposes you can regard the output of these sensors as though it is the NO contact of a relay, with the common of the relay being connected to GND.


    If you see this page IGNORE IT ! it is wrong, misleading,confusing and confused. http://www.marchantdice.com/worldofc...tch_wiring.pdf

    It sounds as though you have a faulty sensor if the power supply buzzes, possibly due to miswiring in the past.




    This has all been discussed before.

  3. #13
    Quote Originally Posted by cropwell View Post
    Inside the sensor is a 10K resistor between the supply and output. AT 24v supply it means that it will source 2.4mA at that voltage.
    Sort of, if you short out a 24 Volt PSU with a 10k resistor it will flow 2.4mA

    If you stick anything between the resistor and ground you are unlikely to get 2.4mA

    Ohms' Law gives you the Voltage drop across the resistance.
    Last edited by Robin Hewitt; 14-10-2016 at 08:50 AM.

  4. #14
    Quote Originally Posted by Robin Hewitt View Post
    Ohms' Law gives you the Voltage drop across the resistance.
    Potentially, I am divided on this. There's no place like Ohm.

  5. #15
    Quote Originally Posted by cropwell View Post
    Potentially, I am divided on this. There's no place like Ohm.
    Excellent
    ..Clive
    The more you know, The better you know, How little you know

  6. #16
    Quote Originally Posted by m_c View Post
    People seem to be over complicating this.
    .
    Given the BOB in question requires switched to 0V to activate the input, all you need to do is wire 24V to BN, 0V to BU, then connect the BK to the BOB input. You may need to also connect the BOB 0V to the sensor, however I'd assume this BOB doesn't have fully isolated inputs, and the 24V and 5V supplies already have their 0V connected at some point.
    .
    An NPN sensor simply switches the output wire to 0V, and should go essentially open circuit when unactivated. You should not need any kind of pull up resistor on the sensor output.
    However as has been mentioned already, the sensor may not switch perfectly to 0V, and may struggle to reliably switch the BOB input. In that case, adding a small relay into the circuit would be needed.
    Alternatively, there's these simple sensors called switches... ;-)
    Reason why I over-complicated things was that I had assumed that this BOB had opto-isolated inputs (I've been working with a CSMIO card recently which does things that way and I made a false assumption). I have been trying to test my own ZPA5 with Mach3 but after a couple of hours, remembered that the parallel port version of Mach3 doesn't work on 64-bit Windows. However, I did take a look at the card itself and it looks like the inputs go into a set of buffers, no opto-isolation, but with a pull-up resistor. So as m_c accurately says, just take the black wire to the BOB input. Make sure that the 0V of the 24V power supply (blue wire to prox switch) goes to the ground connection on the BOB. In fact, just as in your first diagram but the resistor is redundant. What is probably worth doing is checking that with the prox switch disconnected, just shorting the BOB input pin to ground does register with Mach3 (stick a small screwdriver blade in the two-pin socket next to the screw terminals). If that works and you see the Mach3 diagnostic "LED" go on and off, then you can connect the proper switch and see if that works.

    For those who mentioned the possible 10K resistor in the switch - the BOB appears to have a current-limiting resistor in series with the input to the buffer inverter which also includes clamp diodes to restrict input voltage at the input pin. So the 10K resistor, if it does exist, is just going to act as another pull-up when the switch is open and can be ignored when the switch is closed. If it doesn't exist, it doesn't matter as the BOB has an onboard pull-up anyway.

    See - some of us have been working this evening instead of drinking
    Last edited by Neale; 14-10-2016 at 11:15 PM.

  7. The Following User Says Thank You to Neale For This Useful Post:


  8. #17
    Quote Originally Posted by Neale View Post

    For those who mentioned the possible 10K resistor in the switch - the BOB appears to have a current-limiting resistor in series with the input to the buffer inverter which also includes clamp diodes to restrict input voltage at the input pin. So the 10K resistor, if it does exist, is just going to act as another pull-up when the switch is open and can be ignored when the switch is closed. If it doesn't exist, it doesn't matter as the BOB has an onboard pull-up anyway.
    Don't know the zener voltage (zen, zener, zenest), but here's the essentials of the internal circuit.

    Now I am going to get ANOTHER Brandy !!!!

  9. The Following User Says Thank You to cropwell For This Useful Post:


  10. #18
    Thanks for that, Rob - first time I've seen a representation of the switch internal circuit. I find those little extracts of both input and output circuits very useful in getting an understanding of how things go together, and especially when it comes to working out why something doesn't work! Too much detail for some, perhaps...

    Now I'll have to draw out the combined circuit of four of those (NC versions) strung in series, so that I can use a single input for combined limit switches, just to reassure myself that it should work - even though I've wired it up on the bench and it does seem to.

    Maybe some of us take a more theoretical approach where others just want to know where to stick the black wire

    Just in case the OP is still with us and hasn't given up the will to live - this just confirms that your original wiring should be fine if you take out the resistor.

  11. #19
    Now I'll have to draw out the combined circuit of four of those (NC versions) strung in series, so that I can use a single input for combined limit switches, just to reassure myself that it should work - even though I've wired it up on the bench and it does seem to.
    Not sure but I recon they will be ok for limits but if used as home combined.
    I think there will be an increasing delay put in to the circuit the more you connect.
    ..Clive
    The more you know, The better you know, How little you know

  12. #20
    Couple of points there. Personally (and without looking up switch data sheets to see if they quote switching times) I suspect that compared with typical machine speeds, any delay will be insignificant (*). That's based on gut feel rather than hard data, though. Second point is that I would be more concerned about repeatability than actual switching time. I don't really care if the response time is, say, 100uS as long as it is always 100uS, so that the machine always stops in the same place. Doing a bit of my usual back-of-the-envelope sums, I reckon that at full tilt my ballscrews will be turning at 1000rpm. Say, 17rps. 800u steps per rev, so 13600 steps/sec. That's about 75uS per step. In practice, final homing is done at, say, 10% of that, so as long as the switch responds repeatedly to the nearest 3-400uS, you should be able to stop at the same ustep. Dean's demo of homing repeatability using proximity switches a while back supports this.

    (*) what probably matters more is that you always home at the same speed as I suspect that exact switching points will depend on speed of approach to target but that is something that's under our control. It only matters for homing anyway; don't really care exactly where the machine stops if it hits a limit as long as it stops before something gets broken!

Page 2 of 4 FirstFirst 1234 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Proximity limit switch problems
    By davrich in forum General Electronics
    Replies: 16
    Last Post: 12-03-2018, 01:58 PM
  2. Wiring 3 wire proximity switches in series
    By mikem in forum General Electronics
    Replies: 6
    Last Post: 02-05-2016, 09:33 AM
  3. 3 wire proximity switch help
    By mikem in forum General Electronics
    Replies: 24
    Last Post: 06-10-2015, 03:24 AM
  4. Proximity switch NPN or PNP
    By Matt81 in forum General Electronics
    Replies: 9
    Last Post: 19-04-2014, 11:38 AM
  5. Proximity Wiring Problem
    By Bruce in forum General Electronics
    Replies: 7
    Last Post: 13-01-2014, 07:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •