PLC Basics F
PLC Basics F
(PLC)
Contents
Control Process
What is PLC?
General Architecture of PLC
PLC Operating Cycle
PLC Hardware Type
PLC Architecture Evolution
Programming of PLC
Basic PLC Advantages
Applications
Control Process
Physical Quantity is sensed in the form of small
current/voltage e.g. Temperature, Pressure, Flow,
Level etc (Sensor)
This Electrical Signal is amplified to a certain level
(Amplifier)
Then amplified analogue output is converted into
digital form. (Analogue to Digital Converter i.e.
A/D)
This digital output is fed to the controller of the
system to control the various physical quantities
with the help of different devices. (PLC,
Microcontroller, DSP etc…)
Block Diagram Amplified
Analogue output
Digital
Controller
Analogue output (PLC, Microcontroller etc…)
in mA/mV
Control signals
Digital /Analogue
Devices
(Motors etc…)
What is PLC?
A digitally operating electronic apparatus
which uses a programmable memory for
internal storage of instructions
Implement specific functions, such as logic,
sequencing, timing, counting and arithmetic
Control various types of machines or
process through digital or analogue
input/output.
Traditional concept of PLC
Output
PLC Hardware Type
A most basic PLC system is a self contained PLC which has
two terminal blocks, one for the Input and other for the
Output, called “Micros”.
Typically they provide front panel LED status indication of
I/O and processor status.
2. Modular Chassis Based PLC
The vast majority of PLC’s installed today are
modular chassis based PLC consisting of:
3. Modular Chassis-less PLC Systems
The advanced PLC’s are chassis-less
These are modular PLC systems.
These systems also have:
-Processor - Power supply
-I/O modules -Communication card
These components mount directly on a
panel to allow easy insertion and removal.
General PLC Blocks
Personal Computer
220V, 50/60Hz
RS 232
48V DC
Contd…
48V DC
Contd…
Contd…
Bus system is
PLC Architecture Evolution
PLC Architecture Evolution
PLC Architecture Evolution
PLC Architecture Evolution
PLC Architecture Evolution
PLC Architecture Evolution
Programming of PLC
The purpose of a PLC program is to
control the state of outputs based on the
current condition of the inputs.
Types of programming :
Ladder Logic (Analogous to Relay Technology)
Function Block (FB’s based on AND-OR logic)
Visual Basic (VB based on C language)
Line Neutral
Ladder Logic Concepts
Ladder Logic Concepts
Read and Write Instruction
Read Instruction
Write Instruction
LOGIC GATES & LADDER LOGIC DIAGRAM
Ladder Logic
Relay logic refers to a system of electrical circuits built using physical relays
to achieve control logic, while ladder logic is a graphical programming
language that mimics the structure of relay logic, but is implemented on a
programmable logic controller (PLC) allowing for software-based changes to
the control logic instead of rewiring physical relays; essentially, ladder logic is
a digital representation of relay logic used in a PLC environment.
Key Differences:
Implementation:
Relay logic uses physical relays wired together to create circuits, whereas ladder logic
is programmed on a PLC using a graphical interface.
Flexibility:
With relay logic, changing the control logic requires physically rewiring the circuit, while
with ladder logic, changes can be made easily through software modifications on the
PLC.
Complexity:
Complex control systems can become very intricate with physical relays, whereas
ladder logic allows for more complex logic with a more organized visual representation.
Similarities:
Logic Representation:
Both relay logic and ladder logic use similar symbols to represent logic operations like
"AND", "OR", and "NOT", reflecting their origins in traditional relay circuits.
Visual Design:
Ladder logic is designed to resemble the appearance of a ladder diagram, which is a
way to visually represent relay logic circuits.
Some Important Instructions
Latching/Unlatching Instruction:
Latch
Timer ON Delay(TON)
Counter Up (CTU)
Equal (EQU)
Not Equal (NEQ)
Less Than (LES)
Less Than or Equal (LEQ)
Greater Than (GRT)
Greater Than or Equal (GEQ)
A AND
B
Basic PLC Advantages
Ease of Programming
Ease of Maintenance
Designed for Industrial Environment
Suitable for Extreme Environmental
Conditions
Quick Installation
Adaptable to Change
Applications