Logic Controller
Logic Controller
Logic Controller
Programmable Controller
Descriptions
2
PLC - Introduction
3
PLC Origin
•- Developed to replace relays in the late 1960s
•- Costs dropped and became popular by 1980s
•- Now used in many industrial designs
Historical Background
The Hydramatic Division of the General Motors
Corporation specified the design criteria for the first
programmable controller in 1968
5
Historical Background
• The controller had to be designed in modular form, so
that sub-assemblies could be removed easily for
replacement or repair.
6
Generation of PLC
• The first PLC were introduced in the early 1960s, mainly by the automobile
industry.
• Up until then the automatic control of manufacturing equipment was achieved
by using hundreds , and even thousands , of relays enclosed in metal
cabinets.
• A lot of time, and errors often occurred when making connections.
• For these reasons, control engineers developed a computerized
programmable system to replace the relay racks.
• The annual automobile-model changes required frequent modifications to the
production lines and their associated relay-control systems.
• Because the control systems were complex, the modifications took a lot of
time, and errors often occurred when making connections.
• For These reasons, control engineers developed a computerized
programmable system to replace the relay racks.
7
Capacity of Industrial PLCs
• In the beginning, PLC were mainly used to replace hard-
wired physical relays.
• While they are still used to replace relays, PLCs can now
perform mathematical operations and control and regulate
industrial processes.
8
Advantages of PLCs
• Less wiring.
11
Programmable Controller Development
1980 Intelligent I/O modules developed
Enhanced communications facilities
Enhanced software features
(e.g. documentation)
Use of personal microcomputers as
programming aids
1983 Low - cost small PLC’s introduced
1985 on Networking of all levels of PLC, computer
and machine using SCADA software.
12
Programmable Logic Controllers
( Definition according to NEMA standard ICS3-1978)
13
Leading Brands Of PLC
AMERICAN 1. Allen Bradley
2. Gould Modicon
3. Texas Instruments
4. General Electric
5. Westinghouse
6. Cutter Hammer
EUROPEAN 1. Siemens
2. ABB
3. Festo
4. Telemechanique
JAPANESE 1. Toshiba
2. Omron
3. Keyence
4. Mitsubishi
14
Areas of Application
Manufacturing / Machining
Food / Beverage
Metals
Power
Mining
Petrochemical / Chemical
15
PLC Size
1. SMALL - it covers units with up to 128 I/O’s and
memories up to 2 Kbytes.
- these PLC’s are capable of providing
simple to advance levels or machine
controls.
2. MEDIUM - have up to 2048 I/O’s and memories up
to 32 Kbytes.
3. LARGE - the most sophisticated units of the PLC
family. They have up to 8192 I/O’s
and memories up to 750 Kbytes.
- can control individual production
processes or entire plant.
16
Machine Control
To Learn about:
MOTOR
A
FS FLOAT SWITCH
SOLENOIDS B
SOLENOID
C
TIMER
1 -MINUTE
MACHINE CONTROL GENERAL LAYOUT
• Analog (continuous)
• Digital ( on/off or discrete )
Analog and Digital Data;
Digital data
Analog data
Typical analog inputs and outputs for Typical Digital inputs and outputs for PLCs;
PLCs;
Inputs:
Inputs: • Position Sensor
• oven temperature • Limit switch
• fluid pressure • Start/Stop Switch
• fluid flow rate
Outputs:
Outputs: • Motor On/Off
• fluid valve position • Valve On/Off
• motor position • Light On/Off
• motor velocity
To Control What? ..Output - based on
Input
Features
23
Example of PLC I/O LAYOUT Analog Input
Clam
Temper Motor Press Vibrati ping Liquid
ature Speed ure on Force Level
Digital Input
Sol Valve Sol Valve Start
Motor Motor Sensor1 Sensor2 Detect Limit Stop Pos Safety
INPUT
Sensor1 Sensor2 Sensor1 Switch Switch Sensor Sensor
Output
Unit
Input CPU
Unit Unit
Digital Output
Analog Output
DC DC
Motor1 Motor2
Typical Applications;
• Data acquisition/processing in addition to machine control—handling large amounts of data
• Networking of many machines or to other factory activities - connectivity to plant information technology
system
• Need for central control of I/O devices distributed over a large area
Input and Output Unit (Board / Card). PC-Based Machine Control
Typical Applications
Key Advantages • I/O centric applications (I/O control is the most critical
• High reliability criteria)
• Proven technology • Process control
• On line editing • Greater than 500+ I/O points
Require short installation & commissioning times
34
PLC COMPONENTS
PLC Structure
PLC’s CPU
PLC’s Memory
PLC Structure
Programming Terminal
PLC Input
Module
Output
Module
Input Output
Devices Devices
PROCESS
PLC Structure
bFB(A:=1, B:=‘OK’);
3. Instruction List (IL) Z := X - INT_TO_REAL (bFB.OUT1);
A: LD %IX1 (* PUSH BUTTON *) IF Z>57.0 THEN aFB(A:=0, B:=“ERR”);
ANDN %MX5 (* NOT INHIBITED *) ELSE aFB(A:=1, B:=“Z is OK”);
ST %QX2 (* FAN ON *) END_IF
Types of PLC Construction:
i. Compact PLC:
Relay Coil
LED Green
LED Red
Standard Start / Stop Circuit
Standard Start / Stop Circuit
Standard Start / Stop Circuit
Standard Start / Stop Ladder Diagram
Convert this into Ladder Diagram
PLC Basic I/O Connections
76
PLC Programming Software
WIRING AND
COMMUNICATION
PROTOCOLS
CONCEPT
PLC INTER-CONNECTION : WIRING CONCEPTUAL
Example : Relay I/O type.
LOAD
Input Unit Output Unit
MY2
Ch I0.00
P
Ch I0.00
L
Ch 00.00
C
Ch I0.01
P
Ch I0.01 R
O Com
G LED
Light
R
A
M
/
C
P
Com U
Buzzer
PLC Communication
Protocols
Network Bus Cables
PLC Communication
Protocols
Network Bus Cables
Hardwire Circuit
24+V
CPU
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Switch
0V, common