1 - PLCs Introduction
1 - PLCs Introduction
Programmable
Logic
Controller
1
Control Relay
A Control Relay is an electromagnetic switch aims to closing
and opening the circuits electromechanically.
Contact Points a + - a
11 Load1
10
Load 9
Load2
3
220VAC PL1
2
Coil 1 PL2
12VDC 4
Relay 8
Control Switch
2
Solid State Logic Circuits
A solid state logic circuit is usually made from arrangements of
transistors.
Using just transistors, we can build logic gates (AND,
NAND, OR, NOR, MUX etc.) as well as memory devices
(flip-flops, registers, etc.) and from there on, the
combinations, applications, and implementations are
endless.
Solid-state logic circuits are small, reliable, low cost,
and can operate at very high speeds with a high life
expectancy. In the average control circuit, the inputs may
change from high to low and vice versa several times in a
second.
3
Before the advent of solid-state logic circuits, logical control
systems were designed and built exclusively around
electromechanical control relays.
4
The Need for PLCs
Hardwired panels were consuming very long time
to wire, debug and change.
GM identified the following requirements for
computer controllers to replace hardwired panels.
• Solid-state not electromechanical
• Easy to modify input and output devices
• Easily programmed and maintained by plant electricians
5
Relays are far from obsolete in modern design, but
have been replaced in many of their former roles
as logic-level control devices, relegated most often
to those applications demanding high current
and/or high voltage switching.
6
What is a PLC ?
PLCs are often defined as miniature industrial
computers that contain hardware and software
used to perform control functions.
PLCs are designed for multiple arrangements of
digital and analog inputs and outputs with extended
temperature ranges, immunity to electrical noise,
and resistance to vibration and impact.
7
The most important and essential characteristics of
a PLC that portray its unique aspects are:
1) It is field programmable by the user.
2) It contains programmed functions.
3) It scans memory and I/O in a deterministic manner.
8
Advantages of PLCs
In addition to cost savings, PLCs provide many other
benefits including:
1) Increased Reliability.
2) More Flexibility.
3) Lower Cost.
4) Communications Capability.
6) Easier to Troubleshoot.
9
PLC Basics
PLC
Power Supply
CPU
Output Section
Input Section
from Logic to
Inputs Solver Outputs
Push Buttons
Motor Starters
Limit Switches
Lights
Sensors
Valves
Smart Devices
Smart Devices
Memory
Program
User's
Loader/
Monitor program
10
PLC Basics cont.
All the PLC components get their required power from
the PLC power supply.
13
I / O Configuration
1) Fixed I / O
o Is typical for small PLCs
o For some models, if any part in the unit fails, the whole
unit has to be replaced.
14
I / O Configuration cont.
2) Modular I / O
16
Input Modules Wiring
1) Wiring of Sink Sensor and Two Wire Sensor to a
PLC Source Inputs Module.
17
Input Modules Wiring cont.
2) Wiring of Source Sensor and Two Wire Sensor to a
PLC Sink Inputs Module.
18
Input Modules Wiring cont.
3) Wiring of Sink / Source PLC Inputs Module.
19
Wiring of Output Modules