Chap. 2 Introduction to PLC
Chap. 2 Introduction to PLC
❖ Concept of PLC
A PLC is a special-purpose computer that processes input signals and executes control logic to
produce desired output signals. The primary function of a PLC is to automate machinery and
processes by executing a user-defined program stored in its memory.
❖ Features of a PLC:
❖ Limitations of Relays
Traditional electromagnetic relays were widely used in industrial automation before PLCs.
However, they have several limitations:
4. Wear and tear: Contacts degrade over time due to mechanical movements.
PLCs have replaced relays in most industrial automation applications due to several advantages:
1. Reduced wiring: Eliminates the need for extensive wiring, simplifying system design.
5. Improved reliability: No moving parts result in higher durability and lower maintenance.
7. Networking capabilities: Can communicate with other PLCs and systems via industrial
networks.
Case Study:
A beverage manufacturing company replaced relay-based controls with PLCs, reducing downtime
by 40% and increasing production efficiency.
A PLC consists of several essential components that work together to process input signals and
control output devices.
1. Power Supply:
✓ The brain of the PLC that processes input signals, executes logic stored in memory and
generates outputs.
✓ Scans and executes the user program in a cyclic manner (Scan Cycle: Input → Process →
Output → Repeat).
✓ Performs error detection, communication with external devices, and data processing.
✓ E.g., Automated Traffic Light Control System: A Siemens S7-1200 PLC controls traffic lights
at an intersection. The CPU processes signals from vehicle sensors and pedestrian buttons to
optimize traffic flow. If emergency vehicles are detected, the PLC adjusts the signal timing to
allow passage.
2.1 Memory:
✓ Stores user programs, system configurations, process data and status information.
✓ ROM (Read-Only Memory) – Stores firmware and operating system (non-modifiable).
✓ RAM (Random Access Memory) – Holds temporary execution data (cleared if power is lost).
✓ EEPROM (Electrically Erasable Programmable Read-Only Memory) – Stores user programs
permanently.
✓ E.g., A Rockwell Automation PLC controls robotic arms assembling car parts. The welding
sequence is stored in EEPROM to prevent data loss after power failure.
2.2 Programming Device:
✓ A computer or dedicated terminal used to program and configure the PLC. This is used to write,
upload, modify, and debug PLC programs.
✓ Runs PLC programming software such as Siemens TIA Portal, Allen-Bradley Studio 5000,
Mitsubishi GX Works.
✓ Allows real-time monitoring and troubleshooting of automation processes.
✓ E.g., Automated Packaging Line: An engineer uses Studio 5000 to program an Allen-Bradley
PLC controlling packaging machines. It adjusts the conveyor belt speed and weight sensors to
maintain uniform packaging. It also uses the software to troubleshoot faults in the PLC logic
when package weight exceeds the limit.
3 Input Modules: The Input Module of a Programmable Logic Controller (PLC) is responsible
for receiving signals from external devices (such as sensors, switches, and buttons) and
converting them into data that the PLC CPU can process. The PLC then makes decisions based
on these inputs to control the output devices. PLC input modules can be classified based on
the type of signal they handle:
✓ Allow communication with external devices such as Human-Machine Interfaces (HMIs) and
SCADA systems.
✓ Supports wired (Ethernet, RS-232, RS-485, CAN bus) and wireless (Wi-Fi, Bluetooth, Zigbee)
communication.
✓ Used for remote control, cloud-based data storage, and predictive maintenance.
✓ E.g., Oil Refinery Control System: An engineer in a remote-control room adjust settings and
receive real-time alerts on refinery operations. If a pressure sensor detects abnormal levels, an
alarm is triggered, and the PLC takes corrective action.
PLCs can be programmed using various languages standardized under IEC 61131-3. The common
PLC programming languages include:
2. Function Block Diagram (FBD): Uses predefined blocks for logic representation.
5. Sequential Function Chart (SFC): Breaks control logic into steps and transitions.
❖ PLC Manufacturers
Each manufacturer offers various PLC models tailored to specific industrial applications, from
simple machine control to complex automation systems.
❖ Applications of PLC
2. Process Control: Managing chemical plants, oil refineries, and food processing.
5. Water Treatment Plants: Monitoring and controlling water purification and distribution.
1. Integration with IoT: PLCs are becoming smarter and more connected.
2. Cloud-Based Control Systems: Remote monitoring and programming via cloud platforms.
Overall, PLCs have revolutionized industrial automation by providing a reliable, flexible, and
efficient alternative to relay-based control systems. With their advanced programming capabilities
and ease of integration, PLCs are essential in modern manufacturing, process control, and robotic
applications. The future of PLC technology promises even greater efficiency and connectivity,
making automation smarter and more effective.