Programmable Logic Controllers, PLC Programming, PLC Components
Programmable Logic Controllers (or PLC) are solid-state devices designed to perform logical decision making for control applications in the industrial environment. The PLC was immediately accepted in the automotive industry and are commonly found in applications in many different industries. The PLC performs functions that formerly required relays, solid-state electronics, or mini computers. PLC's are lightweight, rugged devices that operate without fans, air conditioning or electrical filtering.

Programmable Logic Controllers have three components. These three PLC components are: processor, power supply, and an input/output (I/O) section.

The Processor
The processor, or the brain of the PLC system, is a solid-state device designed to perform a wide variety of production, machine tool, and process-control functions. Conventional electromechanical devices, relays and their associated wiring formerly performed these functions. Processors provide these same functions, in a wider scope and variety of control functions, with minimal effort, making the PLC a much more popular choice.

The processor operates on DC power (± 5V), that is supplied by the power supply. Internal DC power is also routed through the processor and operates a portion of the I/O and devices connected to the service port of the PLC. Once the ladder-diagram program is entered into the processor, it remains until changed by the user with one of the programming devices. The program is unaltered through power failure or power off conditions.
The Power Supply
The Power supply for a Programmable Logic Controller converts the input source power into voltages required for internal circuitry. In some cases, it also provides an isolated VDC supply to power DC input circuits, switches and other indicators. The Power Supply of the PLC is an essential component to running the PLC.
DC/DC Converter PLC Power Supply
Frequency Converter PLC Power Supply
Linear PLC Power Supply
Switching PLC Power Supply
The Power Supplies pictured above are examples of Power Supplies that may be found in a PLC.
The PLC Input/Output (I/O)
Electrical noise, such as spikes in the power lines or load kick-back would have serious impact on a PLC's internal circuits since its CPU operates at very low voltages levels. This is where the Input/Output (I/O) portion of a PLC plays a critical role. The I/O, both inputs and outputs, protects the CPU from electrical noise. The I/O section is where status signals are filtered to remove noise, validate voltage levels, and CPU decisions are made and put into operation. The PLC Inputs provide their status to a storage area within the CPU and outputs are driven from similar stored status in the CPU.

Real world devices such as pushbuttons, limit switches and sensors are connected through the input modules in the PLC. These modules detect a change in the state of input signals and provide a stored image to input elements in ladder logic. The input elements simulate the actions of relay contacts within the Programmable Logic Controller. In turn, output elements are "energized," which produces desired output signals to drive loads such as motor controllers, contactors, solenoids, and pilot lights, via the output modules in the I/O's. As a general rule, each instruction in ladder logic requires one word of memory. Each instruction is programmed so that series contacts are ANDed and parallel contacts are ORed.

Programmable Logic Controllers are available with operating voltages from 12V to 240V AC or DC, and I/O's up to 512

PLC Input/Output Diagram center-block
PLC Programming
Programmable Logic Controllers are simple to program. They use a relay ladder language that's very similar to magnetic relay circuitry. Engineers, technicians, and electricians can learn to program the PLC without extensive training or experience. There are numerous advantages in using Programmable Logic Controllers versus a relay or solid-state electronics. In a PLC, changes can be accomplished quickly, and in most cases, without hardware modifications to the controller. PLC's are reusable and indicator lights on the PLC at major diagnostic points assist in troubleshooting. It's reliable, designed for the industrial environment and easy to maintain. Along with its cost savings, the Programmable Logic Controller is flexible and able to perform multiple functions.
PLC Video Overview