Notes
Notes
History of Automation
Pneumatic Control
Industrial automation, with its machine and process control,
had its origin in the 1920s with the advent of "Pneumatic
Controllers".
Actions were controlled by a simple manipulation of pneumatic
valves, which in turn were controlled by relays and switches.
Drawbacks
● Bulky and Complex System
● Involves a lot of rework to implement control logic
● Longer project time
Hard wired logic control
Drawbacks
Bulky panels
. Complex wiring
i. Longer project time
v. Difficult maintenance and troubleshooting
Advantages
Reduced space requirements
Energy saving
Less maintenance & greater reliability
Disadvantages
Changes in control logic not possible
More project time
Programmable Logic Controllers
In 1970s with the coming of microprocessors and associated
peripheral chips, the whole process of control and automation
underwent a radical change.
Instead of achieving the desired control or automation through physical
wiring of control devices, in PLC it is achieved through a program
or say software.
It can be effectively used in applications ranging from simple control
like replacing small number of relays to complex automation problems
Advantages of PLCs
➢ Reduced space
➢ Energy saving
➢ Ease of maintenance
➢ Economical
➢ Greater life & reliability
➢ Tremendous flexibility
➢ Shorten the project execution time
➢ Easier storage, archiving and documentation
Industrial Automation Components
Simple relay circuit for controlling a bell using a single pole, single-through
(SPST) switch
A relay is typically used to control a device that requires high voltage or draws
large current.
The relay allows full power to the device without needing a mechanical switch
that can carry the high current.
A switch is normally used to control the low-power side, the relay-coil side.
In ladder-logic diagrams,
an electromechanical relay coil is shown as a circle
and the contacts actuated by the coil as two parallel lines.
Given this notation, the relay logic line diagrams for the AND and OR logic
functions are
L1 L2
Indicator L1 Indicator L2
А AORB CR1 AANDB
A CR1
CR2
B
CR2
CR1 Indicator
Any device overloads that are to be included must be shown between the output
device and L2;
the output device must be the last component before L2.
Input devices are always shown between L1 and the output device.
Relay contact control devices may be connected either in series, parallel, or a
combination of both called series-parallel.
Control Relay Application
Figure shows the line diagram for a common application of electromechanical
relay dc motor-control circuitry
A momentary NO push-button switch starts the motor, and another NC push-
button switch stops the motor.
The control relay contact is used to latch the Start push button after it is released.
Another contact associated with the same relay is used to start the motor.
Pressing the Stop push button at any time will interrupt the flow of electricity to
the motor and cause it to stop
Dc motor controls
The line diagram illustrates how a hardwired relay is used to control two pilot
lights. The desired control is accomplished using two push-button switches; PB1
starts the operation, and PB2 terminates it at any time.
Figure shows the low power motor starter circuit. START and STOP push-button switches
start and stop the motor through the control of its magnetic starter. Magnetic starter
contact M-4 is used to latch the motor start action.
PLC programming
Programmable Logic Controllers
( Definition according to NEMA standard ICS3-1978)
I/ O:
input/ output in block diagram refer to input output terminals not the
physical I/Os like push button, sensors, motor, relay etc.
There is two types I/Os
a) Relay and
b) Transistor.
Memory location:
PLC has two memory locations, program and data memory location.
The memory location where program is saved is program memory.
Memory location where all addresses (addresses that we use in our
program) are pre located is data memory.
It is EEPROM. PLC RAM and EEPROM is battery backed.
Communication port:
It is used to communicate PLC with other devices such as laptop/
computer, HMI/ SCADA PC/ Drives etc.
On branded PLC you can find RS 232, RS 422, RS 485 etc.
PLC communication
High-speed module Relay based control PLC-based control
counting panel
Relationships between the inputs and outputs re determined by the user
program.
Fixed I/O
PLC’s with fixed I/O typically come in a complete unit that
contains the processor, I/O section, and power supply
Disadvantage of fixed I/O
lack of flexibility; you are
limited in what you can
get in the quantities and
types dictated by the
packaging
Fixed I/O
is typical of small PLCs that come in one package with no separate, removable units.
The processor and I/O are packaged together, and the I/O terminals will have a fixed
number of connections built in for inputs and outputs.
Modular I/O
is divided by compartments into which separate modules can be plugged.
This feature greatly increases your options and the unit’s flexibility.
is modular in nature, more flexible than fixed I/O units. The I/O rack or
chassis is a framework or housing into which modules are inserted.
Voltage Signal
The purpose of this interface is to condition the various signals received from or
sent to external field devices.
To electrically isolate the internal components from the input and output
terminals, PLCs commonly employ an optical isolator, which uses light to couple
the circuits together .
Input interface
DC voltage digital input circuit
A.C voltage digital input circuit
Pulse counter circuit
ADC interface
DC voltage digital input circuit
This interface uses DC source which is normally 24V
It can be connected into forms
With the sink input interface when the input device turned on connect the circuit
to 0V line of the DC supply.
With the current sourcing interface when the input device turned on connects the
Circuit to the positive polarity of the supply
Ladder
Logic
•Parallel contacts are equivalent to an OR gate.
•Series contacts are equivalent to an AND gate.
•Normally-closed contacts are equivalent to a NOT gate
(inverter).
Things to note
•Parallel contacts are logically equivalent to an
OR gate.
•Series contacts are logically equivalent to an
AND gate.
•Normally closed (N.C.) contacts are logically
equivalent to a NOT gate.
•A relay must be used to invert the output of a
logic gate function, while simple normally-closed
switch contacts are sufficient to represent inverted
gate inputs
If any one of the permissive conditions are not met, the series string of
switch contacts will be broken, CR2 will de-energize, and the red lamp
will light.
Since the “normal” condition of any pressure switch is when zero (low)
pressure is being applied to it, and we want this switch to open with
excessive (high) pressure, we must choose a switch that is closed in its
normal state.
Interlocks
witch contacts designed to prevent a control system from taking two incompatible
actions at once (such as powering an electric motor forward and backward
simultaneously) are called interlocks
Application examples
1. Develop a simple ladder logic program that will turn on switch if inputs A and B ,
or input C is on.
Solution
Let input A , B and C stand for I1, I2 and I3 respectively
2. Develop a simple ladder logic program that will operate the machine in auto and manual mode
Solution
The ladder diagram for a given problem will have two switches (I1 for auto mode while I2 for
Manual mode)
Also interlock contact is needed to avoid both mode to operate at the same time
Auto mode
Manual mode
3. Develop a ladder logic program that will operate two motors M1 and M2 which are required to
to turn ON one after another .First motor M1 start by pressing switch I2 and then by pressing
switch I2, M2 should start. But condition is like that when M2 starts M1 remains OFF. .
Solution
4. Develop a ladder logic program that will be used to find and check bottle cap from a
bottling plant
5. Write a ladder diagram for forward movement of motor by pushing the forward push
button. On pushing the reverse push button motor should start in reverse direction. Motor
should stop before changing the direction of motion. Insert a stop the motor at any time
PHYSICAL WIRING
L
220-230V
AC
N
L N N I1 I2 I3 I4 I5 I6 I7 I8
412-AC-RC
PORT
Q1 Q2 Q3 Q4
L N + - L N + -