Chapter 1 (ECEG6223) PDF
Chapter 1 (ECEG6223) PDF
Chapter 1 (ECEG6223) PDF
CHAPTER ONE
INTRODUCTORY PLC CONCEPTS
Dr. Ayele Nigussie
2
Outline
• Introduction to PLCs
• Number Systems and Codes
• Logic Concepts
3
Chapter objectives
Introduction to PLCs
Introduction to PLCs…
DEFINITION
• PLCs are solid-state
members of the computer
family using integrated
circuits instead of
electromechanical
devices to implement
control functions.
• They store instructions to
control industrial
machines and processes.
Introduction to PLCs…
• In 1969, first PLCs appeared replacing original hardwired
relay logic.
• Relay logic uses electrically operated devices to
mechanically switch electrical circuits.
7
Introduction to PLCs…
• First PLCs were more or less just relay replacers.
• But today they
o are fast
o are small, low-cost PLCs
• consume less power
• contain high-density input/output (I/O) systems
• are space-efficient interfaces at low cost.
• are intelligent, microprocessor-based I/O interfaces
• include PID controllers
• and so on.
• PLCs now involve advanced programming like OOP.
8
Introduction to PLCs…
Allen-Bradley’s Programmable
controller family concept with
several PLCs
9
Introduction to PLCs…
PRINCIPLES OF OPERATION
• A PLC consists of two basic sections:
• CPU
• I/O interface system
10
Introduction to PLCs…
• The CPU governs all PLC activities. It has
1. processor
2. memory system and
3. system power supply
11
Introduction to PLCs…
• In 1 scan, the CPU completes
three processes:
1. reads, or accepts, input
data from field devices via
input interfaces,
2. executes, or performs,
control program stored in
the memory system, and
3. writes, or updates, the
output devices via the
output interfaces.
12
Introduction to PLCs…
• Input/output interface
13
Introduction to PLCs…
• (a) Personal computer used as a programming device
and (b) a mini-programmer unit.
14
Introduction to PLCs…
When do we go for a PLC?
• Is there a need for flexibility in control logic changes?
• Is there a need for high reliability?
• Are space requirements important?
• Are increased capability and output required?
• Are there data collection requirements?
• Will there be frequent control logic changes?
• Will there be a need for rapid modification?
• Must similar control logic be used on different machines?
• Is there a need for future growth?
• What are the overall costs?
If the answers to some of the above questions are yes,
a PLC is indeed need.
15
Introduction to PLCs…
• A PC used as a bridge between a PLC system and a main
computer system
16
Introduction to PLCs…
AREAS OF PLC APPLICATIONS
17
Introduction to PLCs…
AREAS OF
PLC
APPLICATIONS
18
Introduction to PLCs…
PLC PRODUCT APPLICATION RANGES
1. micro PLCs
2. small PLCs
3. medium PLCs
4. large PLCs
5. very large PLCs
19
Introduction to PLCs…
LADDER DIAGRAMS AND THE PLC
• The ladder diagram has and continues to be the
traditional way of representing electrical sequences of
operations.
Introduction to PLCs…
• PLC transformation of the simple diagram is
21
Introduction to PLCs…
• PLC I/O connection
diagram showing
no physical
connections
between the inputs
and outputs
24
Introduction to PLCs…
• Remote I/O station installation
25
Introduction to PLCs…
• EASE OF MAINTENANCE AND TROUBLESHOOTING
• From the beginning, PLCs have been designed with ease of
maintenance in mind. With virtually all components being solid-
state, maintenance is reduced to the replacement of modular,
plug-in components.
• Fault detection circuits and diagnostic indicators, incorporated
in each major component, signal whether the component is
working properly or malfunctioning.
• In fact, most failures associated with a PLC based system from
failures directly related to the field input/output devices, rather
than the PLC’s CPU or I/O interface system.
• The monitoring capability of a PLC system can easily detect
and correct these field device failures.
26
Introduction to PLCs…
• Failures in a PLC-based system
27
Introduction to PLCs…
• With the aid of the programming device, any programmed
logic can be viewed to see if inputs or outputs are ON or
OFF.
28
• 100011
• Exercise: Convert 20 to hexadecimal system.
42
Logic Concepts
• To understand PLCs and their applications, you must first
understand the logic concepts behind them.
THE BINARY CONCEPT
• The binary system has two states and can be represented
by ON and OFF.
• Binary 1 represents the presence of a signal.
• Binary 0 represents the absence of the signal.
• The two states are actually represented by two distinct
voltage levels, +V and 0V.
• Often, binary 1 (or logic 1) is referred to as TRUE, ON, or
HIGH, while binary 0 (or logic 0) is referred to as FALSE,
OFF, or LOW.
52
Logic Concepts…
• Binary concept using positive logic
Logic Concepts…
LOGIC FUNCTIONS
• The AND function
54
Logic Concepts…
55
Logic Concepts…
56
Logic Concepts…
• THE OR FUNCTION
57
Logic Concepts…
58
Logic Concepts…
59
Logic Concepts…
• THE NOT FUNCTION
60
Logic Concepts…
• Show the logic gate, truth table, and circuit representation for a
solenoid valve (V1) that will be open (ON) if selector switch S1 is ON
and if level switch L1 is NOT ON (liquid has not reached level).
61
Logic Concepts…
• PRINCIPLES OF BOOLEAN ALGEBRA AND LOGIC
62
Logic Concepts…
63
Logic Concepts…
64
Logic Concepts…
65
Logic Concepts…
66
Logic Concepts…
PLC CIRCUITS AND LOGIC CONTACT SYMBOLOGY
• Hardwired logic refers to logic control functions (timing,
sequencing, and control) that are determined by the way
devices are interconnected.
• A prime function of a PLC is to replace existing hardwired
control logic and to implement control functions for new
systems.
• Consider the following figures: The ladder circuit
connections of the hardwired relay circuit are
implemented in the PLC via software instructions.
• Thus all of the wiring can be thought of as being inside
the CPU (softwired as opposed to hardwired).
67
Logic Concepts…
Logic Concepts…
• The logic implemented in PLCs is based on AND, OR,
and NOT logic functions.
• These functions are used either alone or in combination to
form instructions that will determine if a device is to be
switched on or off.
• How these instructions are implemented to convey
commands to the PLC is called the language.
• The most widely used languages for implementing on/off
control and sequencing are ladder diagrams and
Boolean mnemonics, among others.
69
Logic Concepts…
70
Logic Concepts…
ON/OFF input and output devices.
71
Logic Concepts…
ADDRESSES USED IN PLCS
• Each symbol on a rung will have a reference number,
which is the address in memory where the current status
(1 or 0) for the referenced input is stored.
• When a field signal is connected to an input or an output
interface, its address will be related to the terminal where
the signal wire is connected.
• The address for a given input/output can be used
throughout the program as many times as required by the
control logic.
• This PLC feature is an advantage when compared to
relay-type hardware, where additional contacts often
mean additional hardware.
72
Logic Concepts…
73
Logic Concepts…
CONTACT SYMBOLS USED IN PLCS