Professional Documents
Culture Documents
Ia 6 1 PDF
Ia 6 1 PDF
EE11405
PLC
• In old days, electrical control was mostly based on relays
(Contactors) (i.e. Relay logic). Since from 1970 PLCs
(Programmable Logic Controllers) have become most
common choice for manufacturing / process control.
• Advantages of PLCs over Relay logic:
– PLCs are programmbale
– Many control relays can be replaced by software,
which means less hardware failure,
– It is easier to make changes in software than in
hardware.
– Special functions such as time delay actions,
counters are easy to produce in software.
– Reliability is more.
– There is almost no task limit to tasks for which PLCs
can be used.
– It is cost effective control system
1
• Disadvantages of PLCs:
– PLC were Designed for Relay Logic Ladder and have
Difficulty with some Smart Devices.
– To maximize PLC performance and Flexibility, a
number of Optional Modules must be added
PLC Vs PC
• PLCs are designed to be operated in industrial
environment with wide range of ambient temperature,
vibration and humidity conditions. It is not effected by the
electrical noise present in the industrial environment.
• In computer, the inputs are floppy drives and CD Roms
and output is a printer, but in PLC the inputs are signals
from control elements like push-buttons, limit switches,
temperature switches, pressure switch and transducer
etc., installed on the machines to be controlled. Also the
output are final control elements like contactors,
solenoids, positioning valves, indication lights, an so
forth.
• The PLC is not a disc based system like PC. With a disc
based system there is a continuous checking of what to
do next. With a PLC the answer of what to do next is
inherent, there is no consulting. The PLC program is
stored in battery backed RAM or EPROM.
3
10
Components
Central Processing Unit (CPU)
Input Output Modules , Remote Input Output
Modules
Power Supply
Bus system
11
12
Input module
These modules act as interface between real-time status of
process variable and the CPU.
Analog input module : Typical input to these modules is
4-20 mA, 0-10 V
Ex : Pressure, Flow, Level Tx, RTD (Ohm), Thermocouple
(mV)
Digital input module : Typical input to these modules is 24 V
DC, 115 V AC, 230 V AC
Ex. : Switches, Pushbuttons, Relays, pump valve on off
status
13
Output module
These modules act as link between the CPU and
the output devices in the field.
Analog output module : Typical output from these
modules is 4-20 mA, 0-10 V
Ex : Control Valve, Speed, Vibration
Digital output module : Typical output from these
modules is 24 V DC, 115 V AC, 230 V AC
Ex. : Solenoid Valves, lamps, Actuators, dampers,
Pump valve on off control
Remote I/O module
These modules are attached to computers which
are connected to network
14
Power Supply
The power supply gives the voltage required for
electronics module (I/O Logic signals, CPU, memory
unit and peripheral devices) of the PLC from the line
supply.
The power supply provides isolation necessary to
protect the solid state devices from most high voltage
line spikes.
As I/O is expanded, some PLC may require additional
power supplies in order to maintain proper power levels.
15
Bus System
It is path for the transmission of the signal . Bus system
is responsible for the signal exchange between
processor and I/O modules
The bus system comprise of several single line i.e. wires
/ tracks
16
17
What is a Rung?
• A rung of ladder diagram code can contain both
input and output instructions
– Input instructions perform a comparison or test and
set the rung state based on the outcome
• Normally left justified on the rung
– Output instructions examine the rung state and
execute some operation or function
• In some cases output instructions can set the rung state
• Normally right justified on the rung
19
A C D E
B AND F
Branches
OR
IF ((A OR B) AND (NOT C) AND D) THEN E=1; F=1 END_IF
20
A D E
Left Power Rail Right Power Rail
B G
Branch
F H
I J
P S
K
R 21
22
23
24
25
27