Professional Documents
Culture Documents
Lec#03 PLC-PAC Hardware
Lec#03 PLC-PAC Hardware
Control Applications
M1452
Lec.#03
Omar Salim; Ph.D.
Department of Electrical Engineering
Benha Faculty of Engineering
Benha University
April 2024
1
1
24/10/1445
3
Advantages of a PLC Control System
Eliminates much of the hard wiring that was associated with
conventional relay-based control circuits.
Increased Reliability:
Once a program has been written and tested it can be downloaded
to other PLCs.
2
24/10/1445
More Flexibility:
Original equipment manufacturers (OEMs) can provide system
updates for a process by simply sending out a new program.
Lower Costs:
Originally PLCs were designed to replace relay control logic. The
cost savings using PLCs have been so significant that relay
control is becoming obsolete, except for power applications.
Generally, if an application
requires more than about
6 control relays, it will
usually be less expensive
to install a PLC.
3
24/10/1445
Communications Capability:
A PLC can communicate with other controllers or computer
equipment.
4
24/10/1445
Easier To Troubleshoot:
PLCs have resident diagnostic and override functions that allows
users to easily trace and correct software and hardware problems.
10
I M O M
N O U O
P D PROCESSOR T D
U U P U
From T L U L To
SENSORS E T E OUTPUT
Pushbuttons, Solenoids,
contacts, contactors,
limit switches, PROGRAMMING COMMUNICATION alarms
etc. DEVICE INTERFACE etc.
10
5
24/10/1445
11
I/O Configurations
Fixed I/O
11
12
Modular I/O
12
6
24/10/1445
13
Modular I/O
13
14
PLC System
14
7
24/10/1445
15
Power Supply
15
16
Processor (CPU)
• Is the “brain” of the PLC.
8
24/10/1445
17
Memory Designs
The words random access refer to the ability of any location (address) in the
memory to be accessed or used. Ram memory is used for both the user memory
(ladder diagrams) and storage memory in many PLC’s.
RAM memory must have battery backup to retain or protect the stored program.
17
18
Memory Designs
NON-VOLATILE
Has the ability to retain stored information when power is removed, accidentally or
intentionally. These memories do not require battery back-up.
Common Type of Non-Volatile Memory
ROM, Read Only Memory
Read only indicates that the information stored in memory can be read only and
cannot be changed. Information in ROM is placed there by the manufacturer for the
internal use and operation of the PLC.
18
9
24/10/1445
19
I/O Section
19
20
Input Module
20
10
24/10/1445
21
I/O Module
DC INPUT MODULE
IS NEEDED TO:
• Prevent voltage
Use to drop the transients from
voltage to logic damaging the
level processor.
•Helps reduce the
effects of electrical
noise
Current Buffer,
FROM OPTO-
Limiting Filter, TO
ISOLATOR
INPUT Resistor hysteresis PROCESSOR
DEVICE Circuits
21
22
I/O Module
AC INPUT MODULE
IS NEEDED TO:
Converts the AC input • Prevent voltage
transients from damaging
to DC and drops the the processor.
voltage to logic level •Helps reduce the effects
of electrical noise
Rectifier, Buffer,
FROM Resistor OPTO- Filter, TO
INPUT Network ISOLATOR Hysteresis PROCESSOR
DEVICE Circuits
22
11
24/10/1445
23
23
24
24
12
24/10/1445
25
Output Module
25
26
I/O Module
DC / AC OUTPUT MODULE
IS NEEDED TO:
• Prevent voltage
transients from
damaging the
processor.
•Helps reduce the
effects of electrical
noise
Amplifier
FROM TTL OPTO- RELAY TO
PROCESSOR Circuits ISOLATOR TRIAC OUTPUT
X’SISTOR DEVICE
26
13
24/10/1445
27
27
28
Programming Device
PC with appropriate
software
28
14
24/10/1445
29
Programming Device
Hand-held unit
with display
29
30
OUTPUTS
INPUTS MOTOR
CONTACTOR
LAMP
PUSHBUTTONS
PLC
30
15
24/10/1445
31
Allen-Bradley 1746-1A16
L1 L2 I= Input
Module
I:2 slot # in
rack
P. B SWITCH 0 Module
Terminal #
Address I:2.0/0
LADDER PROGRAM
INPUT MODULE
WIRING DIAGRAM
31
32
CONTACTOR
L1 N.
L2 O
MOTOR
L2 •SOLENOID
C L1
•VALVES
FIELD •LAMP
WIRING •BUZZER
OUTPUT MODULE
WIRING
L1 O:4
L2
CONTACTOR 0
LADDER PROGRAM
32
16
24/10/1445
33
IN
OFF PLC
Logic 0 Input
Module
24 V dc
IN
OFF PLC
Logic 1 Input
Module
24 V dc
33
34
I/O Circuits
Analog I/O
Circuits of this type sense or drive analog signals.
Analog inputs come from devices, such as thermocouples, strain gages, or
pressure sensors, that provide a signal voltage or current that is derived from
the process variable.
Standard Analog Input signals: 4-20mA; 0-10V
34
17
24/10/1445
35
Analog Input
An analog input is an input signal that has a continuous signal. Typical inputs may
vary from 0 to 20mA, 4 to 20mA or 0 to10V. Below, a level transmitter monitors the
level of liquid in the tank. Depending on the level Tx, the signal to the PLC can either
increase or decrease as the level increases or decreases.
IN
Level Transmitter
PLC
Analog
Tank
Input
Module
35
36
Analog Output
An analog output is an output signal that has a continuous signal.
Typical outputs may vary from 0 to 20mA, 4 to 20mA or 0 to10V.
Analog
Output
Module Pneumatic control valve
36
18
24/10/1445
37
PLC Size Classification
Criteria: number of inputs and outputs (I/O count), cost, physical size
37
38
Selecting a PLC
Criteria
1. Number of logical inputs and outputs.
2. Memory
3. Number of special I/O modules
4. Scan Time
5. Communications
6. Software
38
19
24/10/1445
39
39
40
Process Control Relay Ladder Diagram
Motor starter coil is energized when both the pressure and temperature
switches are closed or when the manual pushbutton is pressed.
40
20
24/10/1445
41
PLC Input Module Connections
41
42
42
21
24/10/1445
43
PLC Ladder Logic Program
The numbers represent addresses
I/O address format
will differ,
depending on
the PLC
manufacturer. You
give each input and
output device an
address. This lets
the PLC know
The format used is The symbols represent instructions where they are
similar to that of the physically
hard-wired connected.
relay circuit.
43
44
44
22
24/10/1445
45
PLC PC
-Operates in the industrial -capable of executing several
environment programs simultaneously, in
-Programmed in relay ladder logic any order
-No keyboard, CD drive, monitor, -some manufacturers have software
or disk drive and interface cards available so that
-has comm ports, and terminals for a PC can do the work of a PLC
input and output devices
45
46
References
Text Books:
• Devdas Shetty and Richard A. Kolk, ‘Mechatronics System Design,’ 2nd Edition,
2011, Cengage Learning
• Frank D. Petruzella, “Programmable Logic Controllers”, 4th Edition, McGraw-Hill
2011
Lecture Notes:
• Omar Salim, Ph.D. Lecture notes for Industrial Control Systems and Fundamentals
of Instrumentations and Process control.
Software Packages:
• MATLAB Simulink, for Mathworks.
46
23