584,800 active members*
4,451 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > CNC Machine Related Electronics > Question about inductive sensor wiring in series
Results 1 to 14 of 14
  1. #1
    Join Date
    Mar 2014
    Posts
    1131

    Question about inductive sensor wiring in series

    Hello,

    Looking at the attached diagram, wiring 2 PNP NC sensors in series the signal from the first sensor is connected to the power terminal of the second sensor. If I use PNP NO can I use the same method?

    Another question about the resistor in the diagram. 50 OHM resistor is used for 5 volt sensors. What OHM sensor should I use for 24v sensors?

    Thanks

  2. #2
    Join Date
    Jan 2018
    Posts
    1516

    Re: Question about inductive sensor wiring in series

    Quote Originally Posted by Azalin View Post
    Hello,

    Looking at the attached diagram, wiring 2 PNP NC sensors in series the signal from the first sensor is connected to the power terminal of the second sensor. If I use PNP NO can I use the same method?

    Another question about the resistor in the diagram. 50 OHM resistor is used for 5 volt sensors. What OHM sensor should I use for 24v sensors?

    Thanks

    No. NO switches wire in parallel not series like NC.

    If NO is wired in series- when 1 closes the other still keeps the circuit open so it's not good.
    In parallel- if any one of them closes the circuit will see it. So now it's good.

    As for the resistor. I don't think it's quite that simple. Going 24v to 5v is a big drop.
    I've seen 57k mentioned and others say don't bother trying.
    This is why you see 24v capable breakout boards with resistors in line with transistors, gates, diodes and open collectors etc.
    This is what optocouplers were invented for. Or use dc-dc step down converters.

    I just order optocoupler boards for things like this now. saves hassle, and easier/safer.
    https://www.aliexpress.com/item/4000...25094c4dr6gK82
    Can choose your in/out voltages, number of channels, and preferred output type pnp/npn.
    The input side on these already serves both pnp or npn option.


    I tried a 24v to 5v voltage divider diagram once for fun and the resistor caught fire. Was only using 1/4watt ones.
    I think I needed at least 5w dissipation. (waste of power that is).


    This is one of the simple diagrams I've seen for 24-5v
    https://forums.ni.com/t5/image/serve...819D29A1D?v=v2
    Uses 3 resistors and a transistor.

    This is a basic 24-5v opto diagram:
    https://aws1.discourse-cdn.com/ardui...d1b71052c4.png

  3. #3
    Join Date
    Mar 2014
    Posts
    1131

    Re: Question about inductive sensor wiring in series

    Hi,
    Guess I was confused. The C78 board takes 24v signal (I think. Manual isn't clear. It sources the switches with 24v so it should take 24v). So no resistor is needed.

    I better order some PNP NC switches.

    Sent from my MI 5s Plus using Tapatalk

  4. #4
    Join Date
    Jan 2018
    Posts
    1516

    Re: Question about inductive sensor wiring in series

    Quote Originally Posted by Azalin View Post
    Hi,
    Guess I was confused. The C78 board takes 24v signal (I think. Manual isn't clear. It sources the switches with 24v so it should take 24v). So no resistor is needed.

    I better order some PNP NC switches.

    Sent from my MI 5s Plus using Tapatalk
    Yes it does. Just had a look.
    RJ45_8
    For pins 11,12,13,&15 inputs.
    You'll need a 24v psu for it if you haven't got one already.

  5. #5

    Re: Question about inductive sensor wiring in series

    In your diagram, what voltage is there on the brown line?

  6. #6
    Join Date
    Mar 2014
    Posts
    1131

    Re: Question about inductive sensor wiring in series

    Quote Originally Posted by dazp1976 View Post
    This is one of the simple diagrams I've seen for 24-5v
    https://forums.ni.com/t5/image/serve...819D29A1D?v=v2
    Uses 3 resistors and a transistor.
    Hi,
    This looks simple. Even for me : )

    I'll build it for my lathe. Currently I'm using relays for 5v to the board but relays are slow.

    Thanks.

  7. #7
    Join Date
    Mar 2014
    Posts
    1131

    Re: Question about inductive sensor wiring in series

    Quote Originally Posted by tecnico_figueroa View Post
    In your diagram, what voltage is there on the brown line?
    The diagram is made for 5v.

  8. #8
    Join Date
    Jan 2018
    Posts
    1516

    Re: Question about inductive sensor wiring in series

    Quote Originally Posted by Azalin View Post
    Hi,
    This looks simple. Even for me : )

    I'll build it for my lathe. Currently I'm using relays for 5v to the board but relays are slow.

    Thanks.
    Relays are ok for switcing things on/off.
    I can't be bothered trying to make circuits.
    When it comes to safety circuits / fast switching items and the like, as I've said before I just get pre built high speed opto units.
    Examples:
    https://www.aliexpress.com/item/32914498721.html
    https://www.electronics-lab.com/proj...7-optocoupler/
    https://www.aliexpress.com/item/33013938014.html

  9. #9
    Join Date
    Jan 2005
    Posts
    15362

    Re: Question about inductive sensor wiring in series

    Quote Originally Posted by Azalin View Post
    Hello,

    Looking at the attached diagram, wiring 2 PNP NC sensors in series the signal from the first sensor is connected to the power terminal of the second sensor. If I use PNP NO can I use the same method?

    Another question about the resistor in the diagram. 50 OHM resistor is used for 5 volt sensors. What OHM sensor should I use for 24v sensors?

    Thanks
    Why your choice of PNP
    Mactec54

  10. #10
    Join Date
    Jan 2018
    Posts
    1516

    Re: Question about inductive sensor wiring in series

    Quote Originally Posted by mactec54 View Post
    Why your choice of PNP
    That's actually a good point.
    I initially thought his board was connected to negative so needed connecting to switched positive pnp.
    Then he mentioned the C78 which has both pos & neg going into the rj45 block.
    There is no input diagram so it's unclear.

    C78 pdf
    https://www.cnc4pc.com/pub/media/pro...8REV1.3_V2.pdf

    pnp/npn diagram
    https://automation-insights.blog/201...sensor-wiring/

  11. #11
    Join Date
    Mar 2014
    Posts
    1131

    Re: Question about inductive sensor wiring in series

    Hi,

    Mactec I just trusted the diagram and ordered the switches. I don't know why cnc4pc used PNP NC.

    Anyway, I wired all the switches and they all work fine. I didn't even needed to setup Mach4 and PoKeys. But something weird is that all the switches LEDs are on by default. Going off when triggered. Is that because they are PNP NC? Is that ok?






    Sent from my MI 5s Plus using Tapatalk

  12. #12
    Join Date
    Mar 2014
    Posts
    1131

    Re: Question about inductive sensor wiring in series

    Looks like the load is on blue in this model. So I think if I switch blue and brown then I'm good.



    Sent from my MI 5s Plus using Tapatalk

  13. #13
    Join Date
    Mar 2014
    Posts
    1131

    Re: Question about inductive sensor wiring in series

    No, it didn't work that way.

    How it works:
    Brown wire +24v
    Blue wire gnd

    LED is on. Goes off when triggered. Have you seen an inductive switch that works this way?

  14. #14
    Join Date
    Jan 2018
    Posts
    1516

    Re: Question about inductive sensor wiring in series

    Quote Originally Posted by Azalin View Post
    No, it didn't work that way.

    How it works:
    Brown wire +24v
    Blue wire gnd

    LED is on. Goes off when triggered. Have you seen an inductive switch that works this way?
    Yes.
    I have some LJ12A3-4-Z/BX - NPN - Normally open type, that do exactly the same when I tested them.
    Worked spot on with my controller but I won't be fitting those ones though.

    I have some NPN-NC I'll be using instead which I haven't tried yet.

    As long as they trigger the controller when switched.... Who cares about the specifics of their operation.

    Same wiring.
    Brown 24
    Blue gnd
    Black load

Similar Threads

  1. Inductive Sensor for MH800C NJ2/4-5791-Y22929
    By preimerx5 in forum Deckel, Maho, Aciera, Abene Mills
    Replies: 6
    Last Post: 04-19-2023, 07:48 AM
  2. Inductive Sensor
    By R2D3 in forum PlanetCNC
    Replies: 2
    Last Post: 11-17-2019, 05:47 PM
  3. Inductive Proximity Sensor Limit Switches
    By clembrant in forum DIY CNC Router Table Machines
    Replies: 8
    Last Post: 01-09-2016, 06:57 AM
  4. Wiring an Inductive Proximity sensor for TB6560. How?
    By Azalin in forum Stepper Motors / Drives
    Replies: 5
    Last Post: 11-11-2015, 09:19 PM
  5. probotix to inductive prox sensor
    By xkadet in forum CNC Machine Related Electronics
    Replies: 4
    Last Post: 04-14-2009, 04:00 AM

Tags for this Thread

Posting Permissions

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