@@realpars 1.can we use capacitive touch pad switch (with 5v /24 v dc relay )...... in place of start/stop/selector switch ? in a 24 v dc PLC? 2. As we are using retentive timers......how we can design ladder logic for PLC.. so that process start ITSELF after power supply resumes ? (i.e ..not starting with the help of start switch)
A few brands have selectable banks on the same card. They allow the same card to sink or source on the selected channel banks. It's very important to know the amperage requirements of the external circuit being sinked/sourced. Most PLC's don't have channel protection and input limits can be as low as 20mA.
You're either breaking the hot or the neutral (negative). Break the hot: sourcing. Break the neutral (or negative): sinking. Breaking the neutral of a load with a switch or output is STUPID because now you have a hot load out there looking for a path to ground, which might be found via a rubbed wire or some other mechanical / electrical defect instead of your PLC output. Sinking VS Sourcing for inputs - that is a more worthwhile distinction because you're not controlling "loads" as in moving equipment, you're controlling "loads" as in a sensor. You can program in some safety to prevent unintended behavior due to a single malfunctioning switch or an input going high at an unanticipated time. Sink your inputs. Source your outputs. Design your electrical control cabinet accordingly and enjoy a standard methodology.
Hi Dave. Thanks for your input and feedback. Switching power or switching ground is certainly a contentious issue yet vendors continue to market output modules allowing both. It's certainly buyer beware!
Thanks Dave. Sink your inputs. Source your outputs. Design your electrical control cabinet accordingly and enjoy a standard methodology. Short & Sweet Notes. Best Practice in Electrical point of view.
@@realpars Hello Dave, thanks for the nice and simple explanation. I have six pieces of modulating valves (Samson type) connected to DO modules. If I connect all the valves, three will come up and the other three will not, I thought I was experiencing a short circuit from the cables. I have rewired the cables, still the same. pls, what can possibly be the cause? thanks.
@5:00 They are all NPN transistors and are an irrelevant for an output type (sinking/sourcing). They are inside an optoisolator for a galvanic separation with max current ~50mA. The real switch is in a rectangle box with a triangle symbol. This is a driver with bigger current rating ~2A and the type of transistor inside determines whether output is sinking or sourcing. @5:30 I think animation would look more correct if a current was flowing from 24V into a driver (box with a triangle) to the output, load and to the ground. There wont be flowing current higher than 50mA through this optotransistor. IMHO putting an NPN optotransistor in schematic and hiding the transistor type inside a driver only makes people more confuse. I would do the opposite
Hi Voytechj ! Thanks for your eagle-eyed feedback. You are correct. @5:00 both modules have NPN opto-isolators. @5:30 the animation should also show current flowing into and out of the driver. The opto-coupler electrically isolates the load and when turned on, will, in turn, activate the output driver completing the load circuit. My bad for missing this!
Personally, I prefer sourcing I/O from its reliability standpoint. Sinking discrete (digital) inputs are the standard for PLCs in the US at least. Power is sent to the field through the field device and back to the input, then to ground. This means a failure on the field side of the input card has a real chance of bringing down the power supply or blowing a fuse. On a sourcing input, this won’t happen since the actual load is the PLC input and it’s inside the panel. Sourcing outputs may not be desirable for failsafe inputs since they can go active due to failures in the field and that’s not failsafe.
Hi Ryarios. Thanks for your input. As you say, sinking input modules are more prevalent. This means that sourcing input field devices are required in order for everything to work. That's not a big deal if the input devices are passive, but critical if the input devices are active. We've got a video in the works for PLC input modules. Switching power or switching ground is certainly a contentious issue yet vendors continue to market output modules allowing both.
Rules to live by: 1) If a Sensor is connected directly to the Positive(+) Power supply terminal, the sensor is PNP/sourced(with Positive power) Rule of thumb 2 P's: means the sensor receives and sends a positive electric charge. (Input card will be the opposite = Sinking) 2) If a Sensor is is connected directly to Negative(-) Power supply terminal, the sensor is NPN/Sinking. (Receive and Send negative power) To put it into an image: 1) Sourcing is a Faucet (Positive) (+) 2) Sinking is a Drain (Negative) (-)
PLC programmers and engineers need to know what I/O field devices are being used and how they will be wired. For example, if all the loads are connected to a common power supply return or ground, the output module needs to be a sourcing type. If the input I/O sensors are 3-wire PNP type, the input module needs to be a sinking type.
@@realpars Thank you for response! Just in my field of work I'm facing all variants of outputs (just depending on distributor), so I've just wondered - is there any particular reason for such variety besides voltage supply organization?
@@viktormakarov5232 This is related to the working principles of an NPN and PNP transistors. NPN is great for connecting and disconnecting load from the ground (sinking). One of his three pins (Emitter) is connected straight to the ground and other pin (Collector) to the output, then output to the load (relay, bulb, etc.) and finally to the power. In this way it works the best as a switch with very low resistance. If you try connect NPN straight to the power and try connect/disconnect power from the load, you will get very poor switch with high resistance or it wont work at all. PNP do an opposite, it is very good at disconnecting power from the output (sourcing). Some devices need that property of a switch and you have no choice and use PNP(sourcing) as an output.
COM is short for COMMON, the terminal to which all loads in a circuit to which the high side are referenced. So when a power supply puts out 24VDC, it is 24VDC as referenced to COM. In AC circuits, we use the term Neutral for the common low voltage wire.
So what is the reason why you would choose 1 over the other? I understand why you would choose transistor or relay output but not sure why you would choose sinking or sourcing output
Hi L CT, That’s a very good question. There’s really no simple answer other than the module chosen is often determined by the load. What do we mean by that? It’s possible that your load is wired in such a way that it is a sinking device. If that’s the case, you’ve got no choice but to go with a sourcing output module.
Hi , i just feel a bit confused about an output module being an sinking type since the output always flow the current to the load and the input module current flow is from the load??? thank you.
Hi @Amadou Bailo. It can be confusing for sure. First off, the current does not always flow from the output module output terminal to the load. The current sometimes flows into the output terminal. An input module doesn’t actually have a load, but some type of a switching device like a push-button switch or a proximity switch. And, believe it or not, sometimes the current flows out of the input module input terminal to this switching device. We explain PLC input module sinking and sourcing in one of our videos. You can find the video here. ua-cam.com/video/B65detMhnoc/v-deo.html It boils down to determining current flow between 2 devices. We can call them Device #1 and Device #2. If the current flows from Device #1 to Device #2, then Device #1 is the sourcing device and Device #2 is the sinking device. Don’t hesitate to reach out if you have more questions.
Hi @kahwai choong. Thanks for your question. If the I/O module is a sinking typle, the COM terminal will be connected to the negative "-" terminal of the power supply. . If the I/O module is a sourcing type, the COM terminal will be connected to the positive "+" terminal of the power supply.
Sir I have a doubt, you are talking about NPN and PNP, npn means sinking and pnp means sourcing and both devices basic concept is flow of current, now kindly tell me how BJT can allow to flow current in both directions as it is an unidirectional device, its flow of current will be in one direction(emitter to collector).
Hello Akash. You are correct. A BJT is a uni-directional device, and current flows between the emitter and the collector. I'm referring to conventional current flow in my discussion. In the NPN transistor, current flows from collector to emitter. In the PNP transistor, current flows from emitter to collector.
Hi Salouh, Pulse width Modulation is a topic on its own. PWM is a method of producing an analog type of control by digitizing the duty cycle of a digital output. PWM does really not fit in the DO module category where the output device is either fully on or fully off.
If I understand your question correctly, they are still valid. If the PLC is sourcing the output to the relay, then the ground will be common and the output from the PLC will turn on the relay. If however, PLC is sinking, then the +24V will be common and the ground output from the PLC output will turn on the relay.
Yes it is for outputs. If the relay is switching the ground then it’s sinking, if the relay is switching the plus side then it’s sourcing. I do not like sinking outputs. The load can operate without the output commanding it to, if the negative side of the load is grounded due to failure or accident. On a sourcing output the system either works when commanded or blows the circuit protection. (Unless the relay sticks shut)
Hi Chikenz, The concept of sinking and sourcing is still valid. The module will either sink or source the load current. The big difference is that with dry relay output modules, the current can be either sinked (.....if that's a word...) or sourced by the same module, or in many cases, both! Dry relay modules are happy with AC current too.
Hi Cristiano, We currently do not have any plans on adding translations in the near future. However, I will happily pass this on to our team. We do have English subtitles to almost all our video courses if that would be useful. Thanks for your feedback and happy learning!
Hi @Shahroz Khan. Thanks for your question. Every module will have its own specifications. for example, the AB 1756OB8 is an 8-output Sourcing module and can operate anywhere between 10V and 30V DC. Its nominal operating voltage is 24V DC. The current specification is more important to be aware of as excessive current can damage the internal transistor very quickly. The AB 1756OB8 is rated for a maximum of 2A per output point. In most plant applications, each output will be fused to prevent damage.
Strange. You have used a ground symbol to complete the circuit. Why not just a line connecting the battery to PLC common? Very important thing in PLC wiring is that current loops through the ground to be avoided. The video explanation does not require a ground symbol R egards.
Hello there. Thanks for your feedback. Old habits die-hard is the only response I have for your comment. I've used that ground symbol for years to indicate common, or the negative return of a power supply. I hesitate to draw lines connecting all commons as drawings tend to become confusing. You are correct. The IEC60417 5017 symbol for earth ground is shown. Perhaps a better choice would be the IEC60417 5020.
Thank you for answering my questions from years ago. No elsewhere I can find better and clearer explaination. I appreciate it.
That's amazing to hear! Happy learning.
@@realpars 1.can we use capacitive touch pad switch (with 5v /24 v dc relay )...... in place of start/stop/selector switch ? in a 24 v dc PLC?
2. As we are using retentive timers......how we can design ladder logic for PLC.. so that process start ITSELF after power supply resumes ? (i.e ..not starting with the help of start switch)
A few brands have selectable banks on the same card. They allow the same card to sink or source on the selected channel banks. It's very important to know the amperage requirements of the external circuit being sinked/sourced. Most PLC's don't have channel protection and input limits can be as low as 20mA.
Thank you RealPars for your clear and wonderful videos, please keep it up.
You're very welcome, happy learning!
Hey, send my regards to the creator team. They did a very good work.
Thanks a lot, Mohamad!
Love realpars, quick and easy for keeping sharp on the fundamentals
Thanks a lot, Johan!
@@realpars no problem it's the truth, been a fan for many years
You're either breaking the hot or the neutral (negative). Break the hot: sourcing. Break the neutral (or negative): sinking.
Breaking the neutral of a load with a switch or output is STUPID because now you have a hot load out there looking for a path to ground, which might be found via a rubbed wire or some other mechanical / electrical defect instead of your PLC output.
Sinking VS Sourcing for inputs - that is a more worthwhile distinction because you're not controlling "loads" as in moving equipment, you're controlling "loads" as in a sensor. You can program in some safety to prevent unintended behavior due to a single malfunctioning switch or an input going high at an unanticipated time.
Sink your inputs. Source your outputs. Design your electrical control cabinet accordingly and enjoy a standard methodology.
Hi Dave. Thanks for your input and feedback. Switching power or switching ground is certainly a contentious issue yet vendors continue to market output modules allowing both. It's certainly buyer beware!
Thanks Dave. Sink your inputs. Source your outputs. Design your electrical control cabinet accordingly and enjoy a standard methodology. Short & Sweet Notes.
Best Practice in Electrical point of view.
@@realpars Hello Dave, thanks for the nice and simple explanation. I have six pieces of modulating valves (Samson type) connected to DO modules. If I connect all the valves, three will come up and the other three will not, I thought I was experiencing a short circuit from the cables. I have rewired the cables, still the same. pls, what can possibly be the cause? thanks.
@5:00 They are all NPN transistors and are an irrelevant for an output type (sinking/sourcing). They are inside an optoisolator for a galvanic separation with max current ~50mA. The real switch is in a rectangle box with a triangle symbol. This is a driver with bigger current rating ~2A and the type of transistor inside determines whether output is sinking or sourcing.
@5:30 I think animation would look more correct if a current was flowing from 24V into a driver (box with a triangle) to the output, load and to the ground. There wont be flowing current higher than 50mA through this optotransistor.
IMHO putting an NPN optotransistor in schematic and hiding the transistor type inside a driver only makes people more confuse. I would do the opposite
Hi Voytechj ! Thanks for your eagle-eyed feedback. You are correct. @5:00 both modules have NPN opto-isolators. @5:30 the animation should also show current flowing into and out of the driver. The opto-coupler electrically isolates the load and when turned on, will, in turn, activate the output driver completing the load circuit. My bad for missing this!
Your videos are always useful. Keep it
Thank you so much, Vicky! Great to hear that
It was another awesome video! Quick and Simple ! Congratulations!
Thank you, Souza!
I like realpars,s animations
Thank you!
@@realpars welcome sir ji
that is , in clear way ...thank you Realpars
Glad you liked it, Ali!
VERY NICE AND USEFUL EXPLANATION - THANK YOUY شرح مفيد و مبسط - شكرا لكم
Glad to hear that, George!
Thank you Realpars!!
You're very welcome, Emmanuel
For more videos related to DeltaV, Honeywell, Yokogawa or ABB DCS, Visit our Channel and Subscribe.
I wish university lecture is same like this... thnks realpars🤗😍
Thank you!
Well explain 👌. Thank you
Thanks for your support!
Personally, I prefer sourcing I/O from its reliability standpoint. Sinking discrete (digital) inputs are the standard for PLCs in the US at least. Power is sent to the field through the field device and back to the input, then to ground. This means a failure on the field side of the input card has a real chance of bringing down the power supply or blowing a fuse. On a sourcing input, this won’t happen since the actual load is the PLC input and it’s inside the panel. Sourcing outputs may not be desirable for failsafe inputs since they can go active due to failures in the field and that’s not failsafe.
Hi Ryarios. Thanks for your input. As you say, sinking input modules are more prevalent. This means that sourcing input field devices are required in order for everything to work. That's not a big deal if the input devices are passive, but critical if the input devices are active. We've got a video in the works for PLC input modules. Switching power or switching ground is certainly a contentious issue yet vendors continue to market output modules allowing both.
Would be nice to have a video on isolated inputs/outputs as well. Relays, conditioners and multiplexers.
Hey!
Thanks for your comment and your suggestion. I will pass this on to our course developers!
Thanks for sharing and happy learning!
Thank you so much for sharing your knowledge. Awesome video
Our pleasure!
Amazing Tutorial and video! I wonder what kinds of tools are used to create those videos?
Nice. I was able to understand it now.
Great to hear that! Happy learning
You really help me from KMITL
Happy to hear that!
Best educational videos ever!
Thanks a million, David!
Excellent explanation 👍
Great to hear that, Sandesh!
Awesome video!!! More instrumentation videos to come sir..
Thanks for your support, Amin!
Great explanation.
Thank you very much
That's great, thank you!
Thank you, regards from Cancun Bonfil
You're very welcome!
Great Video. Explain was very good. Creation team did grate job. Just try to explain about S/S wiring connection In Mitsubishi PLC. thanks a lot.
Thanks for your feedback, Christoper!
Rules to live by:
1) If a Sensor is connected directly to the Positive(+) Power supply terminal, the sensor is PNP/sourced(with Positive power)
Rule of thumb 2 P's: means the sensor receives and sends a positive electric charge. (Input card will be the opposite = Sinking)
2) If a Sensor is is connected directly to Negative(-) Power supply terminal, the sensor is NPN/Sinking. (Receive and Send negative power)
To put it into an image:
1) Sourcing is a Faucet (Positive) (+)
2) Sinking is a Drain (Negative) (-)
Thank you for sharing that!
Amazing... And nice presentation
Thanks a lot, and happy learning!
Great video, very clearly explained! :)
Thank you, Chase!
You are awesome
Thank you
Im from iran 😉
Thank you!
Nice explanation!
But what's the practical meaning when designing schematics to choose between sinking and sourcing output types?
PLC programmers and engineers need to know what I/O field devices are being used and how they will be wired. For example, if all the loads are connected to a common power supply return or ground, the output module needs to be a sourcing type. If the input I/O sensors are 3-wire PNP type, the input module needs to be a sinking type.
@@realpars Thank you for response! Just in my field of work I'm facing all variants of outputs (just depending on distributor), so I've just wondered - is there any particular reason for such variety besides voltage supply organization?
@@viktormakarov5232 This is related to the working principles of an NPN and PNP transistors. NPN is great for connecting and disconnecting load from the ground (sinking). One of his three pins (Emitter) is connected straight to the ground and other pin (Collector) to the output, then output to the load (relay, bulb, etc.) and finally to the power. In this way it works the best as a switch with very low resistance. If you try connect NPN straight to the power and try connect/disconnect power from the load, you will get very poor switch with high resistance or it wont work at all.
PNP do an opposite, it is very good at disconnecting power from the output (sourcing). Some devices need that property of a switch and you have no choice and use PNP(sourcing) as an output.
great explanation
Glad it was helpful!
Thank you very much sir 👏👏👏.
You're very welcome, Oussama!
I am compelled o appreciate your work thanks
It's our pleasure!
Very good! Good job!
Thank you!
Good job !
So what is the COM terminal on PLCs? And why do we use it? What is the difference between COM dc or ac?
COM is short for COMMON, the terminal to which all loads in a circuit to which the high side are referenced. So when a power supply puts out 24VDC, it is 24VDC as referenced to COM. In AC circuits, we use the term Neutral for the common low voltage wire.
Well explained,,, Thank you
Thank you!
Thanks. This is amazing! Please, can you explain about RS485 and RS232 in PLC, converter, and HMI
Hi Ala!
Thanks for your comment and your suggestion. I will pass this on to our course developers!
Thanks for sharing and happy learning!
i love this guy
this is world best video
Glad to hear that!
So what is the reason why you would choose 1 over the other? I understand why you would choose transistor or relay output but not sure why you would choose sinking or sourcing output
Hi L CT, That’s a very good question. There’s really no simple answer other than the module chosen is often determined by the load. What do we mean by that? It’s possible that your load is wired in such a way that it is a sinking device. If that’s the case, you’ve got no choice but to go with a sourcing output module.
Hi , i just feel a bit confused about an output module being an sinking type since the output always flow the current to the load and the input module current flow is from the load??? thank you.
Hi @Amadou Bailo. It can be confusing for sure. First off, the current does not always flow from the output module output terminal to the load. The current sometimes flows into the output terminal. An input module doesn’t actually have a load, but some type of a switching device like a push-button switch or a proximity switch. And, believe it or not, sometimes the current flows out of the input module input terminal to this switching device. We explain PLC input module sinking and sourcing in one of our videos. You can find the video here. ua-cam.com/video/B65detMhnoc/v-deo.html
It boils down to determining current flow between 2 devices. We can call them Device #1 and Device #2. If the current flows from Device #1 to Device #2, then Device #1 is the sourcing device and Device #2 is the sinking device. Don’t hesitate to reach out if you have more questions.
Hi sir, if module is sinking type, 24v DC connection to the I/O module is "COM", if sourcing type, 24v DC is to I/O module "+" right
Hi @kahwai choong. Thanks for your question. If the I/O module is a sinking typle, the COM terminal will be connected to the negative "-" terminal of the power supply. . If the I/O module is a sourcing type, the COM terminal will be connected to the positive "+" terminal of the power supply.
Thank you so much!
You're very welcome!
Sir I have a doubt, you are talking about NPN and PNP, npn means sinking and pnp means sourcing and both devices basic concept is flow of current, now kindly tell me how BJT can allow to flow current in both directions as it is an unidirectional device, its flow of current will be in one direction(emitter to collector).
Hello Akash. You are correct. A BJT is a uni-directional device, and current flows between the emitter and the collector. I'm referring to conventional current flow in my discussion. In the NPN transistor, current flows from collector to emitter. In the PNP transistor, current flows from emitter to collector.
I have your courses they are wonderful but I didn't find pulse width modulation or PWM technic in D.O modules i need to understand it thank you
Hi Salouh, Pulse width Modulation is a topic on its own. PWM is a method of producing an analog type of control by digitizing the duty cycle of a digital output. PWM does really not fit in the DO module category where the output device is either fully on or fully off.
Fantastic 😊🇦🇺
Thank you very much, Simon!
Awesome video
Thank you!
Nice. Thanks.
Excellent !
Thank you!
Nice video, thank you so much. +1 SUB
Thank you! :)
Sir, how are you telling if it is NPN it is sinking module but if it is sinking module it can either be NPN or PNP ?
Hi there. Thanks for your question. A sinking module cannot be a PNP type. A PNP module is a sourcing module. An NPN module is a sinking module.
@@realpars Thank you sir
Thx, so if the digital output are relays, both sinking and sourcing are not valid?
If I understand your question correctly, they are still valid.
If the PLC is sourcing the output to the relay, then the ground will be common and the output from the PLC will turn on the relay.
If however, PLC is sinking, then the +24V will be common and the ground output from the PLC output will turn on the relay.
Yes it is for outputs. If the relay is switching the ground then it’s sinking, if the relay is switching the plus side then it’s sourcing. I do not like sinking outputs. The load can operate without the output commanding it to, if the negative side of the load is grounded due to failure or accident. On a sourcing output the system either works when commanded or blows the circuit protection. (Unless the relay sticks shut)
Hi Chikenz, The concept of sinking and sourcing is still valid. The module will either sink or source the load current. The big difference is that with dry relay output modules, the current can be either sinked (.....if that's a word...) or sourced by the same module, or in many cases, both! Dry relay modules are happy with AC current too.
Excellent
Thank you, Kishor!
thank u sooo very much
Great 👍
Thank you!
When to select source output and when to select sinking output??
Hi vikrant....... Checkout our responses to Ryarios and Dave Bennet below
will you translate the videos into Italian in the future?
Hi Cristiano,
We currently do not have any plans on adding translations in the near future. However, I will happily pass this on to our team.
We do have English subtitles to almost all our video courses if that would be useful.
Thanks for your feedback and happy learning!
@@realpars thank you very much
Thanks a lot.
Most welcome!
DOES PNP OUTPUT HAVE ANY SPECIFIC VOLTAGE?
Hi @Shahroz Khan. Thanks for your question. Every module will have its own specifications. for example, the AB 1756OB8 is an 8-output Sourcing module and can operate anywhere between 10V and 30V DC. Its nominal operating voltage is 24V DC. The current specification is more important to be aware of as excessive current can damage the internal transistor very quickly. The AB 1756OB8 is rated for a maximum of 2A per output point. In most plant applications, each output will be fused to prevent damage.
Thank you
Our pleasure, Aous!
Thanks!
You're very welcome, Nikolay!
excellent..
Greats!
Strange. You have used a ground symbol to complete the circuit. Why not just a line connecting the battery to PLC common? Very important thing in PLC wiring is that current loops through the ground to be avoided. The video explanation does not require a ground symbol R egards.
Hello there. Thanks for your feedback. Old habits die-hard is the only response I have for your comment. I've used that ground symbol for years to indicate common, or the negative return of a power supply. I hesitate to draw lines connecting all commons as drawings tend to become confusing. You are correct. The IEC60417 5017 symbol for earth ground is shown. Perhaps a better choice would be the IEC60417 5020.
Thanks,,
Great
❤
👍🏻
Why not just stick to the old terms SUPPLY & LOAD?
Hi there @D.G. Sinking and sourcing are the terms adopted by the industry and vendors, so we also use that.
Thank you very much!
You're welcome!
Thank you very much!
Our pleasure!