0% found this document useful (0 votes)
19 views

Chap. 2 Introduction to PLC

A Programmable Logic Controller (PLC) is an industrial digital computer used for automating manufacturing processes, offering advantages over traditional relay systems such as reduced wiring, high-speed operation, and programmability. PLCs consist of essential components including a power supply, CPU, input/output modules, and communication interfaces, and can be programmed using various standardized languages. They are widely applied in industries like manufacturing, process control, and building automation, with future trends pointing towards increased IoT integration and cloud-based systems.

Uploaded by

Rahul Mali
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Chap. 2 Introduction to PLC

A Programmable Logic Controller (PLC) is an industrial digital computer used for automating manufacturing processes, offering advantages over traditional relay systems such as reduced wiring, high-speed operation, and programmability. PLCs consist of essential components including a power supply, CPU, input/output modules, and communication interfaces, and can be programmed using various standardized languages. They are widely applied in industries like manufacturing, process control, and building automation, with future trends pointing towards increased IoT integration and cloud-based systems.

Uploaded by

Rahul Mali
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

❖ What is PLC?

A Programmable Logic Controller (PLC) is an industrial digital computer designed to control


manufacturing processes, such as assembly lines, robotic devices, or any activity requiring high
reliability, ease of programming, and process fault diagnosis. PLCs are widely used in industrial
automation to replace traditional relay-based control systems.

❖ 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:

1. Real-time operation: Responds immediately to input changes.

2. Rugged design: Can withstand harsh industrial environments.

3. Programmability: Allows users to modify control logic without rewiring.

4. Modular architecture: Components can be customized for specific applications.

5. Ease of maintenance: Troubleshooting is simpler compared to traditional relay systems.

❖ Limitations of Relays

Traditional electromagnetic relays were widely used in industrial automation before PLCs.
However, they have several limitations:

1. Complex wiring: Requires extensive wiring, making troubleshooting difficult.

2. Limited functionality: Only capable of simple ON/OFF operations.

3. Slow response time: Mechanical switching is slower than electronic processing.

4. Wear and tear: Contacts degrade over time due to mechanical movements.

5. Large space requirement: Large-scale relay systems occupy significant space.

6. Lack of flexibility: Changes in logic require physical rewiring.


❖ Advantages of PLCs Over Electromagnetic Relays

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.

2. High-speed operation: Electronic processing is much faster than mechanical relays.

3. Compact design: Requires less space compared to relay-based systems.

4. Programmability: Logic changes can be made via software without rewiring.

5. Improved reliability: No moving parts result in higher durability and lower maintenance.

6. Advanced functions: Supports timers, counters, mathematical operations, and complex


logic.

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.

❖ Building Blocks of PLC

A PLC consists of several essential components that work together to process input signals and
control output devices.

1. Power Supply:

✓ Converts AC voltage into the required DC voltage for PLC operation.


✓ Ensures stable power delivery to CPU, memory, and I/O modules.
✓ Provides backup power (in case of a power failure) using a UPS (Uninterruptible Power
Supply) or battery.
✓ E.g., Automated Beverage Bottling Plant: A Siemens S7-1500 PLC is used to control conveyor
belts and bottle-filling stations. A 24V DC power supply ensures continuous operation. If
power fluctuations occur, a UPS backup system keeps the PLC running to avoid production
downtime.
2. Central Processing Unit (CPU):

✓ 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:

3.1 Digital Input (DI) Module:


✓ It handles binary (ON/OFF) signals from external devices.
✓ Converts AC or DC voltage signals into logic signals (1 or 0) that the PLC can process.
✓ Common input voltage levels: 24V DC, 120V AC, 230V AC.
✓ Used with push buttons, limit switches, proximity sensors, emergency stop buttons, etc.
✓ E.g., Conveyor Belt System: A Siemens S7-1200 PLC receives input from a photoelectric
sensor mounted on a conveyor. When an object is detected, the sensor sends a digital HIGH
(1) signal to the PLC. The PLC activates the motor (via an output module) to move the
conveyor. If an emergency stop button is pressed, the PLC immediately stops the conveyor.
3.2 Analog Input (AI) Module:
✓ Handles continuous (variable) signals from analog sensors.
✓ Converts voltage (0-10V) or current (4-20mA) signals into digital values for the PLC.
✓ Used with temperature sensors, pressure sensors, flow meters, level transmitters, etc.
✓ E.g., Room temperature control using thermostat or thermocouples
✓ It may be High-Speed Counter also that Processes high-frequency pulse signals from encoders,
rotary sensors, or pulse generators. This is used for position tracking, speed measurement, and
counting operations and essential in applications where fast signal processing is required.
✓ E.g., A Mitsubishi PLC is used in a CNC lathe machine to control the movement of a cutting
tool. A rotary encoder attached to the tool sends high-speed pulse signals to the PLC via the
HSC module. The PLC continuously tracks the position of the tool and ensures precise cutting.

4 Output Modules: The Output Module of a Programmable Logic Controller (PLC) is


responsible for controlling external devices by receiving instructions from the PLC CPU. It
converts the PLC’s logic signals into electrical signals to operate actuators, motors, relays,
solenoids, lights, alarms, and other output devices. PLC output modules are classified based
on the type of signal they handle:
4.1 Digital Output Module:
✓ Sends ON/OFF (binary) signals to control actuators, relays, solenoids, motors, alarms, and
indicator lights.
✓ It converts the PLC’s internal logic signals into a form that external devices can use. Common
voltage levels: 24V DC, 120V AC, 230V AC.
✓ E.g., Conveyor Belt System: A Siemens S7-1200 PLC controls a conveyor belt in a packaging
plant. When an object is detected by a photoelectric sensor (input module), the PLC sends a
HIGH (1) signal to the DO module. The DO module activates the motor contactor, starting the
conveyor. When the object reaches the end of the belt, the PLC sends a LOW (0) signal,
stopping the conveyor.
4.2 Analog Output Module:
✓ Sends continuous (variable) control signals to external devices like speed controllers,
proportional valves, and servo motors.
✓ Converts the PLC's digital processing data into analog signals (e.g., 0-10V or 4-20mA).
✓ Used in applications requiring smooth control of actuators like variable speed drives (VFDs),
proportional valves, dimmers, analog actuators, etc.
✓ E.g., Variable Speed Control of a Fan: Rockwell Automation PLC controls the speed of an
industrial cooling fan. The PLC receives temperature data from an analog input sensor. If the
temperature is high, the AO module increases the fan speed (via a VFD). If the temperature is
low, the AO module reduces the fan speed to save energy.

I/O Module Type Signal Type Devices Used Example Application


Digital Input ON/OFF (Binary) Push buttons, sensors, Object detection on
(DI) limit switches conveyor belts
Digital Output ON/OFF (Binary) Motors, relays, Parking barrier system
(DO) alarms, lights
Analog Input Continuous (0- Temperature sensors, Boiler temperature
(AI) 10V, 4-20mA) pressure sensors control
Analog Output Continuous (0- Speed controllers, Variable Speed Drive
(AO) 10V, 4-20mA) servo motors (VFD) control
5 Communication Interfaces:

✓ 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.

❖ Different Programming Languages

PLCs can be programmed using various languages standardized under IEC 61131-3. The common
PLC programming languages include:

1. Ladder Diagram (LD): Graphical representation similar to relay logic.

2. Function Block Diagram (FBD): Uses predefined blocks for logic representation.

3. Structured Text (ST): High-level language similar to Pascal.

4. Instruction List (IL): Low-level assembly-like programming.

5. Sequential Function Chart (SFC): Breaks control logic into steps and transitions.

❖ PLC Manufacturers

There are several leading PLC manufacturers globally, including:

1. Siemens: SIMATIC PLC series.

2. Allen-Bradley (Rockwell Automation): ControlLogix and MicroLogix series.

3. Mitsubishi Electric: MELSEC PLCs.

4. Omron: Sysmac PLC series.

5. Schneider Electric: Modicon PLC series.


6. ABB: AC500 PLCs.

7. Delta Electronics: DVP series PLCs.

Each manufacturer offers various PLC models tailored to specific industrial applications, from
simple machine control to complex automation systems.

❖ Applications of PLC

PLCs are used in a wide range of industries, including:

1. Manufacturing Automation: Controlling assembly lines and robotic arms.

2. Process Control: Managing chemical plants, oil refineries, and food processing.

3. Material Handling: Automation of conveyor belts and sorting systems.

4. Building Automation: Controlling HVAC systems, elevators, and lighting.

5. Water Treatment Plants: Monitoring and controlling water purification and distribution.

Future Trends in PLC Technology

1. Integration with IoT: PLCs are becoming smarter and more connected.

2. Cloud-Based Control Systems: Remote monitoring and programming via cloud platforms.

3. Artificial Intelligence in PLCs: Enhancing decision-making and predictive maintenance.

4. Wireless Communication: Reducing dependency on wired networks for industrial


automation.

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.

You might also like