Professional Documents
Culture Documents
PLC & Scada: Subject Code
PLC & Scada: Subject Code
Subject code :
07/25/2021 1
COURSE OBJECTIVES:
SCADA.
07/25/2021 2
COURSE OUTCOMES:
PLC.
Ability to understand the SCADA
07/25/2021 3
MODULE I
PLC HARDWARE& CONFIGURATION
Analog input modules
Analog output module
Digital input module
Counter or accumulator digital inputs module
Digital output module, Mixed analog and
digital modules
Communication interfaces
Power supply module
Processor module
Logical sensors-logical actuators
PLC operation
07/25/2021 4
Programmable Logic
A programmable logic controller (PLC) is a
specialized computer used to control machines
Controller
and processes .
07/25/2021 5
PLC
PLC controller is usually the central part of an
process control system.
With execution of a program stored in
07/25/2021 6
Advantages SCSV
SCSV
MV
MV
Increased Reliability
More Flexibility
Lower Cost
Communications Capability
Faster Response Time
Easier to Troubleshoot
07/25/2021 7
Classical Control panel
During sixties and seventies, relays were used to
operate automated machines, and these were
interconnected using wires inside the control panel.
In some cases a control panel covered an entire wall.
07/25/2021 8
disadvantages of a classic control panel are:
07/25/2021 9
PLC based Control panel
07/25/2021 10
Advantages of PLC based control panel :
1. Compared to a conventional process control
system, number of wires needed for connections is
reduced by 80%
2. Consumption is greatly reduced because a PLC
consumes less than a bunch of relays
3. Diagnostic functions of a PLC controller allow for
fast and easy error detection.
4.Change in operating sequence or application of a
PLC controller to a different operating process can
easily be accomplished by replacing a program
through a console or using a PC software (not
requiring changes in wiring, unless addition of some
input or output device is required).
07/25/2021 11
Advantages of PLC based control
panel :
07/25/2021 12
Parts of PLC SCSV
SCSV
MV
MV
07/25/2021 13
Parts of PLC SCSV
SCSV
MV
MV
07/25/2021 14
power supply SCSV
SCSV
MV
MV
The power supply supplies dc power to
other modules that plug into the rack.
For large PLC systems, this power supply
07/25/2021 15
CPU SCSV
SCSV
MV
MV
The processor (CPU) is the "brain" of the PLC.
A typical processor (usually consists of a microprocessor
for implementing the logic and controlling the
communications among the modules.
The processor requires memory for storing the results of
the logical operations performed by the microprocessor.
Memory is also required for the program EPROM or EEPROM
plus RAM.
the user can enter the desired circuit in relay ladder logic.
The processor accepts (reads) input data from various
sensing devices. executes the stored user program from
memory. and sends appropriate output commands to
control devices.
A direct current (dc) power source is required to produce
the low-level voltage used by the processor.
07/25/2021 16
CPU
CPU also takes care of communication,
interconnectedness among other parts of PLC
controller, program execution, memory
operation, overseeing input and setting up of
an output.
07/25/2021 17
Programming device SCSV
SCSV
MV
MV
07/25/2021 18
I/O Section SCSV
SCSV
The I/0 section consists of input modules MV
MV
and output modules .
The I/O system forms the interface by
which field devices are connected to the
controller.
The purpose of this interface is to
condition the various signals received
from or sent to external field devices.
Input devices such as pushbuttons, limit
switches, sensors. Selector switches. and
thumbwheel switches are hardwired to
terminals on the input modules.
Output devices such as small motors,
motor starters, solenoid valves. and
indicator lights are hardwired to the
terminals on the output modules.
07/25/2021 19
Inputs and Outputs Devices SCSV
SCSV
Inputs Outputs MV
MV
07/25/2021 23
Input/Output Module SCSV
SCSV
MV
MV
07/25/2021 24
Input/Output Module SCSV
SCSV
MV
MV
07/25/2021 25
Input/Output Module SCSV
SCSV
MV
MV
07/25/2021 26
Discrete Input/Output Module SCSV
SCSV
MV
MV
07/25/2021 27
Discrete Input Module SCSV
SCSV
MV
MV
07/25/2021 28
Discrete input module of Allen-
Bradley SLC 500
07/25/2021 29
Discrete Input Module SCSV
SCSV
MV
MV
07/25/2021 30
Discrete Input Module SCSV
SCSV
MV
MV
07/25/2021 31
Interface of PLC with discrete input
devices
07/25/2021 32
Interface of PLC with discrete input
devices
PLC must receive a signal from the sensor
through a discrete input channel.
Inside each discrete input module is (typically) a
07/25/2021 33
Interface of PLC with discrete input
devices
Light from each LED shines on a photo-sensitive
device such as a photo-transistor inside the
module, which in turn activates a bit (a single
element of digital data) inside the PLC’s
memory.
This opto-coupled arrangement makes each
07/25/2021 35
Discrete output Module SCSV
SCSV
MV
MV
07/25/2021 36
Discrete output Module SCSV
SCSV
MV
MV
07/25/2021 37
Discrete output Module
But they have a much s lower switching time
compared to solid -state outputs.
The design of dc field devices typically
07/25/2021 38
Interface of PLC with Output device
through discrete output module
07/25/2021 39
Analog I/O Module
Interface with an analog sensor or control
device with CPU of PLC through ADC.
Analog-to-Digital Converter, circuit designed
07/25/2021 40
Analog signal types
Voltage (0 to 10 volt, 0 to 5 volt)
Current (0 to 20 mA, 4 to 20 mA)
Thermocouple (millivoltage)
RTD
Strain gauge
07/25/2021 41
Type of I/O indicator SCSV
SCSV
MV
MV
07/25/2021 42
Sourcing SCSV
SCSV
MV
MV
07/25/2021 43
Sinking SCSV
SCSV
MV
MV
07/25/2021 44
Analog input modules SCSV
SCSV
MV
MV
07/25/2021 45
Analog input interface module
connection to a thermocouple
SCSV
SCSV
MV
MV
07/25/2021 46
Analog input interface module
connection to a thermocouple
SCSV
SCSV
MV
MV
07/25/2021 47
Analog input modules
SCSV
SCSV
There are two basic types of analog input modules available: MV
MV
current sensing and voltage sensing.
Voltage input modules are available in two types:
unipolar and bipolar
Unipolar modules can accept only one polarity for input. For
example. if the application requires the card to measure 0 to
+ 10 V. a unidirectional card would be used.
The bipolar card will accept input of positive and negative
polarity. For example. if the application produces a voltage
between-10 V and +10 V. a bidirectional input card would be
used because the measured voltage could be negative or
positive.
Current input modules are normally designed to measure
current in the 4mA to 20mA range.
07/25/2021 48
Analog output module SCSV
SCSV
MV
MV
07/25/2021 49
AC output Module SCSV
SCSV
MV
MV
07/25/2021 50
AC output Module SCSV
SCSV
MV
MV
07/25/2021 51
Analog output module SCSV
SCSV
MV
MV
07/25/2021 52
PROCESSOR Module SCSV
SCSV
MV
MV
The CPU contains the same type of microprocessor found
in a personal computer.
The difference is that the program used with the
microprocessor is designed to facilitate industrial control
rather than provide general purpose computing.
The CPU executes the operating system, manages memory,
monitors inputs, evaluates the user logic (ladder
program),and turns on the appropriate outputs.
The CPU of a PLC system may contain more than one
microprocessor.
The advantage of using multiprocessing is that control and
communication tasks can be divided up. And the overall
operating speed is improved.
07/25/2021 53
Processor module –Block diagram
07/25/2021 54
PROCESSOR Module SCSV
SCSV
MV
MV
07/25/2021 55
Processor operating mode SCSV
SCSV
MV
MV
programming device):
RUN, PROG, and REM(Remote).
07/25/2021 56
RUN Position
SCSV
SCSV
MV
MV
output devices
Prevents you from performing online program
07/25/2021 57
PROG Position
SCSV
SCSV
MV
MV
processor mode
07/25/2021 58
REM Position
SCSV
SCSV
MV
MV
editing
07/25/2021 59
Memory SCSV
SCSV
MV
programmable logic controllers have
MV
devices.
Data are stored in memory locations by a
referred to as reading.
07/25/2021 60
Read-Only Memory (ROM)
SCSV
SCSV
MV
MV
Cannot be changed.
07/25/2021 61
Random Access Memory
(RAM or R/W) SCSV
SCSV
MV
MV
07/25/2021 62
PROM SCSV
SCSV
MV
MV
07/25/2021 63
EPROM SCSV
SCSV
MV
MV
07/25/2021 64
EPROM SCSV
SCSV
MV
MV
07/25/2021 65
EEPROM SCSV
SCSV
MV
MV
Electrically erasable programmable readonly
memory (EEPROM) is a nonvolatile memory that
offers the same programming flexibility as does
RAM.
The EEPROM can be electrically overwritten with
07/25/2021 67
Power supply Module
Selecting a Power Supply
The output voltage of the power supply that we use
is typically 24 volts DC.
The output current varies depending on the
10 Ampere.
Depending on which and how many modules are
07/25/2021 68
Power supply Module
07/25/2021 69
Power supply Module
Wiring the module
The power supply is fed directly from a 110
07/25/2021 71
Special I/o MODULES SCSV
SCSV
MV
MV
07/25/2021 72
Counter Module
A count module senses fast pulses, from
sources such as shaft angle encoders,
through several input ports.
Counting frequency can be as high as 2 MHz
07/25/2021 73
Counter module hardware
An interface to the processor through the
system bus
An counter electronics block
An quartz controlled frequency generator and
An frequency divider.
07/25/2021 74
A counter can be programmed in
many ways
07/25/2021 75
Encoder-Counter Module
SCSV
SCSV
The encoder-counter module allows continual MV
MV
axes.
Gray code is common for absolute encoders,
07/25/2021 76
Stepper Motor Module
SCSV
SCSV
MV
MV
07/25/2021 77
PLC Communication Interface
Serial communication
Serial communication is when data is
07/25/2021 78
Serial communication
07/25/2021 79
Transmission Modes in Serial Communication
Simplex Method
Half Duplex Method
Full Duplex Method
Simplex Method
simplex method is one-way communication
technique.
The well-known examples of simplex method
are Television and Radio
sender or receiver can be active at a time
07/25/2021 80
Transmission Modes in Serial
Communication
Half Duplex Method
both sender and receiver can be active but not
at the same time
The well-known examples of the half duplex is
the internet where the user sends a request
for a data and the gets it from server.
07/25/2021 81
Transmission Modes in Serial
Communication
Full Duplex Method:
In full duplex method, both receiver and
07/25/2021 82
Clock Synchronization
master to slave.
all the devices use single CPU bus to share
07/25/2021 83
07/25/2021 84
Synchronous Serial Interface:
added to data.
In receiver side, the data is being extract
07/25/2021 85
Asynchronous Serial Interface:
07/25/2021 87
Asynchronous Serial Interface:
07/25/2021 88
PLC Communication Interface
START/STOP Bits
start bit.
07/25/2021 89
PLC Communication Interface
Parity bit
Parity bit is added to check whether
corruption has occurred.
Common forms of parity are: None, Even, and
Odd.
During transmission, the sender calculates
07/25/2021 91
Software handshaking
Software handshaking (flow control) is used
to make sure both devices are ready to
send/receive data.
The most popular “character flow control” is
called XON/XOFF.
The receiver sends the XOFF character when
07/25/2021 93
Features of RS232
It is an asynchronous communications
method
It is used in serial communication up to 50
07/25/2021 94
RS 232
DTE – Data Terminal Equipment and a common example is a computer.
07/25/2021 95
Signals
TXD -TRANSMITTER
RXD- RECEIVER
RTS -REQUEST TO SEND
CTS -CLEAR TO SEND
GND- GROUND
07/25/2021 96
RS-232 Communications
PLCs serial port is used for transmission/reception
of the data, it works by sending/receiving a
voltage, With RS232, normally, a 1 bit is
represented by a voltage -12 V, and a 0 by a
voltage +12 V.
(The voltage between +/- 3 volts is considered
There are 2 types of RS-232 devices.)
DTE – Data Terminal Equipment and a common
example is a computer.
07/25/2021 98
RS-485 interface
up to 1200 meters.
By using repeaters, however, both the total
07/25/2021 99
RS-485 interface
RS-485 network can be used as a two-wire or
four-wire network.
The four wire network would be bidirectional
07/25/2021 10
0
RS-485 interface
The RS-485 disadvantage is that it is harder
to program, because it uses the same 2 wires
to send and receive data.
And in any given network, only one node can
07/25/2021 10
2
PLC Operation SCSV
SCSV
MV
MV
07/25/2021 10
3
PLC Operation SCSV
SCSV
MV
MV
07/25/2021 10
4
SCSV
SCSV
MV
MV
accordingly.
Each H- can be thought of as a set of
07/25/2021 10
6
References:
Text Books:
Introduction to Programmable Logic Controllers by
Garry Dunning, Thomson,2nd Edition,Thomson,
ISBN: 981-240-625-5 .
Programmable logic controller by Frank D
Narosha Publishing
Computer based Industrial Control by Krishna
07/25/2021 10
7