585,930 active members*
4,129 visitors online*
Register for free
Login
IndustryArena Forum > WoodWorking Machines > DIY CNC Router Table Machines > Help with NPN proximity sensor wiring in parallel
Results 1 to 11 of 11
  1. #1
    Join Date
    Jan 2012
    Posts
    5

    Help with NPN proximity sensor wiring in parallel

    Ok i have my sensors mounted and they work if i only have 1 sensor. however as soon as i try to run them in parallel i can not get them to trip unless they are both tripped. Helllpppp I am abut to pull out my hair.
    These are the sensors i am working with I am using 12 v power supply to power them Amazon.com: Amico DC 6-36V 300mA NPN NC 8mm Tubular Inductive Proximity Sensor Approach Switch LJ18A3-8-Z/AX: Home Improvement
    I am using this as the BOB
    http://www.kelinginc.net/KL-DB25.pdf

  2. #2
    Join Date
    Aug 2004
    Posts
    2849
    How do you have the switches wired? Do you have the instruction with the switch or a data sheet?

  3. #3
    Join Date
    Feb 2007
    Posts
    4553
    Bean_086,

    If you are only using one input for multiple NC proximity sensor's they need to be connected in series.

    Jeff...
    Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.

  4. #4
    Join Date
    Jan 2012
    Posts
    5
    I dont have any specs on them just what amazon has on there site. I have the + on both sensors to my 12Vdc+. I have the - wire on both sensors connected to my 12v- dc power supply, and i have both of the switched legs conected together to a resistor that is then connected to my breakout board that is associated with that axis 11:x, 12:y if i have just one sensor connected it reads correctly in mach 3 and if i have both connected and tripped it reads correctly in mach 3.

  5. #5
    Join Date
    Jan 2012
    Posts
    5
    how would you wire in series

  6. #6
    Join Date
    Dec 2003
    Posts
    24221
    They are N.C. so if you have them paralleled one will still be closed.
    They need to be open collector N.O. to run in parallel.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  7. #7
    Join Date
    Jun 2011
    Posts
    72
    NPN sensors have the load between the positive and the switch wire, meaning that the sensor is switching the negative part of the load circuit to ground.

    Not sure how you have it wired in your CNC but in mine but I connect the switched wire directly to the input. When the switch has something in its proximity range it pulls the switch wire to ground (and hence the input to ground).

    I have never looked to see what is it doing when it is not activated (floating voltage or high voltage), but I would install the 2 switches in parallel with no resistor. If either switch is triggered, then this will pull the input low.

    Of course for this to work you would need a breakout board that has pull up resistors, so the input is held high unless a switch is triggered to pull it hard to ground.

    Attachment 195458
    Cheers
    Bushwakka

  8. #8
    Join Date
    Aug 2004
    Posts
    2849
    Hopefully you've learned not to buy stuff with out any specifications. You can't use a single resistor, each switch must have it's own resistor that way they can trip individually.

    Bushwakka...I believe what you have are the NPN NO (normally open) type of proximity switches.

  9. #9
    Join Date
    Feb 2007
    Posts
    4553

    Post

    Bean,

    See attached diagram for wiring switches to multiple inputs.

    You must use a resistor for each switch.

    Jeff...
    Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.

  10. #10
    Join Date
    Jun 2011
    Posts
    72
    Bean,
    The switches you have are unable to be connected in parallel to both trigger the same input with OR logic. Because they both pull the switch wire to ground, they can't be wired in series. You will require NPN Normally Open (NO) switches in parallel for active low ( pulling input to ground) or PNP Normally Closed (NC) in parallel for active high (pulling input to supply voltage).

    Viper, you are correct with regards to NO switch.

    Cheers
    Bushwakka

  11. #11
    Join Date
    Feb 2007
    Posts
    4553

    Post

    Bean,

    Here is a example of multiple PNP proximity switches connected to one input in series.
    The switches are PNP in this example.

    Jeff...
    Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.

Similar Threads

  1. Proximity sensor or home/limits?
    By kevincnc in forum DIY CNC Router Table Machines
    Replies: 12
    Last Post: 01-18-2013, 05:43 PM
  2. Limit / Proximity Sensor KMB1
    By Bob La Londe in forum HURCO
    Replies: 5
    Last Post: 09-14-2012, 04:29 AM
  3. BB does not read +5 from proximity sensor
    By crane550 in forum DIY CNC Router Table Machines
    Replies: 3
    Last Post: 03-25-2012, 02:01 PM
  4. proximity sensor issue
    By strohkirchw in forum Benchtop Machines
    Replies: 18
    Last Post: 05-27-2011, 10:14 PM
  5. J325 Z axis proximity sensor ???
    By lavrgs in forum Tree
    Replies: 10
    Last Post: 08-31-2009, 04:36 PM

Posting Permissions

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