Great to watch your videos keep it up...people like you are amazing i am doing same thing across the globe we are not that much in TH-cam now i start making videos on PLC
Thank u for sharing with your knowledge & experience,I'm really appreciate. I'm also appreciate your pronunciation of English cause even though my poor english,I can understand most of your spoken language and no need from english subtitle helping
Very informative and the explanation is simply great.Thank you Apart from this I had a doubt, can we get the power supply to the sensors directly from the PLC ?
Yes we can, however it is typically not a best practice due to the possibility of overloading the PLC power supply if many sensors are added over time. A separate power supply with a proper wattage rating is typically used for sensors alone.
Excellent video but i have a question, i want to use the inductive sensor with a dc motor for a speed regulation,can i use the regular inputs of the plc or i need a HSC to handle the signals?
The power sources can be the same however the following is true: -For PNP sensor outputs (sourcing) the LOAD must be connected between the OUTPUT and GROUND (negative power for the sensor) -For NPN sensor outputs (sinking) the LOAD must be connected between the OUTPUT and V+ (positive power for the sensor). This seems like a small difference but I makes a huge difference when it comes to interfacing the sensor and how the sensor will drive a controller, PLC or small load. Sensor outputs work this way to maximize the interfacing possibilities for the sensor. PNP and NPN transistors in the sensor (N-Channel and P-Channel MOSFETS can also be used) are used because they are very fast switches with no moving parts. The downside of using transistors is that they have a polarity preference. If sensors used relay outputs with two output wires there would be no problem with interfacing like we have for PNP and NPN however output switching would be slow and the relay contacts would eventually wear out. We would also have another sensor output wire to deal with. You cannot drive a large load, like your solenoid, directly from a sensor output since most sensors can only switch a few hundred milliamps at most. You need power transistor assist to activate the solenoid from the sensor.
Can you have the output trigger at a later time? Here’s a scenario, there is a bottle of milk that is traveling down a conveyor belt. It passes the sensor and the sensor notices that there is too much milk in the bottle. We want to reject milk bottles that are overfilled but we want to do that a little further up the line of the conveyor belt. Could we set some sort of timer through programming to do this through the PLC? I don’t know anything about these PLCs or using sensors etc. so I’m sorry if I’m asking a dumb question.
The most accurate way to do this is to install another sensor downstream to sense the presence of the milk bottle again and eject it using a pneumatic cylinder. Another method is to use tracking information of the conveyor position to reject the bottle later. Using a timer is risky since delays are not always accurate.
Thanks for sharing Very much informative with good explanation. Did you made videos regarding PLC interfacing with industrial applications like (DOL, Star Delta, Inverters etc.)
This is a good question and really requires another video but here are some points involved in the decision. 1. A switch, instead of a voltage, is the most versatile way to send a signal from one device to another when the voltage requirements for each device might differ. Mechanical switches however like those found on relays for instance are not the best choice. 2. A relay would be best type of switch for isolation purposes but relays are fairly large, require quite a bit of power to operate and are very slow (thousands of times slower than transistors). Mechanical switches also have a limited number of operations before failures occur. 3. Solid state switches are fast and last a long time but are polar in nature (require a certain polarity to work properly. This makes interfacing these devices more difficult than using a regular switch. 4. Manufacturers and users want to minimize the number of connections to sensors and output modules so it’s a common practice to use a shared connection (common) between the device and the outside world. The use of this common connection allows a PLC to control a many output devices with a minimum number of connections but requires a wiring standard. 5. If the transistor switch used for an output device is a NPN transistor or N-channel MOSFET it can only switch the output of a sensor to ground (typically negative or zero volts) or if it’s an input it can sense the input of the device being pulled, or switched, to ground. 6. If the transistor switch used for an output device is a PNP transistor or P-channel MOSFET it can only switch the output of a sensor to V+ (typically 24V DC) or if it’s an input it can sense the input of the device being pulled, or switched, to V+. Hopes this makes sense. As I said earlier this is good material for another video. Keep an eye out.
Dorian McIntire Yes it does , the IOTP's are highly sensitive to excessive load due to long distance conductor cable , I'll be alert of next video ,thnxs.
I've made another video using a proximity sensor to sense water levels. Check it out at: th-cam.com/video/SsvjxnN8ZUk/w-d-xo.html The PLC is a C-programmable PLC known as a MOACON comfiletech.com/pages/embedded-controller/moacon.html You can also use a conventional PLC (ladder logic) like the CLICK www.automationdirect.com/clickplcs/index The sensor is available from Amazon: www.amazon.com/3-wire-Capacitance-Proximity-Switch-Detector/dp/B0057M416A/ref=sr_1_2?ie=UTF8&qid=1498391454&sr=8-2&keywords=capacitive+sensor Glad you enjoyed the video
The type of sensor is usually written on side of the sensor. It will either be written on the device specifically as NPN or PNP or it can be inferred from the hookup diagram written on the device.
Do you have a video on interfacing a 2 wire sensor with a plc? I am unsure about the wiring and want to avoid damaging anything if possible. I am using the v560 from unitronics with visilogic software. Right now, I am trying to hook up float sensors and thermocouples. The video was very helpful btw
While it can be done there are considerations. Firstly DO NOT USE A 120 volt sensor. A 24 volt sensor may work and must be connected per the diagram at the following link. www.controleng.com/blogs/ask-control-engineering/blog/using-2-wire-proximity-sensors/a3d4ff7d66efc678b569c677bacf9790.html NOTE: If the sensor requires more current than the PLC input card can provide this will not work.
Hello Dorian. Your videos regarding NPN and PNP with PLC helped allot. Have your done a video on Sensors of Light-On / Dark-On in the same manner you did the "Proximity Sensor Interfacing to PLC made easy" video?
Nothing for PLCs for that type of sensor but it really doesn't really matter what the sensor detects since all PNP and NPN sensor interface the same way. If you can find a 3 terminal NPN or PNP sensor you can follow the instructions in this video.
Two wire sensors are usually less versatile than 3-wire and there is much confusion about how to use them. See the following link for details: www.sca-ipaindia.com/advertisement/2/2.JPG The PLC input must be capable of SINKING the sensor input for this to work. IMPORTANT - Make sure you use a 24DC sensor and not a 120VAC sensor for this hookup.
OK so that pic is a PNP sourcing setup which it what I thought. It would be the same basically for a NPN Sinking 3 to 2 wires setup accept that your sinking the Negative. Correct?
The sensor is sourcing but the PLC input must sink for the two wire sensor. The bottom sensor on the diagram was just some additional information for a 3-wire sensor. Ignore the bottom diagram.
This PLC is called the MOACON and is one of my favorite PLCs because it is programed in C instead of ladder logic. Ladder logic is clunky and a horrible way to create sophisticated automation projects. Check out the MOACON at the link below. www.comfiletech.com/pages/embedded-controller/moacon.html. Have fun.
but practically how to hook up the positive and negative terminals of PNP sensor for example to the same positive and negative ones of input module in the field or is that not necessary ?
The way you connect the sensor depends on what you are hooking it up to. Most new input modules (cards) on a PLC can handle both sinking and sourcing inputs but not mixed on the same group of inputs. If your input card has eight inputs and two groups of inputs you can connect four sinking sensors and four sourcing sensors. The video helps make sense of what how the common is connected on a PLC card depending on the sensor type. Hope this answers your question. Thanks for commenting.
+MrCT2012 You can find input cards to handle almost every situation. As long as you are using a standard sinking or sourcing card things will work. If you use a sinking/sourcing input card you can use them for any kind of sensor.
+Dorian McIntire This is the card I mean mall.industry.siemens.com/tedservices/DatasheetService/DatasheetService?control=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3Cpdf_generator_control%3E%3Cmode%3EPDF%3C%2Fmode%3E%3Cpdmsystem%3EPMD%3C%2Fpdmsystem%3E%3Ctemplate_selection+mlfb%3D%226ES7321-1BH02-0AA0%22+system%3D%22PRODIS%22%2F%3E%3Clanguage%3Een%3C%2Flanguage%3E%3Ccaller%3EMall%3C%2Fcaller%3E%3C%2Fpdf_generator_control%3E But where to find whether it's sinking/sourcing input card?
+MrCT2012 Sorry for the delay this got lost in my messages. This is a Digital Input card not a sinking or sourcing card. This card interprets a low voltage as 0 and a high voltage as 1.
Just remember that for all sensors, using the color code in the video, the output signal is black, the brown wire is positive and the blue wire is ground, this is a standard. Keep in mind that the frequency of a tachometer can be higher than a PLC can handle.
Are you asking for information on the PLC? This is a MOACON C-programmable PLC available from www.cubloc.com. Otherwise I don't know what you mean by a diagram of the PLC. Hope this is what you're looking for.
Yes most industrial sensors are active sensors that require external power although some newer sensors have internal power and transmit data wirelessly.
Hooking up multiple device can be done in two ways. Hooking up devices in parallel or series, if the type of sensors allows it, or hooking different sensors to other inputs on the PLC and writing a program to handle those inputs.
Im having trouble with a plc sensor that senses when its not suppose to sense. Have a look on my channel for Pnp prox problem. I cant quite figure it out.
Yes, I'm currently playing with an Industrial Shields, Arduino PLC. This is the future of PLCs since the popular manufactures (currently) have been trying to re-invent high-level language programming but don't seem to know how to pull it off.
I think the reason why is the ladder logic mentality. Something old trying to integrate with the microprocessor world. If I had to design a PLC language I'd throw out ladder logic and all the useless instruction sets that overly complicate things. Start with modular basic I/O and add delays, etc as Object oriented programming modules.
Why is Common connected to the V+ in the sinking sensor (NPN)? According to the diagram from here: cdn.automationdirect.com/static/specs/sinksource.pdf, it should be connected to the negative.
Look at the field device examples at the bottom of the page that you linked to. In my video we are using an NPN (sinking) sensor with a sink/source PLC input. The drawings are identical to what I explained in the video which is why everything worked perfectly as demonstrated in the video. A sinking (NPN) sensor can only be mated with a PLC sourcing input and vice versa. Most PLCs input cards today are sink/source to provide the user with options. By the way those drawings at the top of the reference page link are crap per an automation engineer. The point of the video was to show viewers how to quit using confusing drawings - provided by vendors - to understand how this really works, but apparently I don't always get my point across.
Hi Dorian, I hope you can help me out on this project I am working now. I am trying to hook up a Balluff induction sensor (BES 516-355-BO-C-03) to a FloBoss I/O module (www.documentation.emersonprocess.com/groups/public/documents/specification_sheets/d301236x012.pdf) I have connected the brown wire to the Loop, the black to the PI/DI +, and the blue wire to the Ground (GND). This way the LED on the sensor is always lit (not sure it is supposed to). I cannot get any signal out of the sensor. Any help will be much appreciated. Thank you
If the indicator light on the sensor is always on check it with a separate power supply to see if you can get the sensor indicator light to light up under the correct conditions. If the sensor does not work properly under these conditions it is probably bad. I'm not familiar with the FloBoss unit but it should indicate properly with a good, working sensor.
Yes, it is fairly easy except for the voltage difference between the Arduino input and the Prox. sensor. Would you like me to create a video about how this is done?
Dorian McIntire Thank you sir, I just buy a sensor like the one on video and my project is for the arduino and I don't have any idea how to make it work. I would love to know more from you Sir. Thank you in Advance.
Dorian McIntire I'm not sure Sir. Base on your previous video you identify the sensor because it indicate a PNP, but my sensor's indication is AC. By the way Sir, my sensor is LJC18A3-B-J/EZ.
Christian Duke Tugay I'm sorry to say that this is a high voltage, Alternating Current (AC) sensor. You will need a 24 V or less, Direct Current (DC) sensor to interface to an Arduino with minimal problems I would also order a Sinking (NPN) sensor to simplify the interfacing with an Arduino. Sorry for the bad news.
The batteries were used to explain some key concepts about how PLC inputs work. They are also readily available by most viewers who want to play with industrial sensors and do not have access to power supplies. It is typically inadvisable to use the same CPU power supply to also power sensors anyway. This was a teaching session and not an actual working PLC setup.
I could have, but I wanted viewer to see that typically sensors are powered by a separate power supply and I wanted to show how that connection would work.
Hi Dorian, Thank you very much for your time & effort. you explained in a very simple and clear way. Thank you so much .can you pls provide your email id. if I have any doubt in plc I can contact you directly.
+Biju Cyriac Thanks for your nice comment. My email address is listed in the "About" section of my channel. Try to use the comment area as much as possible so others can benefit from answers to your questions. Also my email gets pretty busy at times and its easy for me to accidentally skip or pass over emails. dorianmc@gmail.com Hope your learning goes well.
Sorry you didn't like it. The video was only about interfacing and best practices for interfacing. The program simply transferred the state of the input to the output as was explained in the video. It was a single rung of ladder logic. The video was 18 minutes long and I didn't want get off track. Most of the 70,000+ viewers found it very useful.
You hope it was useful? ..This is the only confusion free tutorial on these sinking and sourcing sensors i have seen. Bravo!!!
World Class explanation, easy to understand as he will actually demonstrate it for us.
Great explanation. You made it easy to understand and I appreciate that you showed how to wire it to the plc.
Thank you for sharing your knowledge in an understandable way! Although basic, sometimes elusive. Thanks!
I wish I had seen this video earlier. Well explained and easy to understand. Thank you!
Great to watch your videos keep it up...people like you are amazing i am doing same thing across the globe we are not that much in TH-cam now i start making videos on PLC
Probably One of the best & easiest video to understand!!!
Thanks a lot for your time and for every things.I going to share all these videos with my student.
+Development & Training Center Great! Let me know if you have any requests and thanks for commenting.
Very lucid explanations, Demystification of, hitherto, seemingly black arts. Thanks.
very informative .. thank you for posting this.. keep posting
thank you!!! my plc automation class has been killing me
thank you!! well explained basics of pnp and npn, might help to look up when in doubt quickly.
excelent detail, you got me out of trouble in a project.
Thank you, very useful when you see real components not only e.g. plc programming.
Thanks! Glad you found the video useful.
Hi Dorian, thank you very much for taking the time to share your knowledge, I found the video very informative.
Andrew Munro You're very welcome. I really appreciate your comment.
Manoharjto5@gmail.com
Thank u for sharing with your knowledge & experience,I'm really appreciate.
I'm also appreciate your pronunciation of English cause even though my poor english,I can understand most of your spoken language and no need from english subtitle helping
I'm happy that you enjoy the videos. Thank you for your comment.
thanks. got the diff between PNP and NPN sensors. great tut. and nice voice.
you should consider doing a voice over career...
Thanks again. I appreciate the voice comment.
Thank you so much for your explanation, it really helps out.
Wow what a great Video, thank you very much Sir!
Thank you sir ! Your effort really I understood this function. Thank you very much💐💐💐
very good explanation sir ,plc given the more tutorial for PLC programming.
Very nice and helpful for beginners !
+Mohammed Shaik You are very welcome. Thanks for watching and commenting.
Great instruction video.. Thank you!
Thank You. My concept is now clear.
Thank you for all the effort you made to this vedio
aref gamile You're welcome. Thanks for your comment.
very helpful and easy understanding. Thank you!
Jay Zhao Thank for your encouraging comment
Thank you so much for your video Sir, I ve been looking for this for days :D
Very nice quality demo tnxs
very excellent explanation, please do the same for Siemens PLC!!! i need to understand how it works! thanks a lot.
Thanks for your explanation; this was well presented and very informative. THANKS.... Top Job
Thanks!
Thankyou for posting video.Interesting and helpful.
best regards.
don watson Thank you for watching and commenting.
Very interesting
Great video! Thanks
Thanks a lot for this lesson
You're welcome.
I'm planning more PLC videos if the interest level is high enough. What would you like to see in future videos?
Thanks.
Much appreciated video. Thanks.
Thank you. I'm pleased you enjoyed the video.
This is so helpful to me. Thanks
Fantastic. Comments like this really make my day and inspire me to want to produce more. Thanks.
very helpful tutorial
this video helps me a lot for m future thanks dude
I very glad you found the video useful. Thanks for your comment.
Very informative and the explanation is simply great.Thank you
Apart from this I had a doubt, can we get the power supply to the sensors directly from the PLC ?
Yes we can, however it is typically not a best practice due to the possibility of overloading the PLC power supply if many sensors are added over time. A separate power supply with a proper wattage rating is typically used for sensors alone.
thanks so much for video.
Very well explained :) Thank you sir !
You're welcome. Thank You for your comment.
thanks for video posting,welldone
Synergy Senth You're welcome. Thanks for commenting.
Please make a tutorial for color sensor as well (TCS 3200)
Excellent video but i have a question, i want to use the inductive sensor with a dc motor for a speed regulation,can i use the regular inputs of the plc or i need a HSC to handle the signals?
very good..thanks
Glad you found the video useful. Thanks for commenting.
Great video thanks!!!
Thank you for watching and commenting.
Excellent video ..
Thank you very much.
Thanks, great stuff.
great post, thank you
You're very welcome, thanks for your comment.
Thank you very much It is very good explanation.
can you please provide the video link for analog input/output and pulse input wiring for me
Hi there.. thanks a lot for that video.. can there sensors be used for detecting a moving object made from plastic travelling in a clear plastic pipe?
Yes it can with the proper sensitivity adjustment. Thanks for commenting.
very usefull
EXCELLENT THNAK YOU VERY MUCH
You are welcome. Thanks for your inspiring comment.
thankyou this is useful
You're welcome! Thanks for watching and taking the time to comment.
thank you sir for this video.....as i see in this video there is no different with the role of NPN or PNP sensors excepte the power source..??
The power sources can be the same however the following is true:
-For PNP sensor outputs (sourcing) the LOAD must be connected between the OUTPUT and GROUND (negative power for the sensor)
-For NPN sensor outputs (sinking) the LOAD must be connected between the OUTPUT and V+ (positive power for the sensor).
This seems like a small difference but I makes a huge difference when it comes to interfacing the sensor and how the sensor will drive a controller, PLC or small load.
Sensor outputs work this way to maximize the interfacing possibilities for the sensor. PNP and NPN transistors in the sensor (N-Channel and P-Channel MOSFETS can also be used) are used because they are very fast switches with no moving parts. The downside of using transistors is that they have a polarity preference. If sensors used relay outputs with two output wires there would be no problem with interfacing like we have for PNP and NPN however output switching would be slow and the relay contacts would eventually wear out. We would also have another sensor output wire to deal with.
You cannot drive a large load, like your solenoid, directly from a sensor output since most sensors can only switch a few hundred milliamps at most. You need power transistor assist to activate the solenoid from the sensor.
Thanks sir nice of you
thanks for this video.
You're welcome. Glad you found it useful.
Can you have the output trigger at a later time? Here’s a scenario, there is a bottle of milk that is traveling down a conveyor belt. It passes the sensor and the sensor notices that there is too much milk in the bottle. We want to reject milk bottles that are overfilled but we want to do that a little further up the line of the conveyor belt. Could we set some sort of timer through programming to do this through the PLC?
I don’t know anything about these PLCs or using sensors etc. so I’m sorry if I’m asking a dumb question.
The most accurate way to do this is to install another sensor downstream to sense the presence of the milk bottle again and eject it using a pneumatic cylinder. Another method is to use tracking information of the conveyor position to reject the bottle later. Using a timer is risky since delays are not always accurate.
sorry I misapply
for this practice is necessary to program the plc?
Regards
Thanks for sharing Very much informative with good explanation.
Did you made videos regarding PLC interfacing with industrial applications like (DOL, Star Delta, Inverters etc.)
Not yet, I'm currently more interested in automation devices.
Dorian : Why do we have NPN sensors and Sinking Out modules ?
Is it because dropping voltage?
Great video
Thanks for the attention.
This is a good question and really requires another video but here are some points involved in the decision.
1. A switch, instead of a voltage, is the most versatile way to send a signal from one device to another when the voltage requirements for each device might differ. Mechanical switches however like those found on relays for instance are not the best choice.
2. A relay would be best type of switch for isolation purposes but relays are fairly large, require quite a bit of power to operate and are very slow (thousands of times slower than transistors). Mechanical switches also have a limited number of operations before failures occur.
3. Solid state switches are fast and last a long time but are polar in nature (require a certain polarity to work properly. This makes interfacing these devices more difficult than using a regular switch.
4. Manufacturers and users want to minimize the number of connections to sensors and output modules so it’s a common practice to use a shared connection (common) between the device and the outside world. The use of this common connection allows a PLC to control a many output devices with a minimum number of connections but requires a wiring standard.
5. If the transistor switch used for an output device is a NPN transistor or N-channel MOSFET it can only switch the output of a sensor to ground (typically negative or zero volts) or if it’s an input it can sense the input of the device being pulled, or switched, to ground.
6. If the transistor switch used for an output device is a PNP transistor or P-channel MOSFET it can only switch the output of a sensor to V+ (typically 24V DC) or if it’s an input it can sense the input of the device being pulled, or switched, to V+.
Hopes this makes sense. As I said earlier this is good material for another video. Keep an eye out.
Dorian McIntire Yes it does , the IOTP's are highly sensitive to excessive load due to long distance conductor cable , I'll be alert of next video ,thnxs.
can we used NPN sensor instead of a PNP by placing a simple invertor circuit to the singnal wire of NPN.
Yes, I use the technique to interface with the Arduino.
Halo dorain thanks u r video
john baby You're welcome. Thanks for watching and commenting.
Kkkk thanks sir
Thank you from Saudi Arabia. I found the video very informative, CAN I USE IT FOR WATER FILLINg LINE , WHARE CAN I BUY PLC AND SENSER
I've made another video using a proximity sensor to sense water levels. Check it out at:
th-cam.com/video/SsvjxnN8ZUk/w-d-xo.html
The PLC is a C-programmable PLC known as a MOACON comfiletech.com/pages/embedded-controller/moacon.html
You can also use a conventional PLC (ladder logic) like the CLICK www.automationdirect.com/clickplcs/index
The sensor is available from Amazon: www.amazon.com/3-wire-Capacitance-Proximity-Switch-Detector/dp/B0057M416A/ref=sr_1_2?ie=UTF8&qid=1498391454&sr=8-2&keywords=capacitive+sensor
Glad you enjoyed the video
Excellent lecture ....awesome but i have a doubt...can we say what type of sensor it is either PNP or NPN by looking at the sensor?
The type of sensor is usually written on side of the sensor. It will either be written on the device specifically as NPN or PNP or it can be inferred from the hookup diagram written on the device.
Thank you!
+Anogoya Dagaati You are very welcome. Thanks for watching and commenting. Please subscribe.
Very nice
+GANGATHARAN VS Thanks.
+Dorian McIntire hello there/.. i am impressed the way you explain.
thank you very much for the skills you shared.
+Abu Aisha Thank you, and thanks for watching and commenting.
great
Do you have a video on interfacing a 2 wire sensor with a plc? I am unsure about the wiring and want to avoid damaging anything if possible. I am using the v560 from unitronics with visilogic software. Right now, I am trying to hook up float sensors and thermocouples.
The video was very helpful btw
While it can be done there are considerations. Firstly DO NOT USE A 120 volt sensor.
A 24 volt sensor may work and must be connected per the diagram at the following link.
www.controleng.com/blogs/ask-control-engineering/blog/using-2-wire-proximity-sensors/a3d4ff7d66efc678b569c677bacf9790.html
NOTE: If the sensor requires more current than the PLC input card can provide this will not work.
Thanks for the input. Great channel
Hello Dorian. Your videos regarding NPN and PNP with PLC helped allot. Have your done a video on Sensors of Light-On / Dark-On in the same manner you did the "Proximity Sensor Interfacing to PLC made easy" video?
Nothing for PLCs for that type of sensor but it really doesn't really matter what the sensor detects since all PNP and NPN sensor interface the same way. If you can find a 3 terminal NPN or PNP sensor you can follow the instructions in this video.
OK What about 'two-wire Proximity Switches'? I have been told that a two-wire can be exchanged in place of a three wire-setup if needed.
Two wire sensors are usually less versatile than 3-wire and there is much confusion about how to use them. See the following link for details:
www.sca-ipaindia.com/advertisement/2/2.JPG
The PLC input must be capable of SINKING the sensor input for this to work.
IMPORTANT - Make sure you use a 24DC sensor and not a 120VAC sensor for this hookup.
OK so that pic is a PNP sourcing setup which it what I thought. It would be the same basically for a NPN Sinking 3 to 2 wires setup accept that your sinking the Negative. Correct?
The sensor is sourcing but the PLC input must sink for the two wire sensor. The bottom sensor on the diagram was just some additional information for a 3-wire sensor. Ignore the bottom diagram.
Hi Dorian, what programming software or language used to program this kind of Plc? Thanjs
This PLC is called the MOACON and is one of my favorite PLCs because it is programed in C instead of ladder logic. Ladder logic is clunky and a horrible way to create sophisticated automation projects. Check out the MOACON at the link below.
www.comfiletech.com/pages/embedded-controller/moacon.html. Have fun.
but practically how to hook up the positive and negative terminals of PNP sensor for example to the same positive and negative ones of input module in the field or is that not necessary ?
The way you connect the sensor depends on what you are hooking it up to. Most new input modules (cards) on a PLC can handle both sinking and sourcing inputs but not mixed on the same group of inputs. If your input card has eight inputs and two groups of inputs you can connect four sinking sensors and four sourcing sensors. The video helps make sense of what how the common is connected on a PLC card depending on the sensor type. Hope this answers your question.
Thanks for commenting.
How about Siemens PLC, is there any limitation? Means that of 8 Input, there are also 2 groups of inputs (PNP & NPN) or can join together?
+MrCT2012 No limitations. Virtually any self-respecting PLC will do. :-)
+Dorian McIntire Means that, Siemens and Comfile, they have different kind of connection?
+MrCT2012 You can find input cards to handle almost every situation. As long as you are using a standard sinking or sourcing card things will work. If you use a sinking/sourcing input card you can use them for any kind of sensor.
+Dorian McIntire This is the card I mean
mall.industry.siemens.com/tedservices/DatasheetService/DatasheetService?control=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3Cpdf_generator_control%3E%3Cmode%3EPDF%3C%2Fmode%3E%3Cpdmsystem%3EPMD%3C%2Fpdmsystem%3E%3Ctemplate_selection+mlfb%3D%226ES7321-1BH02-0AA0%22+system%3D%22PRODIS%22%2F%3E%3Clanguage%3Een%3C%2Flanguage%3E%3Ccaller%3EMall%3C%2Fcaller%3E%3C%2Fpdf_generator_control%3E
But where to find whether it's sinking/sourcing input card?
+MrCT2012 Sorry for the delay this got lost in my messages. This is a Digital Input card not a sinking or sourcing card. This card interprets a low voltage as 0 and a high voltage as 1.
can you show me how to connect the sensor to a digital tachometer also with three wires brown blue and black thank you
Just remember that for all sensors, using the color code in the video, the output signal is black, the brown wire is positive and the blue wire is ground, this is a standard. Keep in mind that the frequency of a tachometer can be higher than a PLC can handle.
usefull meanwhile brief
excellent tutorial., you have a diagram of plc for the practice?
regards
Are you asking for information on the PLC? This is a MOACON C-programmable PLC available from www.cubloc.com. Otherwise I don't know what you mean by a diagram of the PLC.
Hope this is what you're looking for.
Parabens
obrigado
sir your tutorial is simply fantastic, great explanation.
do sensors or other field devices always require external power for each device? How do they end up wiring up multiple devices in real world devices?
Yes most industrial sensors are active sensors that require external power although some newer sensors have internal power and transmit data wirelessly.
Hooking up multiple device can be done in two ways. Hooking up devices in parallel or series, if the type of sensors allows it, or hooking different sensors to other inputs on the PLC and writing a program to handle those inputs.
Do you have a video on programming capacitive proximity sensor using arduino
th-cam.com/video/soJ4czkKpT4/w-d-xo.html
th-cam.com/video/soJ4czkKpT4/w-d-xo.html
th-cam.com/video/soJ4czkKpT4/w-d-xo.html
where Can I buy this plc? any website like amazon or ebay for example???
Comfile Technologies:
www.comfiletech.com/pages/embedded-controller/moacon.html
Have fun
Im having trouble with a plc sensor that senses when its not suppose to sense. Have a look on my channel for Pnp prox problem. I cant quite figure it out.
why do you have to connect -ve of sensor and battery to -ve of plc?
You must have a complete circuit in order for a sensor to send a signal to a PLC. Two circuits without a common ground cannot communicate.
does it has to be on plc or it can be elsewhere?
Tx
Glad you found the video useful.
Hell ! What's the plc world coming to ? That's a PCI bus backplane !
It's also an 8 year old unit that programs in C. One of my favorites.
I guess you've already checked out the OpenPLC project ?
Yes, I'm currently playing with an Industrial Shields, Arduino PLC. This is the future of PLCs since the popular manufactures (currently) have been trying to re-invent high-level language programming but don't seem to know how to pull it off.
I think the reason why is the ladder logic mentality. Something old trying to integrate with the microprocessor world. If I had to design a PLC language I'd throw out ladder logic and all the useless instruction sets that overly complicate things. Start with modular basic I/O and add delays, etc as Object oriented programming modules.
Imam every good
Why is Common connected to the V+ in the sinking sensor (NPN)? According to the diagram from here: cdn.automationdirect.com/static/specs/sinksource.pdf, it should be connected to the negative.
Look at the field device examples at the bottom of the page that you linked to. In my video we are using an NPN (sinking) sensor with a sink/source PLC input. The drawings are identical to what I explained in the video which is why everything worked perfectly as demonstrated in the video. A sinking (NPN) sensor can only be mated with a PLC sourcing input and vice versa. Most PLCs input cards today are sink/source to provide the user with options.
By the way those drawings at the top of the reference page link are crap per an automation engineer.
The point of the video was to show viewers how to quit using confusing drawings - provided by vendors - to understand how this really works, but apparently I don't always get my point across.
Hi Dorian,
I hope you can help me out on this project I am working now.
I am trying to hook up a Balluff induction sensor (BES 516-355-BO-C-03) to a FloBoss I/O module (www.documentation.emersonprocess.com/groups/public/documents/specification_sheets/d301236x012.pdf)
I have connected the brown wire to the Loop, the black to the PI/DI +, and the blue wire to the Ground (GND). This way the LED on the sensor is always lit (not sure it is supposed to).
I cannot get any signal out of the sensor.
Any help will be much appreciated.
Thank you
If the indicator light on the sensor is always on check it with a separate power supply to see if you can get the sensor indicator light to light up under the correct conditions. If the sensor does not work properly under these conditions it is probably bad.
I'm not familiar with the FloBoss unit but it should indicate properly with a good, working sensor.
Sir, is the Capacitive sensor on the video can work with arduino?
Yes, it is fairly easy except for the voltage difference between the Arduino input and the Prox. sensor.
Would you like me to create a video about how this is done?
Dorian McIntire
Thank you sir, I just buy a sensor like the one on video and my project is for the arduino and I don't have any idea how to make it work.
I would love to know more from you Sir. Thank you in Advance.
Christian Duke Tugay Is the sensor you bought a Sinking or Sourcing sensor? The type of sensor will make a difference.
Dorian McIntire I'm not sure Sir. Base on your previous video you identify the sensor because it indicate a PNP, but my sensor's indication is AC. By the way Sir, my sensor is LJC18A3-B-J/EZ.
Christian Duke Tugay I'm sorry to say that this is a high voltage, Alternating Current (AC) sensor. You will need a 24 V or less, Direct Current (DC) sensor to interface to an Arduino with minimal problems I would also order a Sinking (NPN) sensor to simplify the interfacing with an Arduino. Sorry for the bad news.
why does my plc light keep turning on and my npn sensor light does not turn on
Sounds like a short or mis-connected sensor.
@@DorianMcIntire thank you so much.. after i replace the sensor it work perpectly.
Strange why he didn’t used cpu power supply 24v instead used external battery I need help I need explanation
The batteries were used to explain some key concepts about how PLC inputs work. They are also readily available by most viewers who want to play with industrial sensors and do not have access to power supplies. It is typically inadvisable to use the same CPU power supply to also power sensors anyway. This was a teaching session and not an actual working PLC setup.
Can't you just use the PLC to power up the sensors instead of using the batteries?
I could have, but I wanted viewer to see that typically sensors are powered by a separate power supply and I wanted to show how that connection would work.
Thanks for the reply :)
Hi Dorian,
Thank you very much for your time & effort. you explained in a very simple and clear way. Thank you so much .can you pls provide your email id. if I have any doubt in plc I can contact you directly.
+Biju Cyriac Thanks for your nice comment. My email address is listed in the "About" section of my channel. Try to use the comment area as much as possible so others can benefit from answers to your questions. Also my email gets pretty busy at times and its easy for me to accidentally skip or pass over emails.
dorianmc@gmail.com
Hope your learning goes well.
:-) !!!
be proper way if you show the plc program.. bit confusing there video in general
Sorry you didn't like it. The video was only about interfacing and best practices for interfacing. The program simply transferred the state of the input to the output as was explained in the video. It was a single rung of ladder logic. The video was 18 minutes long and I didn't want get off track. Most of the 70,000+ viewers found it very useful.