PLC Basics | Programmable Logic Controller - YouTube

Channel: RealPars

[4]
Today we are going to talk about the basics of a PLC,
[9]
the workhorse of industrial automation.
[23]
Before we get into today’s video, if you love our videos,
[27]
be sure to click the like button below,
[30]
and make sure to click subscribe and the bell to receive notifications of new RealPars videos.
[36]
This way you never miss another one!
[41]
The programmable logic controller, or PLC, is a special purpose computer.
[47]
It has no display, no keyboard, no printer, no hard drive,
[53]
and hides in the control panel out on the factory floor, but it is still a computer.
[61]
Initially, the PLC was a replacement for panels of relays,
[65]
devices that turn on and off.
[68]
Making a machine run using relays as logic was time-consuming and challenging,
[74]
and making a change in the logic or the operation of the machine
[77]
was almost as complicated as starting over.
[82]
Relays also fail far more frequently than computer components,
[86]
so that relay logic required more downtime to keep it running than newer PLC-based controls.
[93]
On top of all of that, relays use a lot of electricity,
[98]
make lots of heat and soot, and take up lots of space.
[104]
An installed PLC is deceptively simple in appearance.
[108]
You have a CPU module and input/output devices, referred to as I/O.
[115]
Sometimes the I/O is part of the CPU, and sometimes it is in other modules.
[124]
The CPU communicates with the I/O,
[127]
so in most systems they share a backplane that physically holds them in place
[132]
and electronically connects them.
[136]
In other equipment, the I/O modules can be miles away from the CPU
[141]
and connected with data cables,
[143]
so that the PLC is not limited to a single cabinet or even the same building.
[150]
Since the PLC is a computer, there is no need to limit it
[154]
to only digital inputs and outputs.
[157]
Over the years, the manufacturers added analog and other numerical inputs and outputs.
[165]
To make these numerical devices useful,
[168]
they included calculation capability in the programming as well,
[173]
so that we can now calculate, for instance,
[176]
statistical process control (SPC) values and put PID controllers directly into the PLC program.
[186]
Since this is called a programmable logic controller, we need to program it.
[192]
Most PLCs are programmed using an application running on a standard desktop or laptop PC.
[201]
They communicate with the PLC using Ethernet or a proprietary communication bus,
[206]
depending on the manufacturer.
[209]
Most manufacturers seem to have settled on Ethernet and/or USB in recent years.
[217]
Unfortunately, the PLC manufacturers have failed to agree on how we program the control logic.
[225]
Although most of the manufacturers claim some form of “Ladder Logic,”
[229]
the specifics of that language are different for each manufacturer,
[234]
including different capabilities, different ways of doing the same thing,
[239]
and even differences in the order in which the CPU processes the various pieces of logic.
[247]
One attempt to bring some order and inter-operability to this chaos
[252]
is the IEC 61131 standard from the American National Standards Institute (ANSI).
[261]
The excerpt from the ANSI web page shown here gives a flavor of what is there.
[266]
The IEC 61131 standard defines several “programming languages”
[272]
with different strengths and weaknesses.
[275]
Local programming standards (your boss or the customer)
[280]
will usually specify what language you use.
[285]
That wraps up this short discussion of the structure of PLCs.
[289]
I hope you enjoyed this little introduction to the underlying
[293]
architecture of many industrial control systems.
[297]
Keep watching as we continue our exploration of the basics of industrial controls.
[308]
Make sure that you head over to realpars.com.
[311]
To find even more training material for all of your PLC Programing needs.
[316]
We offer many videos to assist you in learning PLC Programing
[320]
and landing that job in a high-paying,
[323]
highly thought after field of automation and controls engineering.
[327]
Go to realpars.com and subscribe to our highly effective training series now!