PLC
PLC
Logic
Controllers
PLCs
Introduction
The programmable logic controllers (PLCs)
is a digital computer used for automation of
typically industrial electromechanical
processes.
They are now used in most of the industrial
and house hold electromechanical
equipments where it is necessary to control
different types of processes in a sequential
manner with specific time functions.
Introduction
Examples of industrial applications are process
controls in production cycle.
Examples in house hold appliances are in
washing machines, dish washers etc.
Before PLC’s invention these processes were
controlled by hard wired systems using
electro-magnetic relays, timers etc.
These systems used to be bulky and more
complicated because of hard wiring.
It was not easy to detect faults in the system
and it was very difficult to alter any
programme sequence.
Introduction
These systems were expensive compared to PLC
systems.
The first programmable logic controller was
developed by a group of engineers at General
Motors in 1968.
The new system had to meet the following
requirements viz:,
◦ Simple programming and maintenance.
◦ Programme changes without system intervention.
◦ Smaller, cheaper and more reliable than
corresponding rely control systems.
Introduction
The subsequent development evolved in a system
with binary signal interface.
In 1977, Allen Bradley Corporation introduced a
microprocessor-based PLC.
Ever since the advent of static devices, use of PLCs
in automated system grew up by leaps and bounds.
Many other corporates like Mitsubishi, Toshiba,
Siemens, Brown Boveri are now in the field of
manufacturing their brands of PLCs.
Since the first PLC a lot of changes have taken place
in PLC architecture and complexity.
Miniaturized PLCs have become a part of every day
life whether it is in lift or washing machine.
Advantages of PLC systems
Any control system goes through four stages from
conception to a working plant and a PLC system
brings advantages at each stage.
Design: The required plant is studied and the control
strategies decided.
With conventional systems design must be complete
before construction can start.
With a PLC system all that is needed is a possibly
vague idea of the size of the machine and the I/O
requirements (how many inputs and outputs).
The input and output cards are cheap at this stage, so a
healthy spare capacity can be built in to allow for the
inevitable omissions and future developments.
Advantages of PLC systems
Construction: With conventional schemes, every job
is a ‘one-off’ with inevitable delays and costs.
A PLC system is simply bolted together from standard
parts.
During this time the writing of the PLC program is
started (or at least the detailed program specification is
written).
Installation: A tedious and expensive business as
sensors, actuators, limit switches and operator controls
are cabled.
A distributed PLC system using serial links and pre-
built and tested desks can simplify installation and
bring huge cost benefits.
The majority of the PLC program is written at this
stage.
Advantages of PLC systems
Finally comes commissioning, and this is where
the real advantages are found.
No plant ever works first time.
Human nature being what it is, there will be some
oversights.
Changes to conventional systems are time
consuming and expensive.
Provided the designer of the PLC system has built
in spare memory capacity, spare I/O and a few
spare cores in multi-core cables, most changes can
be made quickly and relatively cheaply.
Advantages of PLC systems
An added bonus is that all changes are recorded in
the PLC’s program and commissioning
modifications do not go unrecorded, as is often the
case in conventional systems.
There is an additional fifth stage, maintenance,
which starts once the plant is working.
All plants have faults, and most tend to spend the
majority of their time in some form of failure
mode.
A PLC system provides a very powerful tool for
assisting with fault diagnosis.
Advantages of PLC systems
A plant is also subject to many changes during its
life to speed production, to ease breakdowns or
because of changes in its requirements.
A PLC system can be changed so easily that
modifications are simple and the PLC program
will automatically document the changes that have
been made.
Structure
CPU
` INPUT OUTPUT
MODULE MODULE
MEMORY
Structure
PM
Programmer/monitor
CPU
Output
Input Microprocessor
Module
Module Memory
Power
supply
Rack and Chassis
Structure
The input module has terminals into which
outside process electrical signals, generated by
sensor or transducers, are entered.
The output module has terminals to which output
signals are sent to activate relays, solenoids,
various solid-state switching devices, motors, and
display.
An electronic system for connecting I/O modules
to remote locations can be added if needed.
The actual operating process under PLC control
can be thousands of feet from the CPU and its I/O
modules.
Structure
Internally a computer usually operates at 5V DC.
The external devices (solenoids, motor starters,
limit switches, etc.) operate at voltages up to 110 V
AC.
The mixing of these two voltages will cause severe
and possibly irreparable damage to the PLC
electronics.
Less obvious problems can occur from electrical
‘noise’ introduced into the PLC from voltage
spikes on signal lines, or from load currents
flowing in AC neutral or DC return lines.
Structure
Differences in earth potential between the PLC
cubicle and outside plant can also cause problems.
This ensures that the PLC cannot be adversely
affected by anything happening on the plant.
Even a cable fault putting high AC voltage onto a
DC input would only damage the input card; the
PLC itself (and the other cards in the system)
would not suffer.
This is achieved by optical isolators, a light-
emitting diode and photoelectric transistor linked
together as in Figure.
Single Channel Input Card
Structure
When current is passed through the diode D1 it emits light,
causing the transistor TR1 to switch on.
Because there are no electrical connections between the
diode and the transistor, very good electrical isolation
(typically 1–4kV) is achieved.
A DC input can be provided as in Figure.
When the pushbutton is pressed, current will flow through
D1, causing TR1 to turn on, passing the signal to the PLC
internal logic.
Diode D2 is a light-emitting diode used as a fault-finding
aid to show when the input signal is present.
Such indicators are present on almost all PLC input and
output cards.
The resistor R sets the voltage range of the input. DC input
cards are usually available for three voltage ranges: 5V
(TTL), 12–24V, 24–50V.
Structure
A possible AC input circuit is shown in Figure.
The bridge rectifier is used to convert the AC to
full wave rectified DC.
Resistor R2 and capacitor C1 act as a filter (of
about 50ms time constant) to give a clean signal to
the PLC logic.
As before, a neon LP1 acts as an input signal
indicator for fault finding, and resistor R1 sets the
voltage range.
Single Channel Input Card
Structure
The output module has terminals to which output
signals are sent to activate relays, solenoids,
various solid-state switching devices, motors, and
display.
Output cards again require some form of isolation
barrier to limit damage from the inevitable plant
faults and also to stop electrical ‘noise’ corrupting
the processor’s operations.
Interference can be more of a problem on outputs
because higher currents are being controlled by the
cards and the loads themselves are often inductive
(e.g. solenoid and relay coils).
Structure
There are two basic types of output card.
◦ Common supply output card
◦ Individual supply output card
The common supply output card arrangement is
the simplest and the cheapest to install.
Each output has its own individual fuse protection
on the card and a common circuit breaker.
It is important to design the system so that a fault,
say, on load 3 blows the fuse FS3 but does not trip
the supply to the whole card, shutting down every
output.
Structure
Structure
A PLC frequently has to drive outputs which have
their own individual supplies.
A typical example is a motor control centre (MCC)
where each starter has a separate internal supply.
The common output card arrangement cannot be
used here without separate interposing relays
(driven by the PLC with contacts into the MCC
circuit).
An isolated output card, shown in Figure, has
individual outputs and protection and acts purely
as a switch.
Structure
Structure
This can be connected directly with any outside
circuit.
The disadvantage is that the card is more
complicated (two connections per output) and
safety becomes more involved.
An eight-way isolated output card, for example,
could have voltage on its terminals from eight
different locations.
Optical isolation is again used to give the
necessary separation between the plant and the
PLC system.
The output state can be observed on LED.
Structure
MEMORY INPUT/OUTPUT
ADDRESS
DATA
CONTROL