38
Programmable Logic Programmable Logic Controller Controller (PLC) (PLC)

Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Embed Size (px)

Citation preview

Page 1: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Programmable Logic Programmable Logic ControllerController

(PLC)(PLC)

Page 2: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

ContentsContentsControl ProcessWhat is PLC?General Architecture of PLCPLC Operating CyclePLC Hardware TypePLC Architecture EvolutionProgramming of PLC Basic PLC AdvantagesApplications

Page 3: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Control ProcessControl ProcessPhysical Quantity is sensed in the form of

small current/voltage e.g. Temperature, Pressure, Flow, Level etc (Sensor)

This Electrical Signal is amplified to a certain level (Amplifier)

Then amplified analogue output is converted into digital form. (Analogue to Digital Converter i.e. A/D)

This digital output is fed to the controller of the system to control the various physical quantities with the help of different devices. (PLC, Microcontroller, DSP etc…)

Page 4: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Block DiagramBlock Diagram

Physical Quantity(Temperature, Pressure etc..)

Amplifier

Analogue output in mA/mV

A/D

Amplified Analogue output

Controller(PLC, Microcontroller

etc…)

Devices(Motors etc…)

Digital

Control signals Digital

/Analogue

Page 5: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture
Page 6: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

What is PLC?What is PLC?A digitally operating electronic

apparatus which uses a programmable memory for internal storage of instructions

Implement specific functions, such as logic, sequencing, timing, counting and arithmetic

Control various types of machines or process through digital or analogue input/output.

Page 7: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Traditional concept of PLCTraditional concept of PLC

PLC performs relay equivalent functions

PLC performs ON/OFF control

Designed for industrial environment

Page 8: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

General Architecture of General Architecture of PLC PLC

Page 9: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

PLC Operating CyclePLC Operating Cycle

Page 10: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

PLC Signal FlowPLC Signal Flow

Output

Page 11: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

PLC Hardware TypePLC Hardware TypeA most basic PLC system is a self contained

PLC which has two terminal blocks, one for the Input and other for the Output, called “Micros”.

Typically they provide front panel LED status indication of I/O and processor status.

Page 12: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

2. Modular Chassis Based 2. Modular Chassis Based PLCPLCThe vast majority of PLC’s installed

today are modular chassis based PLC consisting of:

Page 13: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

3. Modular Chassis-less PLC 3. Modular Chassis-less PLC SystemsSystemsThe advanced PLC’s are chassis-

lessThese are modular PLC systems.These systems also have: -Processor - Power supply -I/O modules -Communication

card These components mount directly

on a panel to allow easy insertion and removal.

Page 14: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

General PLC BlocksGeneral PLC Blocks

Power Supply

CPU

Communicat-ion Module

Analogue Input

Analogue Output

Digital Input

Digital Output

220V, 50/60Hz

AC to DC conversion (12V or 48V)

Personal Computer

RS 232

Page 15: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Contd…Contd…

Page 16: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Contd…Contd…

48V DC

Page 17: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Contd…Contd…

48V DC

Page 18: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Contd…Contd…

Page 19: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Contd…Contd…

Bus system is

Page 20: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

PLC Architecture EvolutionPLC Architecture Evolution

Page 21: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

PLC Architecture EvolutionPLC Architecture Evolution

Page 22: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

PLC Architecture EvolutionPLC Architecture Evolution

Page 23: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

PLC Architecture EvolutionPLC Architecture Evolution

Page 24: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

PLC Architecture EvolutionPLC Architecture Evolution

Page 25: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

PLC Architecture EvolutionPLC Architecture Evolution

Page 26: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Programming of PLCProgramming of PLC The purpose of a PLC program is to

control the state of outputs based on the current condition of the inputs.

Types of programming :Ladder Logic (Analogous to Relay

Technology)Function Block (FB’s based on AND-OR logic)Visual Basic (VB based on C language)

*DOS based programming (Old Technology)

Page 27: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

1. Ladder Logic1. Ladder LogicMost popular and most commonly

used PLC language is known as “Ladder Logic” .

Ladder Logic purposely resembles relay logic.

In order to control a process we try to design the logical continuity from input to output of program.

Page 28: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Ladder Logic ConceptsLadder Logic Concepts

Line Neutral

Page 29: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Ladder Logic ConceptsLadder Logic Concepts

Page 30: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Ladder Logic ConceptsLadder Logic Concepts

Page 31: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Read and Write InstructionRead and Write Instruction

Read Instruction

Write Instruction

Page 32: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Some Important Some Important InstructionsInstructionsLatching/Unlatching Instruction:

Latch

UnlatchRetain the output energized until reset

Page 33: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Timer InstructionsTimer Instructions

Timer ON Delay(TON)

Timer OFF Delay(TOF)

Retentive timer-on delay(RTO)

Page 34: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Counter InstructionsCounter Instructions

Counter Up (CTU)

Counter Down (CTD)

Page 35: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Comparison InstructionsComparison Instructions

Equal (EQU)Not Equal (NEQ)Less Than (LES)Less Than or Equal (LEQ)Greater Than (GRT)Greater Than or Equal (GEQ)

Some other instructions are Sequencer Instruction, Shift Register Instruction etc…

Page 36: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Function BlockFunction BlockBased on pre-defined blocks of

various functions

ANDAB

Page 37: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

Basic PLC AdvantagesBasic PLC AdvantagesEase of ProgrammingEase of MaintenanceDesigned for Industrial

EnvironmentSuitable for Extreme

Environmental ConditionsQuick InstallationAdaptable to Change

Page 38: Programmable Logic Controller (PLC). Contents Control Process What is PLC? General Architecture of PLC PLC Operating Cycle PLC Hardware Type PLC Architecture

ApplicationsApplications