Chapter 13 PLC Logic and Bit Shift Instructions 291
000
End
T4:0/DN
007
EN
DN
TON
Timer On Delay
Timer T4:0
Time Base 0.1
Preset 20
Accum 5
001
EN
DN
BSR
Bit Shift Right
File #B3:0
Control R6:0
Bit Address B3:0/3
Length 4
002
R6:0/UL
I:1/0
Start
T4:0/DN
B3:0/3
003
B3:0/0 O:2/0
GLT
004
B3:0/1 O:2/1
RLT
005
B3:0/2 O:2/2
WLT
Reset
006
I:1/1 R6:0
RES
Figure 13-17. PLC ladder logic diagram and binary table for Example 13-7. Using the bit shift right
function to turn on and off three lights in descending order.