Unit 5
Unit 5
1
Course Content
Click to edit Master title style
• Introduction to Controllers
• Architecture of PLC
• Selection of PLC
2 2
Introduction
Click to edittoMaster
Controllers
title style
3 3
Supervisory Control and Data Acquisition
Click to edit Master title style
“
Distributed Control System
Relay Logic
Microcontroller
Microprocessor
4 4
Introduction
Click to PLCtitle style
to edit Master
5 5
Advantages
Click of PLC title style
to edit Master
• Increased Flexibility
• Fast response
• Easy programming and installation
• High control speed
• Network compatibility
• Troubleshooting and testing convenience
• High reliability
• Low Cost.
6 6
ClickComparison
The to edit Master
Table
title style
7 7
Click to edit Master title style
“
Richard E Dick Morley, An American
Mechanical Engineer considered as the
father of PLC.
8 8
Click to edit Master title style
Architecture of PLC
GNB
9 9
Definition
Click ofMaster
to edit PLC title style
1010
Architecture of
Click toPLC
edit Master title style
• PLC Architecture is Proprietary ( Closed Architecture).
• Central Processing Unit, I/O Section, Power Supply and
Programming Devices.
• PLC programs cannot be interchanged among different
PLC manufacturers.
• PLC I/O – Fixed and Modular Types.
• The power supply supplies DC power to other modules
that plug into the rack. power to field devices is
provided by external alternating current (AC) or direct
current (DC) supplies. For some small micro PLC
systems, the power supply may be used to power field
devices.
• The processor consists of a microprocessor for
implementing the logic and controlling the
communications among the modules
1111
Architecture of
Click toPLC
edit Master title style
1212
Architecture of
Click toPLC
edit Master title style
1313
Size
Click to of PLC
edit Master title style
• Nano is the smallest size with less than 15 I/O points.
• Micro type PLC 15 to 128 I/O points
• Medium type PLC 128 to 512 I/O points
• Large type PLC over 512 I/O points.
• In general it is not advisable to buy a PLC system that is larger than current needs dictate.
• There are three types of PLC application: Single-Ended, Multitask & Control Management.
• A single-ended or stand-alone PLC application involves one PLC controlling one process.
• A multitask PLC application involves one PLC controlling several processes.
• A control management PLC application involves one PLC controlling several other PLC’s.
• The largest integer number that a PLC counter function can reach is 65535
1414
Memory
Click of PLC
to edit Master title style
• Memory is the part of a PLC that stores data, instructions, and the control program. Memory size is
usually expressed in K values: 1 K, 6 K, 12 K, and so on(1 K means 1024).
• PLC that uses 8-bit words has 49,152 bits of storage with 6 K word capacity(8 x 6 x 1024 = 49,152).
• PLC using 32-bit words has 196,608 bits of storage with the 6 K memory(32 x 6 x 1024 = 1,96,608).
• Factors affecting the memory size needed for a particular PLC installation include:
1. Number of I/O points used
2. Size of control program
3. Data-collecting requirements
4. Supervisory functions required
5. Future expansion
1515
Click to edit Master title style
1616
I/O
Click to of PLC
edit Master title style
1717
I/O
Click to of PLC
edit Master title style
1818
I/O
Click to of PLC
edit Master title style
1919
Click to edit Master title style
2020
Click to edit Master title style
• The input circuit is composed of two basic sections: the power section and the logic section.
• An optical isolator is used to provide electrical isolation between the field wiring and the PLC
backplane internal circuitry.
2121
Click to edit Master title style
2222
Click to edit Master title style
2323
Click to edit Master title style
2424
Click to edit Master title style
2525
Click to edit Master title style
2626
Click to edit Master title style
• High Speed Counter Module
• Thumbwheel Module
• TTL Module
• Encoder Counter Module
• BASIC or ASCII Module
• Stepper Motor Module
• BCD Output Module
• PID Module
• Motion and Position Control Module
• Communication Module
2727
Click to edit Master title style
• Nominal Input Voltage • Channels per module
• Input Threshold Voltage • Input Current Voltage Range
• Nominal Current Per Input • Output Current Voltage Range
• Ambient Temperature Rating • Input Protection
• Input ON/OFF Delay
• Resolution
• Output Voltage
• Input Impedance and Capacitance
• Output Current
• Common Mode Rejection
• Inrush Current
• Short Circuit Protection
• Leakage Current
• Electrical Isolation
• Points per Module
• Backplane Current Draw
2828
Click to edit Master title style
• A processor module is divided into two
sections: the CPU section and the
memory section.
• The CPU section executes the program
and makes the decisions needed by the
PLC to operate and communicate with
other modules.
• The memory section electronically stores
the PLC program along with other
retrievable digital information.
• PLC power supplies are normally
designed to withstand momentary
losses of power without affecting the
operation of the PLC.
• Hold-up time, which is the length of
time a PLC can tolerate a power loss,
typically ranges from 10 ms to 3 s.
2929
Click to edit Master title style
3030
Click to edit Master title style
3131
Click to edit Master title style
3232
Click to edit Master title style
Switches Relays
GNB
3333
Switches
Click to edit Master title style
• Switches are used for operator input • The momentary pushbutton switch is
to send instructions to the control activated when the button is pressed,
circuit. and deactivated when the button is
• Switches are installed on the released.
moving parts of a machine to • The deactivation is done using an
provide automatic feedback to the internal spring
control system.
• The maintained pushbutton activates
• The most common switch is the when pressed, but remains activated
pushbutton. when it is released.
• There are two types of pushbutton, • Then to deactivate it, it must be
the momentary and maintained. pressed a second time.
3434
Switches
Click to edit Master title style
3535
Relays
Click to edit Master title style
3636
Click to edit Master title style
3737
Click to edit Master
Programming Languages
title in
style
PLC
3838
Ladder Diagram
Click to edit Master title style
• Ladder diagram is the universal
programming language of PLC. It has a short
abbreviation as LD and also known as
Ladder Logic. And it is one of the oldest
programming languages for PLC.
• Most popular all over the world. This
language is easy to learn by using a logic
gate and some important programming rules.
• This looks like relay racks, each device in the
relay rack would be represented by a symbol
on the ladder diagram.
• The name ladder diagram is based on the
programming language pattern similar to a
ladder, with two vertical rails that shows
electrical connection among a series of
horizontal rungs between them.
• Ladder Logic consists of virtual relaycontacts
and coils
3939
Function Block
Click to edit Diagram
Master title style
• Function block diagram (FBD) is a popular
and easy way to write a program like a
Ladder Diagram.
• FBD is represented like box which consists of
a number of lines of code for putting different
programming functions.
• It is a graphical language for programming
logic controller. So, it makes easy to describe
a system.
• In Function Block Diagram inputs and
outputs are connected in blocks by
connection lines.
• Function blocks are mainly used to do
repetitive tasks like starters, closed-loop
control, PID loops, etc.
4040
Structured Text title style
Click to edit Master
4141
Instruction List title style
Click to edit Master
• Instruction List (IL) is another type of PLC
programming language which uses the
mnemonic code.
• So the syntax of this programming language
is easy to remember.
• In general, AB PLC brand works on the
Instruction List (IL) programming language.
• Instruction List(IL) is one of the PLC
programming languages which is like an
assembly programming language.
• The mnemonic codes like LD, AND, OR, A,
etc. are used in this PLC programming
language.
• Sometimes it is easy to remember the code
while using this programming language.
4242
Sequential
Click to edit Function
Master titleChart
style
4343
Click to edit Master title style
44
44
TIMERS
Click to edit Master title style
• Timers are used to provide delay for energizing or de-energizing the output.
• A good application of timed interrupt is PID function block
• There are three types of Timers available in PLC.
1. ON Delay Timer
2. OFF Delay Timer
3. Retentive Timer
• There are few properties associated with timer. They are:
1. Time Base
2. Preset Value
3. Accumulated Value
4. Timer Name
5. Enable Bit
6. Done Bit
4545
On
ClickDelay Timer
to edit Master title style
• ON delay Timer is used to provide delay function only after the particular rung becomes true.
4646
On
ClickDelay Timer
to edit Master title style
4747
Off
ClickDelay
to editTimer
Master title style
• The off-delay timer (TOF) operation will keep the output energized for a time period after the rung
containing the timer has gone false.
4848
Off
ClickDelay
to editTimer
Master title style
4949
Retentive
Click to editTimer
Master title style
5050
Counters
Click to edit Master title style
• Electronic counters can count up, count down, or be combined to count up and down.
• Although the majority of counters used in industry are up-counters, numerous applications
require the implementation of down-counters or of combination up/down-counters.
• The attributes used for Counters are:
1. Counter Type
2. Counter Address
3. Counter Preset Value
4. Counter Accumulated Value
5. Counter Enable Bit
6. Done Bit
• Counters are classified into 3 types:
1. Up Counter
2. Down Counter
3. Up/Down Counter
4. High Speed Counter
5151
Up Counter
Click to edit Master title style
5252
Down
Click toCounter
edit Master title style
• The down-counter instruction will count down or decrement by 1 each time the counted event occurs.
• Each time the down-count event occurs, the accumulated value is decremented.
5353
Click to edit Master title style
Thank You
54