Programmable
Logic Control
A programmable logic
controller (PLC) is a special
form of micro-processor-
based controller that uses a
programmable memory to
store instructions and to
implement functions such as
logic, sequencing, timing,
counting and arithmetic in
order to control machines
and processes
Programmable Logic Controller
Sourcing and Sinking
Sourcing
• using the conventional current flow direction as from positive to
negative, an input device receives current from the input module
• If the current flows from the output module to an output load
Sourcing and Sinking
Sinking
• using the conventional current flow direction as from positive to
negative, an input device supplies current to the input module
• If the current flows to the output module from an output load
PLC Instructions
Make, Examine if closed (XIC), IF
0 Disallows logical continuity
1 Allows logical continuity
Break, Examine if open (XIO), IF NOT
0 Allows logical continuity
1 Disallows logical continuity
Output Enable, (XTE)
0 De-energizes output
1 Energizes output
Field Input Device
NO closed
NC open
De-activated state Activated state
PLC Instructions
24 V 24 V
I0
Q0
PLC Instructions
24 V
24 V
I0
Q0
PLC Instructions
24 V
I0
Q0
PLC Instructions
24 V
I0
Q0
PLC Instructions
24 V
24 V
I0
Q0
PLC Instructions
24 V
24 V
I0
Q0
PLC Instructions
24 V
24 V
I0
Q0
PLC Instructions
24 V
24 V
I0
Q0
24 V 24 V
S/S C0
X0 Y0 M
X1 Y1
X2 Y2
X3 Y3
X4 Y4
X5 Y5
PB1 K1
PB2
Y1
K1
PB1 PB2 K1
Y1
K1
PB1 K1
PB2
Y1
K1
K2
PB3
Y2
K2
LS1 PB1 K1
K1 K2
K1 Y1
K2
LS1
K2 K1
K2 Y2
PB1 K1
Y1
K1
PB2 K2
PB3
K2 Y2
LS1 LS2 K1
START/STOP LS1
K1 K2
K1 Y1
K2
LS2
K2 K1
K2 Y2
LS1 LS2 LS3 LS4
Y3 Y4
START/STOP LS3 LS4
K1 K2
K1 K2 K2 K2
K1 K2
Y1 Y2
LS2 LS1
K3 K4
K3 K4 K4 K3
K3 K4
Y3 Y4