PLC Training
PLC Training
Presented by:
sarafaraj alam
What is Relay ?
Relays are essential for automation systems and for controlling loads.
A relay is an electromagnetic switch operated by a relatively small electric current that can
turn
on or off a much larger electric current. The heart of a relay is an electromagnet (a coil of wire
that becomes a temporary magnet when electricity flows through it).
Also, relays are the best way for insulation between high and low voltage portions
of a circuit.
There are hundreds of different relay types .
Construction
Coil
Armature
Contacts ( NO & NC )
Relay Operation
The input circuit is switched off and no
current flows through it until something
(either a sensor or a switch closing) turns it
on. The output circuit is also switched off.
When a small current flows in the input
circuit, it activates the electromagnet , which
produces a magnetic field all around it.
The energized electromagnet pulls the metal
bar in the output circuit toward it, closing the
switch and allowing a much bigger current to
flow through the output circuit.
The output circuit operates a high-current
appliance such as a lamp or an electric
Excercise On Relays
Exercise-1
What is Contactor ?
A contactor is also a type of relay.
Features of Contactors :
A contactor is a relay that is used for switching power.
They usually handle very heavy loads like an electric motor, lighting
and heating equipments and so on.
Though their output is used for switching very high loads, they are
controlled by a circuit with very less power.
According to the loads they handle, they vary in sizes from a small
device to as huge as a yard.
Though they are used for switching purposes, they do not interrupt a
short-circuit current like a circuit breaker.
They have ratings ranging from a breaking current of a few amperes
What is Contactor ?
When a relay is used to switch a large amount of electrical power
through its contacts, it is designated by a special name: contactor.
WHAT IS A PLC ?
A PLC is a digital computer used for automation of industrial processes, like controlling machinery or
factory assembly lines.
The main difference from other computers is that
PLCs operate in industrial environments (dust, moisture, heat, cold, High temperature ranges,
electrical noise,vibration )
Have multiple input/output (I/O) terminals.
I/O terminals connect the PLC to sensors and actuators. PLCs outputs operate electric motors,
pneumatic or hydraulic cylinders, relays or solenoids, and analog outputs.
History Of PLC ?
GM needed the flexibility of solid state; a controller that
could be programmed and maintained by plant engineers;
and was rugged enough to withstand the factory
environment and provided easy troubleshooting...
Evolution Of PLC ?
PLCs were invented as replacements for automated systems that would use
hundreds or thousands of relays, cam timers, and drum sequencers.
Often, a single PLC can be programmed to replace thousands of relays.
The first PLC, model 084, was invented by Dick Morley in 1969.
The first commercial successful PLC, the 184, was introduced in 1973
which was designed by Michael Greenberg.
What is a PLC?
The Basic Block
CPU
Inputs
Outputs
What is a PLC?
From
SENSORS
Pushbuttons,
contacts,
limit switches,
etc.
I
N
P
U
T
M
O
D
U
L
E
O M
PROCESSOR
PROGRAMMING
DEVICE
U O
T D
P U
U L
T E
To
OUTPUT
Solenoids,
contactors,
alarms
etc.
24
Advantages of PLCs
Less wiring.
Wiring between devices and relay contacts are
done in the PLC program.
Easier and faster to make changes.
Trouble shooting aids make programming
easier and reduce downtime.
Reliable components make these likely to operate
for years before failure.
Inside a PLC
The CPU contains an Executive program that tells the PLC
how to:
Execute the control Instructions
Users Program
I/O Module
The I/O interface section of a PLC connects it to external field
devices.
The main purpose of the I/O interface is to condition the various
signals received from or sent to the external input and output
devices.
Input modules converts signals from discrete or analog input
devices to logic levels acceptable to PLCs processor.
Output modules converts signal from the processor to levels
capable of driving the connected discrete or analog
output devices.
28
I/O Circuits
Discrete Inputs
Circuits of this type are used to sense the status of limit switches, push buttons, and
other discrete sensors. Noise suppression is of great importance in preventing false
indication of inputs turning on or off because of noise.
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
Analog outputs can be used to drive devices such as voltmeters, X-Y recorders,
servomotor drives, and valves through the use of transducers.
Standard Analog Output signals: 4-20mA; 0-5V; 0-10V
29
Discrete Input
A discrete input also referred as digital input is an input that is either ON or OFF are
connected to the PLC digital input. In the ON condition it is referred to as logic 1 or a
logic high and in the OFF condition maybe referred to as logic o or logic low.
Normally Open
Pushbutton
Normally Closed
Pushbutton
Normally Open switch
Normally Closed switch
Normally Open contact
Normally closed contact
30
IN
OFF
Logic 0
PLC
Input
Module
24 V dc
IN
OFF
Logic 1
PLC
Input
Module
24 V dc
31
Digital Output
A discrete output is either in an ON or OFF condition. Solenoids,
contactors coils, lamps are example of devices connected to the
Discrete or digital outputs. Below, the lamp can be turned ON or OFF
by the PLC output it is connected to.
OUT
PLC
Lamp
Digital
Output
Module
32
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.
Level Transmitter
Tank
IN
PLC
Analog
Input
Module
33
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.
Electric to pneumatic transducer
OUT
PLC
Analog
Output
Module
0 to 10V
Supply air
34
Input Modules
24 Volt DC
System
+ 24
Volts
- 24
Volts
Input
Module
1
2
3
4
5
6
7
8
9
10
COM
A/D conversion
To PLC
I/O Module
DC INPUT MODULE
IS NEEDED TO:
Prevent voltage
transients from
damaging the
processor.
Helps reduce the
effects of electrical
noise
USE TO DROP
THE VOLTAGE
TO LOGIC LEVEL
FROM INPUT
DEVICE
Current
Limiting
Resistor
OPTOISOLATOR
Buffer, Filter,
hysteresis
Circuits
TO
PROCESSOR
36
What is the difference between PNP and NPN when describing 3 wire
connection of a sensor?
The term solid state refers to the type of components used within the sensor.
Solid state electronic components such as transistors are usedto switch the
output of the sensor upon detection of an object.
Two specific types of 3 wire sensors are available; PNP and NPN. The difference
isa result of the internal circuit design and type of transistors used.
Why twotypes?
When selecting a sensor to be used with a PLC, it is very important that the sensor
matches the type of PLC input card to be used.
Two types of input cards exist, those that 'sink' current (also known as positive
logic) and those that 'source' current (also known as negativelogic).
Itis therefore important to identify the type ofsensor to be used with the PLC card
based on the PLCmanufacturer's documentation and /or wiring diagrams.
I/O Module
AC INPUT MODULE
IS NEEDED TO:
Prevent voltage
transients from
damaging the
processor.
Helps reduce the
effects of electrical
noise
FROM INPUT
DEVICE
Rectifier,
Resistor
Network
OPTOISOLATOR
Buffer,
Filter,
Hysteresis
Circuits
TO
PROCESSOR
42
Condition Sensors
Pressure Switches
Level Switches
Temperature Switches
Encoders
ANALOG:
RTDs
Thermo couple
44
Output Modules
Terminal block Output
Module
D/A Conversion
From
PLC
1
2
3
4
5
6
7
8
9
10
COM
I/O Module
DC / AC OUTPUT MODULE
IS NEEDED TO:
Prevent voltage
transients from
damaging the
processor.
Helps reduce the
effects of electrical
noise
FROM
PROCESSOR
TTL
Circuits
OPTOISOLATOR
Amplifier
RELAY
TRIAC
XSISTOR
TO
OUTPUT
DEVICE
47
Example of a modular
based PLC. The PLC slides
into the chassis along with
other modules
Slide modules into
available slots
I/O Systems
Local I/O
I/O adapter
Input module - distributed
I/O
PLC
Switch-input
I/O network
PLC Size
1. SMALL
USA
Siemens
Germany
Modicon
France
Mitshubishi
Japan
GE Fanuc
USA
Omron
Japan
Selecting a PLC
Criteria
Memory
Scan Time
Communications
Software
Inside a PLC
Communications
Port
I
n
p
u
t
C
i
r
c
u
i
t
s
Central
Processor
Unit
(CPU)
High
Voltage
O
u
t
p
u
t
Isolation
Barrier
MEMORY
Isolation
Barrier
data
program
DC Power Supply
Low Voltage
AC Power Supply
or
C
i
r
c
u
i
t
s
DC POWER SUPPLY
CR
High
Voltage
PLC APPLICATIONS
Packaging
Bottling & Canning
Material Handling
Machining
Power Generation
HVAC/ Building Automation
Security Systems
Automated Assembly
Paint Lines
Water treatment
INDUSTRY
Cement
Metals
Automobile
Paper
Chemicals
F&B
Plastics
THANK YOU