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 programmable logic controller 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. Keep reading to learn the basics of PLC programming.
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
In this blog post, you’ll learn about the mindset that helped me getting a PLC programming job with NO experience. This is my personal experience as someone who searched for a job in this field and as an employer who reviews resumes and interviews candidates for a variety of projects. So let’s get started!
In this article, we're going to introduce you to the NX and NJ series of Omron Controllers. The NX and NJ controllers are powerful as they combine both PLC and motion control functions into one package.PLC + Motion controlBefore we dive into the specifics of the...
There are many types of process flow meters. Coriolis mass flow meters; positive displacement flow meters, such as turbine meters; and volumetric flow meters, like the ultrasonic flow meter, just to name a few.In fact, there are at least eighteen different types of...
Learn how to program PLCs, install and wire industrial devices, and at the same time purchase them online.
+31 10 316 6400
Mon - Fri 8:30 am to 5:30 pm (CET)
Rotterdam Science Tower, Marconistraat 16,
3029AK Rotterdam, Netherlands
Help & Support
© 2021 RealPars B.V. All rights reserved.
Created with coffee and tea in Rotterdam.