SlideShare a Scribd company logo
1 of 36
1Week© Vocational Training Council, Hong Kong.
│ Lecture 2 │
Programmable Logic Controller (PLC)
Hardware
EEC3420 Industrial Control
Department of Electrical Engineering
2Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Learning Objectives

Understand the basic hardware components.

Understand the operating principles of PLC.
3Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Background of PLC

low cost, compact, versatile units based on the
standard microprocessor architecture used in the
control of machines or processes

designed for ease of programming and maintenance

replace the old relay logic control systems in
automated manufacturing

provide an easy and efficient replacements for the
bulky relay logic controllers
4Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Definition of PLC

also known as programmable controller (PC) defined by
the National Electrical Manufacturers Association
(NEMA) in 1978 as:
"a digitally operating electronic apparatus which uses a
programmable memory for the internal storage of
instructions for implementing specific functions, such as
logic, sequencing, timing, counting and arithmetic, to
control through digital or analog input/output, various
types of machines or process".
5Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Advantages of PLC

Cost effective

Flexible

Computational abilities allow more sophisticated
control

Trouble shooting aids make programming easier

Reliable
6Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Typical applications of PLC

Embedded control in standard or custom-designed machines

Control of conveyor systems

Networked to manage large complex distributed control systems

Security alarm monitoring system

Elevator control

Air-conditioning control panel

Water treatment plant

Warning system on-board of ocean vessels.

Smoke candle control on-board aircraft for air-show.

Underground coal-mining machines.

Central building vacuum system.
7Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Electromagnetic relays

a voltage applied to the input coil,
the resulting current creates a
magnetic field

magnetic field pulls a metal switch
towards it and the contacts touch,
closing the switch

contact that closes when the coil
is energized is called Normally
Open (NO) contact

contact that is closed when the
input coil is not energized is called
Normally Closed (NC ) contact
8Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Relay circuit and ladder diagram

The first relay on the left is used
as NC, and will allow current to
flow until a voltage is applied to
the input A.

The second relay is NO and will
not allow current to flow until a
voltage is applied to the input B.

If current is flowing through the
second relay coil then current
will flow through the coil in the
third relay, and close the switch
for output C.

This circuit would normally be
drawn in the ladder diagram as
shown.
9Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Simulated model of a PLC

there are two inputs from
push buttons

imagine the inputs as
activating 24V DC relay
coils in the PLC

in turn drives an output
relay that switches 220
VAC, that will turn on a
light
10Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
A self-hold circuit

input B will onlybe on when the output B is on

if B is off, and A is energized, then B will turn on

if B turns on then the input B will turn on, and keep output B on even if input A goes off

after B is turned on the output B will not turn off
Note: When A is pushed, the output B will turn on, and
the input B will also turn on and keep B on perma
nently - until power is removed.
A
B
B
Note: The line on the right is being left off intentionally
and is implied in these diagrams.
11Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC standards - IEC 61131
Developed with the input of vendors, end-users and
academics, IEC 61131 consists of five parts:
• General information
• Equipment and test requirements
• PLC programming languages
• User guidelines
•
Communications
12Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC Programming Languages Standard
IEC 61131-3 is the international standard for
programmable controller programming languages.
As such, it specifies the syntax, semantics and display for
the following suite of PLC programming languages:
• Ladder diagram (LD)
• Sequential Function Charts (SFC)
• Function Block Diagram (FBD)
• Structured Text (ST)
• Instruction List (IL)
13Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Ladder diagram and instruction list
14Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Sequential Function Charts (SFCs)
SFCs have been developed to accommodate the
programming of more advanced systems
15Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC simulation using Personal Computer
With TRiLOGI’s simulator anyone could write ladder
programs and immediately test them using just the
keyboard and see the result of the action on screen.
16Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC scan cycle
• the control loop is a continuous cycle of the PLC
reading inputs, solving the ladder logic, and then
changing the outputs
• like any computer this does not happen instantly
Read inputs
PLC program changes outputs
by examining inputs Set new outputs
Process changes and PLC pauses
while it checks its own operation
THE
CONTROL
LOOP
Power turned on
17Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
The PLC internal working cycle
• PLC accepts the inputs from the
Input Port and stores the data to
the Input Image Register
• PLC then executes the ladder
logic program with the input
image content in a sequential
manner, that is, from the left to
the right and from the top to the
bottom
• upon the execution of a rung in
the ladder, the contents in the
Component Image Register are
updated and at the end of a
cycle, the outputs are updated
18Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC Hardware
Power Supply - This can be built into the PLC or be an
external unit. Common voltage levels required by the
PLC (with and without the power supply) are 24Vdc,
120Vac, 220Vac.
CPU (Central Processing Unit) - This is a computer where
ladder logic is stored and processed.
I/O (Input/Output) - A number of input/output terminals must
be provided so that the PLC can monitor the process
and initiate actions.
19Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC Hardware
Indicator lights - These indicate the status of the PLC
including power on, program running, and a fault.
These are essential when diagnosing problems.
Software - A software based PLC requires a
computer with an interface card
20Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
INPUTS and OUTPUTS of PLC
• Inputs to, and outputs from, a PLC are necessary
to monitor and control a process. Both inputs and
outputs can be categorized into two basic types:
digital or continuous.
• Outputs to actuators allow a PLC to cause
something to happen in a process. A short list of
popular actuators is given below in order of relative
popularity
21Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
INPUTS and OUTPUTS of PLC
• Inputs come from sensors that translate physical
phenomena into electrical signals. Typical
examples of sensors are listed below in relative
order of popularity.
• Proximity Switches - use inductance, capacitance
or light to detect an object logically.
• Switches - mechanical mechanisms will open or
close electrical contacts for a logical signal.
22Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
INPUTS and OUTPUTS of PLC
• Potentiometer - measures angular positions
continuously, using resistance.
• LVDT (linear variable differential transformer) -
measures linear displacement continuously using
magnetic coupling.
• Inputs for a PLC come in a few basic varieties, the
simplest are AC and DC inputs.
23Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
INPUTS and OUTPUTS of PLC
• Outputs to actuators allow a PLC to cause
something to happen in a process. A short list of
popular actuators is given below in order of relative
popularity.
• Solenoid Valves - logical outputs that can switch a
hydraulic or pneumatic flow.
• Lights - logical outputs that can often be powered
directly from PLC output boards.
24Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
INPUTS and OUTPUTS of PLC
• Motor Starters - motors often draw a large amount
of current when started, so they require motor
starters, which are basically large relays.
• Servo Motors - a continuous output from the PLC
can command a variable speed or position.
• Outputs from PLCs are often relays, but they can
also be solid state electronics such as transistors
for DC outputs or Triacs for AC outputs.
• Continuous outputs require special output cards
with digital to analog converters.
25Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Input connection
• some PLCs
require
external DC
supply
• some PLCs
have built-in
24 VDC
supply
26Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
INPUTS of PLC
• PLC inputs must
converts a variety
of logic levels to
the TTL +5V dc
logic levels used
on the data bus
• can be done with
circuits similar to
those shown.
27Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC Input Trade-offs
• DC voltages are usually lower, and therefore safer (i.e., 12-24V)
• DC inputs are very fast, AC inputs require a longer on-time. For
example, a 60Hz wave may require up to 1/60s for reasonable
recognition
• DC voltages can be connected to larger variety of electrical
systems
• AC signals are more immune to noise than DC, so they are suited
to long distances, and noisy (magnetic) environments
• AC power is easier and less expensive to supply to equipment
• AC signals are very common in many existing automation devices
28Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
OUTPUTS of PLC
• PLC must convert the
+5V dc dc logic levels
on the PLC data bus to
external voltage levels
• can be done with
circuits similar to those
shown, where it may be
transistor output, or
solid state relay (triac)
output, or simply relay
output
29Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC output with sinking current
• the output card
shown in Figure on
the right is an
example of a 24Vdc
output card that has
a shared common
• this type of output
card would typically
use transistors for
the outputs
30Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC output with sourcing current
• the circuit shown in
Figure on the right
has the sequence of
power supply, then
device, then PLC
outputs, then power
supply
• this requires that the
outputs have a
common
31Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC with relay output
• in Figure shown on
the right the 24VDC
supply is connected
directly to both relays
• when an output is
activated the output
switches on and
power is delivered to
the output devices
32Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC Wiring
• Wiring Diagram for a Car-washing Machine
33Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Double coil designation
• double or dual coiling is not a
recommended practice.
• using multiple output coils of
the same device can cause
the program operation to
become unreliable
• the coil operation designated
last is the effective coil
34Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Input durations
• the ON or OFF duration of the PLC inputs must be longer than the
operation cycle time of the PLC
• taking a 10 ms (standard input filter) response delay into account, the
ON/OFF duration must be longer than 20 ms if the operation cycle
(scan time) is 10 ms
• in the example above, input pulses of more than 25 Hz (1/(20ms
ON+20ms OFF) = 1/40ms) cannot be sensed
35Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
Summary of PLC Hardware
• PLC input modules convert the AC or DC inputs to the suitable
format to be detected by the logic of the PLC.
• Outputs of PLC are transistors (DC), triacs (AC) or relays (AC and
DC).
• Input and output addresses are a function of the card location and
input bit number.
• The input module usually shares a common ground and so does
the output module of a PLC
36Week© Vocational Training Council, Hong Kong.
EEE3420 Industrial Control
PLC Hardware
End of Lecture 2
 Revision
Mitsubishi PLC FX series hardware handbook.
Allen Bradley PLC handbook

More Related Content

What's hot

Pe 5421 plc aftermid week 10 onwards
Pe 5421 plc aftermid week 10 onwardsPe 5421 plc aftermid week 10 onwards
Pe 5421 plc aftermid week 10 onwardsCharlton Inao
 
process control instrumentation lab and labview report
process control  instrumentation lab and labview  reportprocess control  instrumentation lab and labview  report
process control instrumentation lab and labview reportHari Krishna
 
Pe 3231 week 15 18 plc
Pe 3231 week 15 18  plcPe 3231 week 15 18  plc
Pe 3231 week 15 18 plcCharlton Inao
 
PLC Programming Languages
PLC Programming LanguagesPLC Programming Languages
PLC Programming LanguagesLIJU. G. CHACKO
 
Training report of PLC
Training report of PLCTraining report of PLC
Training report of PLCSumit Patidar
 
Practical Programmable Logic Controllers (PLCs) for Automation and Process Co...
Practical Programmable Logic Controllers (PLCs) for Automation and Process Co...Practical Programmable Logic Controllers (PLCs) for Automation and Process Co...
Practical Programmable Logic Controllers (PLCs) for Automation and Process Co...Living Online
 
PROGRAMMABLE LOGIC CONTROLLERS
PROGRAMMABLELOGIC CONTROLLERSPROGRAMMABLELOGIC CONTROLLERS
PROGRAMMABLE LOGIC CONTROLLERSDnr Creatives
 
Troubleshooting in plc
Troubleshooting in plcTroubleshooting in plc
Troubleshooting in plcNisarg Naik
 
PLC Introduction Details
PLC Introduction DetailsPLC Introduction Details
PLC Introduction Detailssuhaskhadake
 

What's hot (14)

Pe 5421 plc aftermid week 10 onwards
Pe 5421 plc aftermid week 10 onwardsPe 5421 plc aftermid week 10 onwards
Pe 5421 plc aftermid week 10 onwards
 
Plc 2
Plc 2Plc 2
Plc 2
 
process control instrumentation lab and labview report
process control  instrumentation lab and labview  reportprocess control  instrumentation lab and labview  report
process control instrumentation lab and labview report
 
PLC Architecture
PLC ArchitecturePLC Architecture
PLC Architecture
 
Pe 3231 week 15 18 plc
Pe 3231 week 15 18  plcPe 3231 week 15 18  plc
Pe 3231 week 15 18 plc
 
PLC Programming Languages
PLC Programming LanguagesPLC Programming Languages
PLC Programming Languages
 
Training report of PLC
Training report of PLCTraining report of PLC
Training report of PLC
 
Practical Programmable Logic Controllers (PLCs) for Automation and Process Co...
Practical Programmable Logic Controllers (PLCs) for Automation and Process Co...Practical Programmable Logic Controllers (PLCs) for Automation and Process Co...
Practical Programmable Logic Controllers (PLCs) for Automation and Process Co...
 
PLC Guide
PLC GuidePLC Guide
PLC Guide
 
PROGRAMMABLE LOGIC CONTROLLERS
PROGRAMMABLELOGIC CONTROLLERSPROGRAMMABLELOGIC CONTROLLERS
PROGRAMMABLE LOGIC CONTROLLERS
 
Troubleshooting in plc
Troubleshooting in plcTroubleshooting in plc
Troubleshooting in plc
 
Plc
PlcPlc
Plc
 
ppt on PLC
ppt on PLCppt on PLC
ppt on PLC
 
PLC Introduction Details
PLC Introduction DetailsPLC Introduction Details
PLC Introduction Details
 

Similar to Eee3420 lecture02 rev2011 (20)

Basic plc
Basic plcBasic plc
Basic plc
 
Programmable Logic Controller Training Day 1 to 3.pptx
Programmable Logic Controller  Training Day 1 to 3.pptxProgrammable Logic Controller  Training Day 1 to 3.pptx
Programmable Logic Controller Training Day 1 to 3.pptx
 
Basic plc
Basic plcBasic plc
Basic plc
 
Basic plc
Basic plcBasic plc
Basic plc
 
Basic plc
Basic plcBasic plc
Basic plc
 
Basic plc
Basic plcBasic plc
Basic plc
 
Basic plc
Basic plcBasic plc
Basic plc
 
Basic plc
Basic plcBasic plc
Basic plc
 
Basic plc
Basic plcBasic plc
Basic plc
 
Basic plc
Basic plcBasic plc
Basic plc
 
plc introduction
plc introductionplc introduction
plc introduction
 
Basic PLC
Basic PLCBasic PLC
Basic PLC
 
Basic plc
Basic plcBasic plc
Basic plc
 
Basic PLC.ppt
Basic PLC.pptBasic PLC.ppt
Basic PLC.ppt
 
Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)
 
Unit 4 - PLC.pptx
Unit 4 - PLC.pptxUnit 4 - PLC.pptx
Unit 4 - PLC.pptx
 
Basic plc 1
Basic plc 1Basic plc 1
Basic plc 1
 
documentation (1)
documentation (1)documentation (1)
documentation (1)
 
plc_scada.pptx
plc_scada.pptxplc_scada.pptx
plc_scada.pptx
 
ppt on PLC.pptx
ppt on  PLC.pptxppt on  PLC.pptx
ppt on PLC.pptx
 

More from benson215

Chapter 5 - DC-AC Conversion.pdf
Chapter 5 - DC-AC Conversion.pdfChapter 5 - DC-AC Conversion.pdf
Chapter 5 - DC-AC Conversion.pdfbenson215
 
Chapter 0 - Introduction.pdf
Chapter 0 - Introduction.pdfChapter 0 - Introduction.pdf
Chapter 0 - Introduction.pdfbenson215
 
Chapter 1 - PWM DC-DC Converter.pdf
Chapter 1 - PWM DC-DC Converter.pdfChapter 1 - PWM DC-DC Converter.pdf
Chapter 1 - PWM DC-DC Converter.pdfbenson215
 
Chapter 2 - Isolated DC-DC Converter.pdf
Chapter 2 - Isolated DC-DC Converter.pdfChapter 2 - Isolated DC-DC Converter.pdf
Chapter 2 - Isolated DC-DC Converter.pdfbenson215
 
Chapter 3 - Resonant-mode DC-DC Converter.pdf
Chapter 3 - Resonant-mode DC-DC Converter.pdfChapter 3 - Resonant-mode DC-DC Converter.pdf
Chapter 3 - Resonant-mode DC-DC Converter.pdfbenson215
 
Chapter 6 - Modelling and Control of Converters.pdf
Chapter 6 - Modelling and Control of Converters.pdfChapter 6 - Modelling and Control of Converters.pdf
Chapter 6 - Modelling and Control of Converters.pdfbenson215
 
Chapter 4 - AC-DC Conversion.pdf
Chapter 4 - AC-DC Conversion.pdfChapter 4 - AC-DC Conversion.pdf
Chapter 4 - AC-DC Conversion.pdfbenson215
 
Chapter 7 - EMI.pdf
Chapter 7 - EMI.pdfChapter 7 - EMI.pdf
Chapter 7 - EMI.pdfbenson215
 
3. ac drive (misc.)
3. ac drive (misc.)3. ac drive (misc.)
3. ac drive (misc.)benson215
 
2. ac drive (common inverter drive)
2. ac drive (common inverter drive)2. ac drive (common inverter drive)
2. ac drive (common inverter drive)benson215
 
1. revision on 3 phase conventional inverter
1. revision on 3 phase conventional inverter1. revision on 3 phase conventional inverter
1. revision on 3 phase conventional inverterbenson215
 
1. revision on 3 phase controlled rectifier
1. revision on 3 phase controlled rectifier1. revision on 3 phase controlled rectifier
1. revision on 3 phase controlled rectifierbenson215
 
2. motor drive dynamic
2. motor drive dynamic2. motor drive dynamic
2. motor drive dynamicbenson215
 
5. two phase servo motor
5. two phase servo motor5. two phase servo motor
5. two phase servo motorbenson215
 
4. linear motor basics
4. linear motor basics4. linear motor basics
4. linear motor basicsbenson215
 
2. brushless dc motors
2. brushless dc motors2. brushless dc motors
2. brushless dc motorsbenson215
 
1. servo basic
1. servo basic1. servo basic
1. servo basicbenson215
 
3. relutance and hysteresis motor
3. relutance and hysteresis motor3. relutance and hysteresis motor
3. relutance and hysteresis motorbenson215
 
Eee3420 lecture08 rev2011
Eee3420 lecture08 rev2011Eee3420 lecture08 rev2011
Eee3420 lecture08 rev2011benson215
 

More from benson215 (20)

Chapter 5 - DC-AC Conversion.pdf
Chapter 5 - DC-AC Conversion.pdfChapter 5 - DC-AC Conversion.pdf
Chapter 5 - DC-AC Conversion.pdf
 
Chapter 0 - Introduction.pdf
Chapter 0 - Introduction.pdfChapter 0 - Introduction.pdf
Chapter 0 - Introduction.pdf
 
Chapter 1 - PWM DC-DC Converter.pdf
Chapter 1 - PWM DC-DC Converter.pdfChapter 1 - PWM DC-DC Converter.pdf
Chapter 1 - PWM DC-DC Converter.pdf
 
Chapter 2 - Isolated DC-DC Converter.pdf
Chapter 2 - Isolated DC-DC Converter.pdfChapter 2 - Isolated DC-DC Converter.pdf
Chapter 2 - Isolated DC-DC Converter.pdf
 
Chapter 3 - Resonant-mode DC-DC Converter.pdf
Chapter 3 - Resonant-mode DC-DC Converter.pdfChapter 3 - Resonant-mode DC-DC Converter.pdf
Chapter 3 - Resonant-mode DC-DC Converter.pdf
 
Chapter 6 - Modelling and Control of Converters.pdf
Chapter 6 - Modelling and Control of Converters.pdfChapter 6 - Modelling and Control of Converters.pdf
Chapter 6 - Modelling and Control of Converters.pdf
 
Chapter 4 - AC-DC Conversion.pdf
Chapter 4 - AC-DC Conversion.pdfChapter 4 - AC-DC Conversion.pdf
Chapter 4 - AC-DC Conversion.pdf
 
Chapter 7 - EMI.pdf
Chapter 7 - EMI.pdfChapter 7 - EMI.pdf
Chapter 7 - EMI.pdf
 
3. ac drive (misc.)
3. ac drive (misc.)3. ac drive (misc.)
3. ac drive (misc.)
 
2. ac drive (common inverter drive)
2. ac drive (common inverter drive)2. ac drive (common inverter drive)
2. ac drive (common inverter drive)
 
1. revision on 3 phase conventional inverter
1. revision on 3 phase conventional inverter1. revision on 3 phase conventional inverter
1. revision on 3 phase conventional inverter
 
2. dc drive
2. dc drive2. dc drive
2. dc drive
 
1. revision on 3 phase controlled rectifier
1. revision on 3 phase controlled rectifier1. revision on 3 phase controlled rectifier
1. revision on 3 phase controlled rectifier
 
2. motor drive dynamic
2. motor drive dynamic2. motor drive dynamic
2. motor drive dynamic
 
5. two phase servo motor
5. two phase servo motor5. two phase servo motor
5. two phase servo motor
 
4. linear motor basics
4. linear motor basics4. linear motor basics
4. linear motor basics
 
2. brushless dc motors
2. brushless dc motors2. brushless dc motors
2. brushless dc motors
 
1. servo basic
1. servo basic1. servo basic
1. servo basic
 
3. relutance and hysteresis motor
3. relutance and hysteresis motor3. relutance and hysteresis motor
3. relutance and hysteresis motor
 
Eee3420 lecture08 rev2011
Eee3420 lecture08 rev2011Eee3420 lecture08 rev2011
Eee3420 lecture08 rev2011
 

Recently uploaded

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 

Recently uploaded (20)

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 

Eee3420 lecture02 rev2011

  • 1. 1Week© Vocational Training Council, Hong Kong. │ Lecture 2 │ Programmable Logic Controller (PLC) Hardware EEC3420 Industrial Control Department of Electrical Engineering
  • 2. 2Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Learning Objectives  Understand the basic hardware components.  Understand the operating principles of PLC.
  • 3. 3Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Background of PLC  low cost, compact, versatile units based on the standard microprocessor architecture used in the control of machines or processes  designed for ease of programming and maintenance  replace the old relay logic control systems in automated manufacturing  provide an easy and efficient replacements for the bulky relay logic controllers
  • 4. 4Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Definition of PLC  also known as programmable controller (PC) defined by the National Electrical Manufacturers Association (NEMA) in 1978 as: "a digitally operating electronic apparatus which uses a programmable memory for the internal storage of instructions for implementing specific functions, such as logic, sequencing, timing, counting and arithmetic, to control through digital or analog input/output, various types of machines or process".
  • 5. 5Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Advantages of PLC  Cost effective  Flexible  Computational abilities allow more sophisticated control  Trouble shooting aids make programming easier  Reliable
  • 6. 6Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Typical applications of PLC  Embedded control in standard or custom-designed machines  Control of conveyor systems  Networked to manage large complex distributed control systems  Security alarm monitoring system  Elevator control  Air-conditioning control panel  Water treatment plant  Warning system on-board of ocean vessels.  Smoke candle control on-board aircraft for air-show.  Underground coal-mining machines.  Central building vacuum system.
  • 7. 7Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Electromagnetic relays  a voltage applied to the input coil, the resulting current creates a magnetic field  magnetic field pulls a metal switch towards it and the contacts touch, closing the switch  contact that closes when the coil is energized is called Normally Open (NO) contact  contact that is closed when the input coil is not energized is called Normally Closed (NC ) contact
  • 8. 8Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Relay circuit and ladder diagram  The first relay on the left is used as NC, and will allow current to flow until a voltage is applied to the input A.  The second relay is NO and will not allow current to flow until a voltage is applied to the input B.  If current is flowing through the second relay coil then current will flow through the coil in the third relay, and close the switch for output C.  This circuit would normally be drawn in the ladder diagram as shown.
  • 9. 9Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Simulated model of a PLC  there are two inputs from push buttons  imagine the inputs as activating 24V DC relay coils in the PLC  in turn drives an output relay that switches 220 VAC, that will turn on a light
  • 10. 10Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control A self-hold circuit  input B will onlybe on when the output B is on  if B is off, and A is energized, then B will turn on  if B turns on then the input B will turn on, and keep output B on even if input A goes off  after B is turned on the output B will not turn off Note: When A is pushed, the output B will turn on, and the input B will also turn on and keep B on perma nently - until power is removed. A B B Note: The line on the right is being left off intentionally and is implied in these diagrams.
  • 11. 11Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC standards - IEC 61131 Developed with the input of vendors, end-users and academics, IEC 61131 consists of five parts: • General information • Equipment and test requirements • PLC programming languages • User guidelines • Communications
  • 12. 12Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC Programming Languages Standard IEC 61131-3 is the international standard for programmable controller programming languages. As such, it specifies the syntax, semantics and display for the following suite of PLC programming languages: • Ladder diagram (LD) • Sequential Function Charts (SFC) • Function Block Diagram (FBD) • Structured Text (ST) • Instruction List (IL)
  • 13. 13Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Ladder diagram and instruction list
  • 14. 14Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Sequential Function Charts (SFCs) SFCs have been developed to accommodate the programming of more advanced systems
  • 15. 15Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC simulation using Personal Computer With TRiLOGI’s simulator anyone could write ladder programs and immediately test them using just the keyboard and see the result of the action on screen.
  • 16. 16Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC scan cycle • the control loop is a continuous cycle of the PLC reading inputs, solving the ladder logic, and then changing the outputs • like any computer this does not happen instantly Read inputs PLC program changes outputs by examining inputs Set new outputs Process changes and PLC pauses while it checks its own operation THE CONTROL LOOP Power turned on
  • 17. 17Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control The PLC internal working cycle • PLC accepts the inputs from the Input Port and stores the data to the Input Image Register • PLC then executes the ladder logic program with the input image content in a sequential manner, that is, from the left to the right and from the top to the bottom • upon the execution of a rung in the ladder, the contents in the Component Image Register are updated and at the end of a cycle, the outputs are updated
  • 18. 18Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC Hardware Power Supply - This can be built into the PLC or be an external unit. Common voltage levels required by the PLC (with and without the power supply) are 24Vdc, 120Vac, 220Vac. CPU (Central Processing Unit) - This is a computer where ladder logic is stored and processed. I/O (Input/Output) - A number of input/output terminals must be provided so that the PLC can monitor the process and initiate actions.
  • 19. 19Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC Hardware Indicator lights - These indicate the status of the PLC including power on, program running, and a fault. These are essential when diagnosing problems. Software - A software based PLC requires a computer with an interface card
  • 20. 20Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control INPUTS and OUTPUTS of PLC • Inputs to, and outputs from, a PLC are necessary to monitor and control a process. Both inputs and outputs can be categorized into two basic types: digital or continuous. • Outputs to actuators allow a PLC to cause something to happen in a process. A short list of popular actuators is given below in order of relative popularity
  • 21. 21Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control INPUTS and OUTPUTS of PLC • Inputs come from sensors that translate physical phenomena into electrical signals. Typical examples of sensors are listed below in relative order of popularity. • Proximity Switches - use inductance, capacitance or light to detect an object logically. • Switches - mechanical mechanisms will open or close electrical contacts for a logical signal.
  • 22. 22Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control INPUTS and OUTPUTS of PLC • Potentiometer - measures angular positions continuously, using resistance. • LVDT (linear variable differential transformer) - measures linear displacement continuously using magnetic coupling. • Inputs for a PLC come in a few basic varieties, the simplest are AC and DC inputs.
  • 23. 23Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control INPUTS and OUTPUTS of PLC • Outputs to actuators allow a PLC to cause something to happen in a process. A short list of popular actuators is given below in order of relative popularity. • Solenoid Valves - logical outputs that can switch a hydraulic or pneumatic flow. • Lights - logical outputs that can often be powered directly from PLC output boards.
  • 24. 24Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control INPUTS and OUTPUTS of PLC • Motor Starters - motors often draw a large amount of current when started, so they require motor starters, which are basically large relays. • Servo Motors - a continuous output from the PLC can command a variable speed or position. • Outputs from PLCs are often relays, but they can also be solid state electronics such as transistors for DC outputs or Triacs for AC outputs. • Continuous outputs require special output cards with digital to analog converters.
  • 25. 25Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Input connection • some PLCs require external DC supply • some PLCs have built-in 24 VDC supply
  • 26. 26Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control INPUTS of PLC • PLC inputs must converts a variety of logic levels to the TTL +5V dc logic levels used on the data bus • can be done with circuits similar to those shown.
  • 27. 27Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC Input Trade-offs • DC voltages are usually lower, and therefore safer (i.e., 12-24V) • DC inputs are very fast, AC inputs require a longer on-time. For example, a 60Hz wave may require up to 1/60s for reasonable recognition • DC voltages can be connected to larger variety of electrical systems • AC signals are more immune to noise than DC, so they are suited to long distances, and noisy (magnetic) environments • AC power is easier and less expensive to supply to equipment • AC signals are very common in many existing automation devices
  • 28. 28Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control OUTPUTS of PLC • PLC must convert the +5V dc dc logic levels on the PLC data bus to external voltage levels • can be done with circuits similar to those shown, where it may be transistor output, or solid state relay (triac) output, or simply relay output
  • 29. 29Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC output with sinking current • the output card shown in Figure on the right is an example of a 24Vdc output card that has a shared common • this type of output card would typically use transistors for the outputs
  • 30. 30Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC output with sourcing current • the circuit shown in Figure on the right has the sequence of power supply, then device, then PLC outputs, then power supply • this requires that the outputs have a common
  • 31. 31Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC with relay output • in Figure shown on the right the 24VDC supply is connected directly to both relays • when an output is activated the output switches on and power is delivered to the output devices
  • 32. 32Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC Wiring • Wiring Diagram for a Car-washing Machine
  • 33. 33Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Double coil designation • double or dual coiling is not a recommended practice. • using multiple output coils of the same device can cause the program operation to become unreliable • the coil operation designated last is the effective coil
  • 34. 34Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Input durations • the ON or OFF duration of the PLC inputs must be longer than the operation cycle time of the PLC • taking a 10 ms (standard input filter) response delay into account, the ON/OFF duration must be longer than 20 ms if the operation cycle (scan time) is 10 ms • in the example above, input pulses of more than 25 Hz (1/(20ms ON+20ms OFF) = 1/40ms) cannot be sensed
  • 35. 35Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control Summary of PLC Hardware • PLC input modules convert the AC or DC inputs to the suitable format to be detected by the logic of the PLC. • Outputs of PLC are transistors (DC), triacs (AC) or relays (AC and DC). • Input and output addresses are a function of the card location and input bit number. • The input module usually shares a common ground and so does the output module of a PLC
  • 36. 36Week© Vocational Training Council, Hong Kong. EEE3420 Industrial Control PLC Hardware End of Lecture 2  Revision Mitsubishi PLC FX series hardware handbook. Allen Bradley PLC handbook