PLC BasicsToday we are going to talk about the basics of a PLC, the workhorse of industrial automation.
Today we are going to talk about PLC basics. The programmable logic controller, or PLC, is a special purpose computer. It has no display, no keyboard, no printer, no hard drive, and hides in the control panel out on the factory floor, but it is still a computer.
Initially, the PLC was a replacement for panels of relays, devices that turn on and off. Making a machine run using relays as logic was time-consuming and challenging, and making a change in the logic or the operation of the machine was almost as complicated as starting over.
Relays also fail far more frequently than computer components, so that relay logic required more downtime to keep it running than newer PLC-based controls.
On top of all of that, relays use a lot of electricity, make lots of heat and soot, and take up lots of space.
An installed PLC is deceptively simple in appearance. You have a CPU module and input/output devices, referred to as I/O. Sometimes the I/O is part of the CPU, and sometimes it is in other modules.
The CPU communicates with the I/O, so in most systems they share a backplane that physically holds them in place and electronically connects them.
In other equipment, the I/O modules can be miles away from the CPU and connected with data cables, so that the PLC is not limited to a single cabinet or even the same building. Since the PLC is a computer, there is no need to limit it to only digital inputs and outputs. Over the years, the manufacturers added analog and other numerical inputs and outputs.
To make these numerical devices useful, they included calculation capability in the programming as well, so that we can now calculate, for instance, statistical process control (SPC) values and put PID controllers directly into the PLC program.
Since this is called a programmable logic controller, we need to program it. Most PLCs are programmed using an application running on a standard desktop or laptop PC.
They communicate with the PLC using Ethernet or a proprietary communication bus, depending on the manufacturer. Most manufacturers seem to have settled on Ethernet and/or USB in recent years.
Unfortunately, the PLC manufacturers have failed to agree on how we program the control logic. Although most of the manufacturers claim some form of “Ladder Logic,” the specifics of that language are different for each manufacturer, including different capabilities, different ways of doing the same thing, and even differences in the order in which the CPU processes the various pieces of logic.
One attempt to bring some order and inter-operability to this chaos is the IEC 61131 standard from the American National Standards Institute (ANSI). The excerpt from the ANSI web page gives a flavor of what is there.
The IEC 61131 standard defines several “programming languages” with different strengths and weaknesses. Local programming standards – your boss or the customer – will usually specify what language you use.
That wraps up this short discussion of the structure of PLCs – I hope you enjoyed this little introduction to the underlying architecture of many industrial control systems. Keep watching as we continue our exploration of the basics of industrial controls.
I hope this video has helped you. Make sure to check back later for more awesome videos!
Thank you so much for watching, sharing and continuing to be a part of our world.
With so much love and excitement,
The RealPars Team
By David Richardson
Posted on Aug 6, 2018
By David Richardson
Posted on Aug 6, 2018
5 ACTIONABLE TIPS FOR GETTING A PLC PROGRAMMING JOB WITH NO EXPERIENCE The mindset that helped me find my ideal job as a PLC programmer with NO experience. Working as a PLC Programmer is one of the most attractive and highest paying jobs in the engineering industry....
When engineers design modern process plants, they specify sensors to measure important process variables, such as flow, level, pressure, and temperature. These measurements are used to help the process control system adjust the valves, pumps and other actuators in the...
Have you heard of IEEE 802.3? It has a long history and has to do with our topic today, Ethernet. 1. Introduction to Ethernet Ethernet is a communication standard that was developed in the early ’80s to network computers and other devices in a local environment such...
RealPars is the world's largest online learning platform for automation engineers.
+31 10 316 6400
Mon - Fri 8:30 am to 5:30 pm (CET)
Rotterdam Science Tower, 6th floor, Marconistraat 16
3029 AK Rotterdam, The Netherlands
© 2019 RealPras B.V. All rights reserved.