Professional Documents
Culture Documents
Objectives :
Rules &
guidelines
Why Automation ?
Higher productivity
etc…
History of Process Control &
Automation
PLC Control
Electronics Control
Hard-Wire Control
Manual Control
1. PLC -
Introduction
What does PLC stand for?
• Less wiring.
EUROPEAN: 1. Siemens
2. Klockner & Mouller
3. Festo
4. Telemechanique
Leading Brands Of PLC
JAPANESE: 1. Toshiba
2. Omron
3. Fanuc
4. Mitsubishi
Areas of Application :
• Manufacturing / Machining
• Food / Beverage
• Metals
• Power
• Mining
• Petrochemical / Chemical
PLC Size :
Small: • It covers units with up to 128 I/O’s and memories
up to 2 Kbytes.
POWER
SUPPL
Y
I M O M
N O U O
P D T D
U U PROCESSOR P U
T U L
From T E
L
To
SENSORS OUTPUT
Pushbutto E Solenoids,
ns, contacts, contactors,
limit alarms.
PROGRAMMING
switches, etc. DEVICE Motors
etc.
Major Components of a Common PLC
Power Supply:
I/O Modules:
Processor :
Programming Device :
Current Buffer,
FROM Limiting OPTO- Filter, TO
INPUT ISOLA hysteresi PROCESSOR
DEVICE Resistor T OR s
Circuits
I/O Module
AC Input Module
IS NEEDED TO:
CONVERTS THE Prevent voltage
AC INPUT TO DC transients from
AND DROPS damaging the
THE VOLTAGE processor.
TO LOGIC Helps reduce the
effects of electrical
LEVEL
noise
Rectifier Buffer,
FROM Filter,
, OPTO- TO
INPUT Hysteresis
Resistor ISOLA PROCESSOR
Circuits
DEVICE T OR
Network
2
9
I/O Module
DC/AC Output Module IS NEEDED TO:
Prevent voltage
transients from
damaging the
processor.
Helps reduce the
effects of electrical
noise
Amplifier
FROM RELAY TO
TTL OPTO-
PROCESSOR TRIAC
Circuits OUTPUT
X’SISTO
ISOLA DEVICE
R
TOR
OUTPUTS
INPUTS
MOTOR
CONTACTOR
LAMP
PUSH BUTTONS
PLC
INPUT D E V I C E S :
Push Button
Limit Switch
Thumbwheel SW
Level SW
Flow SW
OUTPUT D E V I C E S :
Motor
Solenoid
LED Display
Heater Coil
Lamp
Discrete Input
OFF PLC
Logic 0
Input
Module
24 V dc
IN
OFF PLC
Logic 1
Input
Module
24 V dc
Analog Input
Level Transmitter IN
PLC
Analog
Tan Input
k Module
Digital Output
OUT
PLC
Lamp
Digital
Output
Module
Analog Output
Electric to
pneumatic
transducer
E
P
Supply air
PLC 0 to 10V
OUT
Analog
Output
Pneumatic control valve
Module
Processor
The processor module contains the PLC’s microprocessor, its supporting
circuitry, and its memory system.
The memory system in the processor module has two parts: a system
memory and an application memory.
Programmable Logic Controller
Power
supply
Field Control
Input
Elements
Process / Machine
PLC Operating Principle
In-put scan
Self test
S tart
Communication
Out-put scan
PLC Operation
Basic Function of a Typical PLC
Read all field input devices via the input interfaces, execute the user
program stored in application memory, then, based on whatever control
scheme has been programmed by the user, turn the field output devices on
or off, or perform whatever control is necessary for the process application.
PHASE 1
Read Inputs
Scan
PHASE 2
Program
Execution
PHASE 3
Diagnostic
s/ Comm
PHASE 4
Outpu
t Scan
PHASE 1 – Input Status scan
A PLC scan cycle begins with the CPU reading the status of its inputs.
The time it takes to implement a scan cycle is called SCAN TIME. The scan
time composed of the program scan time, which is the time required for
solving the control program, and the I/O update time, or time required to
read inputs and update outputs. The program scan time generally depends
on the amount of memory taken by the control program and type of
instructions used in the program. The time to make a single scan can vary
from 1 ms to 100 ms.
PLC Communications
Common Uses of PLC Communications Ports
Monitoring data and alarms, etc. via printers or Operator Interface Units
(OIUs).
PLC Communications
Serial Communications
Common Standards
RS 232
Local Area Network provides a physical link between all devices plus
providing overall data exchange management or protocol, ensuring that each
device can “talk” to other machines and understand data received from them.
Manufacturer Network
Allen-Bradley Data Highway
Gould Modicon Modbus
General Electric GE Net Factory LAN
Mitsubishi Melsec-NET
Square D SY/NET
Texas Instruments TIWAY
Specifications
Several factors are used for evaluating the quality and performance of
programmable controllers when selecting a unit for a particular application.
These are listed below.
NUMBER OF I /O PORTS
This specifies the number of I/O devices that can be connected to the
controller. There should be sufficient I/O ports to meet present requirements
with enough spares to provide for moderate future expansion.
Working of PLC
II
CPU
•User Program memory I
V
Input I/O Bus •Internal timers
I/O Bus Output
Module •Internal counters
Module
I PII PIQ II
I
Field Field
signals Controls
PLC Programming
PLC is software driven equipment like computer
CPU
CPU 3
5
6
7
Channel Nos.
PROGRAMMING
Power flows through these contacts when they are closed. The
normally open (NO) is true when the input or output status bit
controlling the contact is 1. The normally closed (NC) is true
when the input or output status bit controlling the contact is 0.
Coils
A B C
Rung
A C
Rung
A C
Rung
I 1.1 I 1.3
I 1.2 I 1.3
Q 4.1
Writing
•
Program
Circuit Diagram • Control System Flowchart (CSF)
I 1.0
I 1.0 I 1.2
&
I 1.1
I 1.1 I 1.3
>=1
I 1.2
Q 4.1
Q 4.1 I 1.3 & =
Writing
•
Program
Circuit Diagram • Statement List
(STL)
I 1.0 I 1.2 A I 1.0
A I
I 1.1 I 1.3
1.1 O
A I 1.2
A I
Q 4.1 1.3
= Q
4.1
(Kontaktplansprache, langage à contacts)
01 0
2 50
corresponding run
03 g
ladder
diagram
50 05 "coil" 50 is used to move
44 other contact(s)
Ladder logic (4)
Binary combinations are expressed by series and parallel relay contact:
50 50
02
Parallel + 01
40 01
02 40
02
textual expression
1 2 3 4
50 !N 1 & 2 STR 3 & N 4 STR N 5
5 6 & 6 / STR & STR = 50
0 1 4 5 12
50 !0 & 1 STR 2 & 3 / STR STR 4
2 3 6 7 & 5 STR N 6 & 7