Industrial Programmable Logic Cont Rollers (PLCS)
Industrial Programmable Logic Cont Rollers (PLCS)
rollers (PLCs)
1
Programmable Logic Controllers (PLC’
s)
In this case the push buttons are “normally open” i.e. they
return a low signal in their normal position and a high sig
nal when pressed.
Initially assume the Coil output is off, and the Push Butto
ns (PB) not activated so they are also off.
When the ‘Start PB’ is pressed the top path through the r
ung is satisfied with start = 1and stop = 0 so the coil is tur
ned ON.
Note this also satisfies the bottom path through the rung
on the next scan since coil = 1 and stop = 0.
When the start button is released the top path through th
e rung becomes false but the rung is still satisfied by the
bottom path, ie the coil remains onEng.
after
R. L.the start
Nkumbwa PB201
@ CBU is rel
23 eased. 0
Push Button Example
Blocks are built from small ladder logic subroutines and used throug
h the code as user defined ladder logic instructions, the advantages
of this approach is the reduction of repetitive ladder logic code.
Sequential Function Chart (SFC) programming is similar to progra
mming by computer flow chart. In SFC the program advances step b
y step through various blocks (where action happens such as a moto
r is started).
Transition conditions determine when the program advances from on
e block to another.
Both the action blocks and the transition conditions are created using
ladder diagrams.
Structured text, uses simple instructions common to medium level p
rogramming languages: If , While, Then etc.
Eng. R. L. Nkumbwa @ CBU 201
26 0
Other Languages
Insert edit rungs into the On-line PLC code (as many changes as req
uired). These edits are effectively invisible to the processor during thi
s stage.
Once all edit rungs are entered switch the processor to TEST, during
TEST mode any new inserted code is allowed to be scanned along w
ith existing code, if any code is marked for deletion this code is preve
nted from being scanned at this stage.
Once you are confident that the edit rungs are correct Assemble the
code which permanently activates new code and permanently remov
es any code marked for deletion.