Programmable Logic Controller (PLC)
Programmable Logic Controller (PLC)
LOGIC CONTROLLER
(PLC)
PLC = AUTOMATION
Five Senses
Brain
Judgment
Muscle
Action
INPUT
CONTROL
OUTPUT
INPUT (X)
CONTROL
OUTPUT (Y)
Micro switch
Relay
Lamp
Limit switch
Sensors
Timer
Counter
Buzzer
Motors
Push button
switch
Thermostat
Cylinder
Power
supply unit
CPU unit
Input /
output unit
Base
unit
Memory
CPU
Output
Power
Peripheral tool
Name
Power
Functions
Name
Functions
Input
Micro switch
Photoelectric sensor
CPU
program
Memory
Name
Functions
Lamp
Output
Peripheral
tool
Buzzer
Memory
Push
the switch
Motor runs.
What is the next step after
Conventional
PLC Program
L1
L2
PB1
PB2
L1
L2
X1
M1
M1
M1
M1
L1
M1
X2
Y2
M1
A contact
push
PB1
While the pushbutton is pushed,
the lamp shall keep on.
LAMP
PB1 or X1
LAMP or Y1
Y1
push
PB1
While the pushbutton is pushed,
the lamp shall keep off.
LAMP
PB2 or X2
LAMP or Y1
Y1
PB1
AND
PB2
LAMP
<Ladder chart>
X1
X2
Y1
X1
Y1
PB2 (X2)
LAMP (Y1)
X2
<Ladder chart>
Common Symbols
Coil
M
Timer
T
Input
-X
Output - Y
Counter - C
Input A
Input B
Output Y
Ladder Diagram
L1
X1
L2
X2
M1
M1
Y1
M1
ON DELAY TIMER
Input A
Input B
t=5sec
Output Y
WHEN INPUT A IS ON, AFTER 5 SECS., OUTPUT A WILL BE ON. WHEN INPUT B IS
ON, OUTPUT Y WILL BE OFF.
Ladder Diagram
L1
X1
L2
X2
T1 k50
T1
M1
T1
Y1
M1
END
End