0% found this document useful (0 votes)
13 views8 pages

PLC Notes

The document provides an overview of Programmable Logic Controllers (PLCs), detailing their operation, configurations, essential components, and programming standards. It highlights the advantages of PLCs, such as cost-effectiveness and reliability, and outlines the various types of input/output modules and their functions. Additionally, it emphasizes the importance of fail-safe design principles and a structured approach to logic development for effective industrial control systems.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views8 pages

PLC Notes

The document provides an overview of Programmable Logic Controllers (PLCs), detailing their operation, configurations, essential components, and programming standards. It highlights the advantages of PLCs, such as cost-effectiveness and reliability, and outlines the various types of input/output modules and their functions. Additionally, it emphasizes the importance of fail-safe design principles and a structured approach to logic development for effective industrial control systems.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Programmable Logic Controller (PLC)

Notes
Instructor: Mrs. Meera Ajit Khandekar
Department: Instrumentation & Control, College of Engineering, Pune

Learning Objectives
Students will understand:
PLC operation and functionality
Types of input/output modules
PLC instructions and programming

1. Introduction to PLC
Types of Processes

Process Type Description


Discrete Process Systems with distinct on/off states
Continuous Process Systems with variable analog signals

Key Advantages of PLCs


Cost Effective: Economical for controlling complex systems
Flexible: Can be reprogrammed and reapplied to different systems quickly
Computational Power: Enables sophisticated control algorithms
Troubleshooting: Built-in diagnostics reduce downtime
Reliability: Durable components ensure years of operation

2. PLC Configurations
PLCs come in five main types based on size and capability:
Configu
Size & Features Best For
ration
Large (18" × 30" × 10"), holds Complex applications,
Rack
multiple cards, highest cost high flexibility
Similar to racks, about half the
Mini Medium applications
size
Compact, all-in-one unit with Small applications, low
Shoebox
limited expansion cost
Deck-of-cards size, fixed I/O, Simple applications,
Micro
limited abilities lowest cost
Softwar Computer with interface card, Distributed systems,
e network capable network connectivity

3. Essential PLC Components


Every PLC contains four critical components:
1. Power Supply
Built-in or external unit
Common voltages: 24 VDC, 120 VAC, 220 VAC
2. CPU (Central Processing Unit)
Stores and processes ladder logic programs
Acts as the PLC's "brain"
3. I/O (Input/Output) Terminals
Monitor sensors and initiate actions
Connect field devices to the PLC
4. Indicator Lights
Display status: power on, program running, faults
Essential for diagnostics

4. PLC Rack Architecture


Slot Configuration
Power Supply: Unaddressed (external or separate)
Processor: Slot 0
I/O Modules: Non-zero slots
Address Elements
Each port has a unique address determined by:
Type: I (Input File) or O (Output File)
Slot: Rack number and slot location
Word/Bit: Terminal connection identifier

5. Input Devices
Types of Sensors

Sensor Type Measurement


Proximity Detects objects using inductance, capacitance, or
Switches light (logical)
Mechanical
Opens/closes electrical contacts (logical)
Switches
Potentiometer Measures angular position (continuous)
Measures linear displacement via magnetic
LVDT
coupling (continuous)

Discrete Input Module Functions


Senses signals from field sensors
Converts signals to correct PLC voltage levels
Isolates PLC from voltage/current fluctuations
Signals which sensor originated the input

6. Output Devices (Actuators)


Device Function
Solenoid
Switch hydraulic/pneumatic flow
Valves
Lights Can often be powered directly from PLC output
Motor Starters Large relays to handle high motor startup current
Accept continuous output for variable
Servo Motors
speed/position
7. I/O Module Specifications
Common Discrete I/O Voltage Ratings
Inputs: 24 VAC, 48 VAC, 120 VAC/VDC, 230 VAC/VDC, 5 VDC (TTL)
Outputs: 12-48 VAC, 120 VAC, 230 VAC, 120 VDC, 5-24 VDC

Output Switching Devices


Relay: Works with AC or DC loads
Triac: AC loads only
Transistor: DC loads only

Input Module Functions


Senses input signals from sensors
Converts to correct PLC voltage levels
Isolates PLC from input fluctuations
Signals source of input to processor

Output Module Functions


Acts as switch to supply power from user supply
Controls output device operation
Provides power to loads

8. Analog I/O Modules


Analog Input Module
Accepts analog voltage and current signals
ADC (Analog-to-Digital Converter): Converts analog to digital values
Devices: Temperature, light, speed, position transducers

Analog Output Module


Receives digital data from processor
DAC (Digital-to-Analog Converter): Converts digital to analog form
Devices: Small motors, valves, variable-speed drives

9. Sourcing vs. Sinking


Two methods for connecting output devices:
Method Description Best For
Sinking Output allows current to flow Different voltage
(NPN) to common ground supplies
Sourcing Current flows from supply Single supply voltage
(PNP) through device to ground (more popular)

10. Special I/O Modules


PLCs can utilize specialized modules for advanced functions:
High-Speed Counter Module
Thumb-Wheel Module
TTL Module
Encoder-Counter Module
BASIC/ASCII Module
Stepper-Motor Module
BCD-Output Module
PID Module
Servo Module
Communications Module
Language Module
Speech Module

11. PLC Operation Modes


Mode Purpose
RUN Mode Executes the control program continuously
PROGRAM Allows entering or updating program in RAM
Mode memory
TEST Mode Monitors program without energizing outputs

12. PLC Scan Cycle


How a PLC Scans
1. Examine Inputs: Read and record status of all input sensors
2. Execute Program: Process ladder logic instructions
3. Update Outputs: Write results to output module interface
4. One Complete Cycle: Called a "scan"

Scan Time = Measure of PLC response time


Operation in RUN Mode
Inputs are examined and status recorded in memory
If contacts provide current path (logic true), output coil is set to logic 1
Output module interface contact closes (activates)
If no conducting path, output set to logic 0, contact opens

13. PLC Programming Standards (IEC 61131)


International standard formulated by the International Electrotechnical Commission
(IEC):

Five Programming Languages


1. Ladder Diagram (LD) - Graphical, relay-like representation
2. Sequential Function Charts (SFC) - State-based flowchart style
3. Function Block Diagram (FBD) - Block-based visual programming
4. Structured Text (ST) - Text-based high-level language
5. Instruction List (IL) - Mnemonic/assembly-like code

SFC Architecture
Each step and transition coded as a module
Modules can use any IEC 61131-3 language
Enables hierarchical program organization

14. Input Programming: Push Buttons


Normally Open (NO) Push Button
Field device inputs binary 0
"Examine if Closed" instruction detects ON condition
When pressed (closed), output energizes

Normally Closed (NC) Push Button


Field device inputs binary 1
"Examine if Open" instruction detects OFF condition
When released (open), output de-energizes
Safety Critical: Stop buttons must always be NC

15. Timers
On-Delay Timer
Function: Waits for set time after logic becomes true before turning on
Off: Turns off immediately when logic goes false
Example: Car ignition delay before starting
Off-Delay Timer
Function: Turns on immediately, delays before turning off
Example: Engine continues running briefly after key removed

Timer Components

Component Function
Enable Bit (EN) True when timer instruction is true
Timer-Timing Bit (TT) True while accumulated value is changing
Done Bit (DN) True when preset value reached
Preset Word Timer setpoint (target time)
Accumulated Word Current timer count; stops at preset value

16. Fail-Safe Design Principles


Critical Safety Rules
For START Circuits (Normally Open):

Use NO switches/sensors for starting actions


Prevents unintended operation if wiring fails
Process cannot start if connection is broken
For STOP Circuits (Normally Closed):
Use NC switches for stopping actions
Process stops if connection fails
Emergency Stop (E-Stop): MUST be NC
Essential: E-Stop must cut master power, not just input to PLC

Design Philosophy
Failures should result in safe state (stopped/off) rather than dangerous state.

17. Seven-Step Logic Development Process


1. Block Diagram/P&ID: Create Piping and Instrumentation Diagram
2. Input/Output Listing: List all field devices and connections
3. Process Flowchart: Develop sequence of operations
4. Cause and Effect Diagram: Map inputs to required outputs
5. Logic Development: Write ladder logic program
6. Validation: Test on simulators, debug, add safety interlocks
7. Implementation: Execute, optimize, and fine-tune
18. Key Specifications to Consider
When selecting and configuring I/O modules, consider:
Nominal voltage levels
On-state and output voltage ranges
Current ratings (nominal, maximum, surge)
Leakage current specifications
Electrical isolation between channels
Number of inputs/outputs per module
Input impedance and capacitance
Ambient temperature ratings
Input/output delays and response times

Summary
PLCs provide flexible, reliable automation for both discrete and continuous processes
through modular input/output architecture, programmable logic, and multiple control
language options. Proper design following fail-safe principles ensures safe, dependable
industrial control systems.

Common questions

Powered by AI

Implementing fail-safe design principles in PLC systems is crucial to ensure that failures result in a safe state (stopped/off) rather than a dangerous one. Essential practices in fail-safe design include using normally closed (NC) switches for stop circuits and emergency stops, ensuring that E-Stops cut master power rather than just input to the PLC, and implementing safety interlocks and causing effect diagrams to map inputs to required safe outputs. These practices help to prevent unintended operations and maintain operational safety under fault conditions .

The use of normally open (NO) and normally closed (NC) switches in push button designs is fundamental to ensuring safe and reliable PLC operation. NO switches are used in start circuits to prevent unintended activation if wiring fails; the process cannot begin unless a connection is made. Conversely, NC switches are used in stop circuits to ensure processes stop immediately if a connection is broken, enhancing safety by defaulting to an off position in the event of a failure. This design helps prevent accidents and ensures that the system operates only under safe conditions .

Understanding discrete and continuous processes is important in the context of PLC operation and functionality because it determines the types of signals processed and the method of control. Discrete processes involve distinct on/off states suitable for systems requiring binary control, such as lighting or motor switching. Continuous processes, on the other hand, involve variable analog signals for systems requiring gradual changes, like temperature or speed control. Understanding these process types allows for appropriate PLC programming, ensuring efficient and precise control of different industrial applications .

Specialized I/O modules extend the functionality of PLCs by enabling specific tasks that standard I/O cannot efficiently perform. For instance, High-Speed Counter Modules handle rapid pulses from encoders, useful in high-speed applications. Modules like Thumb-Wheel, Encoder-Counter, or PID provide precise control and input options. Communication Modules enable integration with networks, and Language or Speech Modules add new interaction methods. This specialization allows PLCs to adapt to complex industrial tasks, increasing their versatility and application scope .

The scan cycle plays a crucial role in the overall operation of a PLC system by dictating the process through which a PLC collects inputs, processes program logic, and updates outputs. It begins with examining inputs and recording their status, which is essential for maintaining current system conditions. The PLC then executes the control logic based on the input status. Lastly, it updates the outputs according to processed logic, ensuring real-time control adjustments. The speed of the scan cycle, or scan time, is a measure of the PLC's response time, critical for systems where fast reaction times are required .

The size and capabilities of PLC configurations directly influence their suitability for different industrial applications. Rack-type PLCs, which are large and hold multiple cards, are suitable for complex applications needing high flexibility due to their expanded capacity. Mini PLCs, similar to racks but about half the size, are best for medium applications. Shoebox PLCs, being compact and all-in-one, are ideal for small, low-cost applications. Micro PLCs, the size of a deck of cards with fixed I/O, are used for simple applications due to their limited abilities. Software PLCs are network-capable and best for distributed systems requiring network connectivity. Thus, the configuration determines the PLC's application based on size and feature needs .

When selecting I/O modules for PLCs, key considerations include nominal voltage levels, on-state and output voltage ranges, current ratings (nominal, maximum, surge), leakage current specifications, electrical isolation between channels, the number of inputs/outputs per module, input impedance and capacitance, ambient temperature ratings, and input/output delays and response times. These considerations are important to ensure compatibility with the expected signal types and environmental conditions, and to maintain system reliability and safety by preventing electrical faults .

The different operating modes of a PLC, such as RUN, PROGRAM, and TEST modes, influence its functionality significantly. In RUN mode, the control program is executed continuously, which is essential for real-time control tasks. PROGRAM mode allows for entering or updating the program in RAM, facilitating system changes and development. TEST mode enables monitoring the program without energizing outputs, helping in debugging and ensuring the system functions as intended before full implementation. These modes provide flexibility and control during the setup, debugging, and execution phases of industrial processes .

PLCs offer several key advantages in industrial control systems, including cost-effectiveness, flexibility, computational power, troubleshooting, and reliability. They are economical for controlling complex systems and can be reprogrammed quickly to apply to different systems, providing great flexibility. Their computational power supports sophisticated control algorithms, which enhances efficiency in automation tasks. Built-in diagnostics allow for quick troubleshooting, reducing downtime. PLCs are designed with durable components that ensure years of reliable operation, thus contributing significantly to system reliability and efficiency .

The IEC 61131-3 standard enhances PLC programming and operation by providing a structured framework of five programming languages: Ladder Diagram (LD), Sequential Function Charts (SFC), Function Block Diagram (FBD), Structured Text (ST), and Instruction List (IL). This variety allows users to choose the most suitable language for a specific application, facilitating hierarchical program organization and enabling modular design practices. It supports creating complex control strategies while maintaining consistency and interchangeability across different systems, enhancing operational efficiency and reliability .

You might also like