585,877 active members*
3,494 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 26
  1. #1
    Join Date
    May 2011
    Posts
    0

    Inductive proximity switches

    I have a few basic questions. as far as the most commonly used inductive limit switches.

    1. Do all DC limit switches have 3 wires and what is the 3rd wire for? Acording to the schematic you have +,- but then there is the 3rd that looks like it is wire in parralell to the + lead and has a load symbol on it which I assumed was the led?



    2. Do AC limit switches only have 2 wires? This confuses me because Usually its the opposite on pneumatic valve solenoids. Usually the DC solenoids have 2 wires and the AC solenoids have the 3rd ground.

    3. Lastly is there a way to test the limit switches with a multimeter? What should they read in ohms?


    Here is the prox switch

    McMaster-Carr

  2. #2
    Join Date
    Dec 2003
    Posts
    24221
    I assume you are talking electronic limit switches? You can get 2 wire or 3 wire AC or DC.
    The 3 wire are generally used for a load such as a relay etc, 2 wire have lower current capacity and can be used for PLC inputs etc.
    The 3 DC wire can be N.O. or N.C. NPN or PNP.
    Not a really conclusive test to use a ohm meter, except test for short circuit maybe.
    The link shows various types.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  3. #3
    Join Date
    May 2011
    Posts
    0
    These are DC 3 wires going to a PLC.

    The reason I ask about testing them is because. I have a Japanese Tube bender which uses a 3 wire DC prox switch. It lights up. And when I bring it to a Machine with a PLC to test it, triggers a input light. But for somereason its not working in the Japanese machine. We traded it for another prox switch and it works fine. Same wiring,same prox switch but the one that works has a smaller diameter. So this raises a few more questions.

    1. Does a smaller diameter prox switch mean a further projected magnetic field to catch a metal object entering the field further away or faster or does the size have nothing to do with it? What specs would indicate this. They both say 200ma?

    2. Can a switch led light up and not send an output? And if it does send an output strong enough to trigger a PLC input light can the signal still be too weak for other controller devices, such as the Japanese machine?

    3. What signal does the prox switch output ma or Voltage? Whats the PLC looking for, from a prox switch?

    4. And finally is there any risk with using a PLC as a testing device for Bad prox switches? I mean if they are bad there is just no connection right?

  4. #4
    Join Date
    Dec 2003
    Posts
    24221
    Smaller diameter generally means closer detection gap.
    With different 3 wire Prox, you need to know whether it is NPN or PNP, gnerally the 3 wire are open collector transistor, with most the LED will normally light though, even if a load is not connected.
    See the PDF for sink source, NPN/PNP. input to a PLC.
    Al.
    Attached Files Attached Files
    CNC, Mechatronics Integration and Custom Machine Design

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

  5. #5
    Join Date
    May 2011
    Posts
    0
    Quote Originally Posted by Al_The_Man View Post
    Smaller diameter generally means closer detection gap.
    With different 3 wire Prox, you need to know whether it is NPN or PNP, gnerally the 3 wire are open collector transistor, with most the LED will normally light though, even if a load is not connected.
    See the PDF for sink source, NPN/PNP. input to a PLC.
    Al.
    I always thought PNP vs NPN was the difference between NO vs NC.

    I was reading the PDF but it seems a little complicated for my level at this point. Could you maybe give a situation why you would choose a PNP vs NPN limit switch in a real world situation?

  6. #6
    Join Date
    Dec 2003
    Posts
    24221
    NPN and PNP can both be either N.O. or N.C.
    Usually the selection of PNP or NPN is when interfacing with the like of a PLC etc that has either a Source or Sink input, see the PDF for an example, if the Prox is operating a device such as a relay, or similar physical device, it does not really matter, as it can be set up either way.
    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
    May 2011
    Posts
    0
    Quote Originally Posted by Al_The_Man View Post
    NPN and PNP can both be either N.O. or N.C.
    Usually the selection of PNP or NPN is when interfacing with the like of a PLC etc that has either a Source or Sink input, see the PDF for an example, if the Prox is operating a device such as a relay, or physical device, it does not really matter, as it can be set up either way.
    Al.
    Okay thank You. Last 3 questions on this topic.

    1. So PNP vs NPN is only a option for DC switches which explains 3 wires on DC switches or 4 wires on DC switches that allow the option to wire as PNP or NPN,right?

    2. So for a typical say PNP Prox limit switch that has 3 wires, is it one wire for +, one wire for - and the 3rd for the PNP lead?


    3. Finally I have the following phoyo sensor I want to wire to a timer relay so the timer receives the control voltage when the photo sensor's beam is not being broken.

    Allen Bradley (AB) Photoswitch 42GRU-92LO | eBay

    The documentation says the 4 leads are as follows:
    Pin 3 = (+)
    Pin 4 = (NPN)
    Pin 1 = (PNP)
    Pin 2 = (-)

    The sensor outputs voltage when the beam is unbroken with a mode switch, but how would I wire the photo sensor to the control input of the timer and the 24VDC PSU?

  8. #8
    Join Date
    Dec 2003
    Posts
    24221
    You show a rather specialized universal item, the run of the mill prox or photo switches generally only have NPN or PNP and are ordered as such as you usually only use one or the other.
    But if you can set it as you say so it is operate on light or operate on dark, then what are the spec's of the timer relay you intend using?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  9. #9
    Join Date
    May 2011
    Posts
    0
    Quote Originally Posted by Al_The_Man View Post
    You show a rather specialized universal item, the run of the mill prox or photo switches generally only have NPN or PNP and are ordered as such as you usually only use one or the other.
    But if you can set it as you say so it is operate on light or operate on dark, then what are the spec's of the timer relay you intend using?
    Al.
    Just a standard repeat cycle timer with control voltage of 24VDC. Just uses a typical 2 contact 24VDC coil to trigger the timer.

  10. #10
    Join Date
    Dec 2003
    Posts
    24221
    You should probably be able to use either of the PNP/NPN outputs, more details of a model number of the timer would help to confirm it.
    A load resistor in the collector may be needed depending on the characteristics of the contact input.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  11. #11
    Join Date
    May 2011
    Posts
    0

    what does the PLC look for

    I want to make a limit switch tester. I have had situations where the limit switch LED lights but still doesnt get signal.

    Im going to make a little box that has a 24vdc and 120VAC output leads. Then I can hook up the limit sxwsitch and look for the voltage or current output. I could also use this PSU box to test solenoids easily as well.



    1. Okay what does the PLC look from a limit switch, current or voltage?

    2. When the limit switch has a current rating of 3-300ma does that mean thats how much current it can accept before malfunctioning or is that the amount of current it passes to the PLC? What determines this current amount? I would think the limit switch has a set resistance so if you apply 24VDC to it,it should have the same current everytime?

    3. How do you tell if the PLC inputs require PNP vs NPN limit switches?

  12. #12
    Join Date
    Dec 2003
    Posts
    24221
    The input impedance of the PLC decides the current, as to the type of solid state switch needed, the pdf in post #4 will tell you, you need to know the configuration of the PLC, i.e. sink input or source input.
    If rigging up a stand-alone tester you need to provide a series resistor that limits the current to less than the current rating of the switch.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  13. #13
    Join Date
    Dec 2003
    Posts
    24221
    Quote Originally Posted by Skiroy View Post
    3. How do you tell if the PLC inputs require PNP vs NPN limit switches?
    If the PLC Sources the input from the +supply you need a NPN Sinking device,
    If the PLC input is Sinking to common then you need a PNP Sourcing device.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  14. #14
    Join Date
    May 2011
    Posts
    0
    So you are saying youu have to match the limit switch current with what ever the device's(PLC) input module puts out?

    Here is the specs for my Micrologix 1000

    Automation Systems - MicroLogix 1000 Controllers

    1. So the input type says Sink/Source, what does that mean? Either NPN or PNP?

    2. And the current range for the Analog input signal says from 0...20ma. So a limit switch that is rated for 3-300ma is correct then?

    3. Finally, unrelated but do you know of any free software for making schematics that has NEMA symbols like those common in automation diagrams?

  15. #15
    Join Date
    Dec 2003
    Posts
    24221
    By sink/source usually means it can be set up either way.
    PLC inputs usually restrict the current low enough to cater for practically all SS switches.
    I believe the free version of Eagle s/w has some libraries included.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  16. #16
    Join Date
    May 2011
    Posts
    0
    What is the cable called that is commonly used for wire with PLCs. It is gray with 3 or 4 wires and you can get it on rolls? Could you send me a link of some?
    Thankx

  17. #17
    Join Date
    Dec 2003
    Posts
    24221
    There are many, unshielded, foil shield, foil and braid, in order of cost.
    Search the Belden or Alpha catalogues.
    e.g. http://www.belden.com/techdatas/metric/8729.pdf
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  18. #18
    Join Date
    May 2011
    Posts
    0
    Okay AL I have along way with understanding PNP,NPN and 2 wire switches.
    I just have one last question. Lets say I was going to use a N.O. Prox switch on a door so that when the door is closed it will energize a timer relay coil. I just tried a PNP and got it to work. So the question is, why would I choose a 2 wire sink/source prox switch vs a PNP prox switch? It seems to me both would work fine,so why choose one over the other?

    By the way the 2 wire switch can be used to either pass negative or positive,in other words in sink or source mode.

    So I am failing to see a senerio that one would need a PNP when they could use the 2 wire switch?

  19. #19
    Join Date
    Dec 2003
    Posts
    24221
    Generally 3 wire will offer a higher switching current such as a relay etc, two wire are often lower current devices and can be used for PLC inputs etc, or lower impedance loads where much lower currents are switched.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  20. #20
    Join Date
    May 2011
    Posts
    0
    Oh Okay. Thank You. So would this 2 wire switch.

    AM1-A0-1H Products

    Will this switch pass enough current to trigger this timer. The timers the one in the PDf file marked in red?

    And what does U and R represent on the wiring? I cant figure out how to wire this damn thing. Not to mention my timer only has A1 and A2.In other words the other 4 are not numbered.
    Attached Files Attached Files

Page 1 of 2 12

Similar Threads

  1. Inductive Switches
    By jjacstcy in forum DIY CNC Router Table Machines
    Replies: 31
    Last Post: 05-05-2011, 03:37 AM
  2. PROXIMITY SWITCHES
    By CHANDRU in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 12-12-2007, 02:33 PM
  3. Inductive Proximity Sensors
    By nickfox in forum CNC Machine Related Electronics
    Replies: 3
    Last Post: 09-07-2006, 03:15 AM
  4. proximity switches
    By woodguy7777 in forum Commercial CNC Wood Routers
    Replies: 4
    Last Post: 04-29-2006, 10:17 PM
  5. Inductive Proximity Sensors-what are they?
    By Splint in forum CNC Machine Related Electronics
    Replies: 3
    Last Post: 08-01-2004, 11:24 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
  •