Mod 1 MRT 383 Daaplc
Mod 1 MRT 383 Daaplc
• Leading manufactures
• Features of PLC
• Merits and demerits of PLC
• Architecture of PLC
• 3 different types of architecture
• Details of each type of architecture and its BD
Essay
• Specialties of each type
• Comparison of the three types of architecture.
What is Programmable logic controller
(PLC) ?
• The National Electrical Manufactures Association (NEMA) defines a PLC as a
“Digital operating electronic apparatus which uses a programmable memory for
the internal storage of instruments by implementing specific functions, such as
logic, sequencing, timing, counting, and arithmetic to control through digital or
analog I/O modules various types of machines or processes.”
• A PLC or programmable controller is an industrial computer that has
been ruggedized and adapted for the control of manufacturing processes, such
as assembly lines, machines, robotic devices, or any activity that requires high
reliability, ease of programming, and process fault diagnosis.
Programmable Logic Controllers
• The programmable logic controller is designed for multiple input and output
arrangements, extended temperature ranges, immunity to electrical noise,
and resistance to vibration and impact.
A PLC is a which receives signals from user supplied controlled devices, such
as sensors and switches, implements them in a precise pattern determined
by ladder-diagram based application, progress stored in user memory and
provides outputs for control of processes or user supplied devices, such as
relays or motor starters.
History of PLC
• Dick Morley is considered as the father of PLC as he had invented the first PLC, the
Modicon 084 .The first PLCs were installed in industry in 1969.
• In 1970s PLC programmed with graphical representations for normally open and
closed relay contacts, pushbuttons, switches, relay coils, motor starters, valves
timers etc. were developed (ladder logic diagrams).
• In 1980s third-party software packages that worked with multiple PLC hardware
platforms became available. It reduced the cost.
• Now PLC has capabilities like vision system integration, motion control and support
for multiple communication protocols.
Leading PLC Manufacturers
1. Siemens
2. Rockwell Automation / Allen
Bradley
3. Mitsubishi Electric
4. Schneider Electric
5. Omron
6. Emerson (General Electric)
7. Keyence
8. IDEC
9. B & R Industrial Automation
10. ABB
11. Bosch Rexroth
12. Hitachi
13. Phoenix Contact
14. Panasonic
15. LS Electric
16. Eaton
17. Delta Electronic
18. Yokogawa Electric
19. Toshiba
Country
PLC Manufacturers
Headquarters
Siemens (Simatic)
Bosch (Rexroth)
Beckhoff
GERMANY
Wago
Phoenix Contact
IFM Electronic
ecial Features( Advantages) of Programmable Logic Controlle
Reduced space: PLCs are completely solid state devices and hence are
extremely compact in comparison to hard-wired controllers where electro-
mechanical devices are used.
Higher Life and Reliability: These devices are extremely rugged. The
chances of defect/damage are very less as there is very lesser moving
mechanisms here.
Economical: As the defect probability is very less, one can consider it as
one time investment. In this way, PLCs are undoubtedly most economical
systems. Cost of PLC recovers within a short period.
Energy saving: Average power consumption is just 1/10th of power
consumed by an equivalent relay based control.
Easier Storage Archiving and Documentation: This is due to its
Ease of maintenance:
i. Modular replacement: Modular Plug-in construction, allowing easy
replacement or addition of units (input/output)
ii. Easy trouble shooting: Ease of programming and reprogramming in-
plant.
iii. Error diagnostics with programming unit: Easily understood
programming language.
Tremendous flexibility: There is no requirement of rewiring if any change
is required to be implemented. It can carry out complex functions like
arithmetic operations, counting, comparing, generation of time delay etc. It
has a very high processing speed and greater flexibility in both analog and
digital process. “On Line”/ ‘Off Line’ programming is also possible in it.
Shorter Project Time: The hard wired control system can be constructed
only when the task is fully defined. However, In case of PLC , the
construction of the controller and wiring are independent of control
Advantages and Disadvantages of a PLC
Advantages:
Many inputs and outputs, excellent for controlling and monitoring many
processes.
Designed for industrial environments, very robust and reliable.
Reprogrammable.
Modular.
Ideally suited to supervisory control.
Disadvantages of a PLC
For simple applications where relay logic might suffice, using a PLC might blow out
costs due to the need to hire a programmer.
Math functions in a PLC are quite advanced, but when it comes to doing large amounts
of complex math computations then an industrial PC might be better suited.
Certain robotic and positioning applications may require extremely high speed
execution which may not be able to be achieved form a PLC.
Can be expensive for automating an application with fixed parameters for mass
Over all PLC System – Parts of a PLC
• PLC can be
1.Fixed or
2.modular type
the I/O terminals will have a fixed number of The modules plug into a rack.
connections built in for inputs and outputs.
The main advantage of this type of packaging it makes an electrical connection with a series
is of contacts called the backplane, located at the
lower cost. rear of the rack.
Great flexibility
1. Central Processing Unit
• The processor (CPU) is the “brain” of the PLC
• While the CPU processor handles all the program (eg. ladder
logic) execution.
PLC Architecture Block Diagram
Types of PLCs
The general classification of PLC based upon the number of input and outputs is
Fixed types PLC - In this type of PLC all the components of the PLC are as a single unit. The number of I/O
supported by the PLC is decided by the manufacture and cannot be changed.
Modular type PLC - Modular PLC is divided by compartments into which separate modules can be plugged.
Rack type PLC/ Distributed PLC - In Rack type PLC all the components of the PLC are as separated
modules and are assembled to form one unit by mounting the individual components on a rack. This PLC can support up to
thousands of I/Os.
There is also crossover between PLC types with some fixed type PLCs having modular
type features and some modular type PLCs having distributed type features.
High speed
communication link
Architecture of a Distributed PLC Type
Distributed PLCs are used for large factories and large processing facilities because they are
not limited to physical location.
They allow hardware components to be located in different locations by utilizing high speed
communication links to interconnect processors and distributed I/O.
The biggest differences between distributed PLCs and other types of PLCs is that
• They contain high performance processors
• Large memories
• Are able to handle large volumes of I/O
• Use higher level programming languages
• Can handle large amounts of complex process control tasks
What are the Advantages of Using a Distributed PLC?
•Plant wide control network with multiple processors and remote I/O
drops.
•High performance processor.
•Large program and data memory.
•Able to handle large volumes of I/O.
•Can handle large amounts of complex process control tasks.
•Ease of maintenance.
•Save time and money on installation
Disadvantages costs.
of Distributed PLCs
• Large in size with bigger installation footprint.
• The mounting system is more complex than a fixed PLC.
• Higher in cost than other types of PLC so they may not be cost
effective for smaller less complex applications.
• Higher level programming skills may be required.
PLC Types Comparison Table
The relay is the fundamental component and it works by switching electric circuits on
and off to form logic operations that in turn provide process control to the system.
You can think of relay logic systems as a mechanical computer that does computation
with 1’s and 0’s by switching relays instead of using a silicon chip.
https://www.youtube.com/watch?v=Ca20ktPygY8
What Is A Relay?
• A relay is an electromechanical device that consists of two basic
components,
Relay coil
Relay contact.
• It is an electromagnetic device used to separate two circuits
electrically and connect them magnetically
• The relay contact is used to switch a circuit on or off and the relay
coil is used
WhytoAre
change the state
Relays Usedof the
In relay contact.
Control Circuits?
They are used to interface an electrical circuit, which works at a
low voltage to an electrical circuit which work at ahigh
temperature.
That means relays can be used to connect circuits with
different voltage and current levels to control equipment
like motors and actuators.
What Functions Does A Relay Perform?
Relays perform 3 main functions in an electric circuit:
Allowing control circuits to switch a load circuit even if the
voltages of both circuit are different.
Able to switch a high current device using a low current
electronic control signal.
Relays can be wired in combination to perform logical
operations using a network of electric circuits known as
relay logic.
Electromechanical Relay Relay Coil With Contact Voltage & Current Rati
Relay Operation
SPST Relay SPST Relay
Basic Relay Operation with Normally Open (NO) Basic Relay Operation with Normally Closed (NC)
Contact Contact
If a relay with changeover contacts is wired in If a relay with changeover contacts is wired in
a normally open (NO) configuration and the a normally closed (NC) configuration and the
relay is energized then the contact will relay is energized then the contact will
change state from OPEN to CLOSD. change state from CLOSED to OPEN. Notice
that the wiring of the contacts has changed
sides.
The basic format for relay logic diagrams is as
follows:
1.The two vertical lines that connect all devices on the
relay logic diagram are labeled L1 and L2. The space
between L1 and L2 represents the voltage of the control
circuit.
2.Output devices are always connected to L2. the output
device must be the last component before L2.
3.Control devices are always shown between L1 and the
output device. Control devices may be connected either in
series or in parallel with each other.
4.Devices which perform a STOP function are usually
connected in series, while devices that perform a START
function are connected in parallel.
5.Electrical devices are shown in their normal conditions. A
NC contact would be shown as normally closed, and an NO
contact would appear as a normally open device. All
contacts associated with a device will change state when
the device is energized.
This figure shows a typical relay
logic diagram.
In this circuit, a STOP/START station is used
to control two pilot lights.
When the START button is pressed, the
control relay energizes and its associated
contacts change state.
The green pilot light is now ON and the red
lamp is OFF.
When the STOP button is pressed, the
PLC Programming Languages
• A PLC program consists of a set of instructions either in textual or graphical form, which represents
the logic that governs the process the PLC is controlling.
• The International Electro-technical Commission(IEC) 61131-3 outlines 5 different PLC Programming
languages under two main classifications of PLC programming languages. They are,
• Function blocks are linked together to complete a circuit that satisfies a control
requirement.
• Data flow on a path from inputs, through function blocks or instructions,
and then to outputs.
a. Textual Language
1. Instruction list
• The Instruction List language resembles Assembly Language.
• This language uses mnemonic codes such as LD (Load), AND, OR, etc.
• The Instruction List contains instructions with each instruction on a new
line with any comments you might want to annotate at the end of each
line.
1.Ladder Logic
2.Function Block
3.Sequential Function Chart (SFC)
1. Ladder Logic
GE - Versa Pro
Mitsubishi - GX Developer
AND
gate.
OR gate.
NOT
gate.
Y = AB + C
What Is a Ladder Diagram?
• Ladder diagrams are advanced schematics widely used to record logic
structures for industrial controls.
• These are called ladder diagrams because they mimic a ladder, with two vertical
rails (supply power) and as many "rungs" (horizontal lines) as there are to
represent control circuits.
• The load device (lamp, relay coil, solenoid coil, etc.) is drawn almost always on
the right-hand side of the rung in ladder diagrams.
• Although it doesn't matter electrically where the relay coil is within the rung, it
does matter that the end of the power supply of the ladder is grounded, for stable
operation.
Benefits of Using a Ladder Diagram
•Intuitive and self-documenting. A ladder diagram provides superb schematic
interpretation focused on well-understood principles of circuit architecture.
•The learning curve to get going with a ladder diagram is very small because
of the accessibility of the environment; simple programming skills grow
rapidly.
•This has made the ladder diagram especially common for applications that
involve staff without technical experience to repair or manage, like certain
electricians or plant technicians.
•The ladder diagram is intended to replicate electrical circuits, it is a perfect
way of reflecting abstract logic of course. A ladder diagram is pretty intuitive
for digital logic.
Why Is a Ladder Diagram Used for PLC
Programming?
• Ladder logic is a programming language used for PLC (Programmable
Logic Controller) programming.
• It is a graphical PLC programming language which uses ladder
diagrams to express logic operations with symbolic notation, much
like the rails and rungs of a typical relay logic circuit.
• In order to bring industrial automation applications, it is used by
engineers and electricians to execute mathematical, linear, measuring,
pacing, and arithmetic functions.
• It is a common process from which to program a PLC.
• Ladder logic programming is still used now since the basic concepts of
system and process control are still the same.
LADDER DIAGRAM SYMBOLS
Coil
1 or 0
Real or Negative
Tall or Low
On or Off
Yes or No
OR
AND
How to Create a Ladder Diagram
• The rails in a ladder diagram depict the supply wires of a
regulating relay logic circuit.
• On the left line, there is a positive voltage supply track, and on
the right side, a negative voltage track.
• In a ladder diagram, the logic flow is from the left-hand rail to
the right-hand rail.
• There are seven fundamental aspects of a ladder diagram
which are important to learn when applying a ladder logic
system in a PLC.
• They are names and statements concerning lines, rungs,
inputs, outputs, logic expressions, address notation/tag names.
Some of these are essential, and some are optional. LADDER DIAGRAM
•Rails In a ladder diagram there are two rails which are drawn
as vertical lines going down the foremost ends.
•Rungs The rungs are drawn horizontally and link the rails to the
statements of logic.
•Inputs The inputs are actual control acts such as pushing a
push-button or activating a cap switch.
•Outputs Outputs are electronic machines which are turned on
and off like an electric motor or a solenoid lever.
•Logic Expressions The logic expressions are used to formulate
the desired control operations in combination with the inputs
and outputs.
Motor stop/start relay ladder schematic
Example 4 Two limit switches connected in parallel with each other and in
series with two sets of flow switches (that are connected in parallel with
each other), and used to control a pilot light.
Example 5 Two limit switches connected in series with each other and in
parallel with a third limit switch, and used to control a warning horn.
Example 6 Two limit switches connected in series with each other and in
parallel with two other limit switches (that are connected in series with
each other), and used to control a pilot light.
Example 7 One limit switch connected in series with a normally closed
pushbutton and used to control a solenoid valve. This circuit is programmed
so that the output solenoid will be turned on when the limit switch is closed
and the pushbutton is not pushed.
Troubleshooting Indicator
Troubleshooting Inputs
Troubleshooting Outputs
Troubleshooting CPU
Troubleshooting Ground Loops
• It happens when two or more electrical paths exist in a ground line.
• the transducers and transmitter are connected to ground at the chassis (or device
enclosure) and connected to an analog input card through a shielded cable.
• The shield connects to both chassis grounds, thereby creating a path for current to
flow from one ground to another since both grounds have different potentials.
• This could create interference that would result in a possible misreading of the
analog signal.
• the shield should only be connected to ground at the analog input interface.
To check for a ground loop,
• disconnect the ground wire at the ground termination and measure the resistance
from the wire to the termination point where it is connected
• The meter should read a large ohm value
• If a low ohm value occurs across this gap, circuit continuity exists, meaning that
the system has at least one ground loop
Troubleshooting Indicator
• LED status indicators can provide much information about field devices, wiring,
and I/O modules.
• LED indicators greatly assist the troubleshooting process with power and logic
indicators, the user can immediately pinpoint a malfunctioning module or circuit.