Page 241 - Programmable Logic Controllers, Fifth Edition - Mobile version
P. 241
Inputs
Ladder logic program
Stop Start SOL A Outputs
L2
L1
SOL A SOL A
Stop
Start SOL A TON SOL B
TIMER ON DELAY EN
Timer T4:1
Time base 1.0 DN
Preset 15
Accumulated 0 SOL C
GEQ SOL B
GREATER THAN OR EQUAL
Source A T4:1.ACC SOL D
0
Source B 5
A
GEQ SOL C B
GREATER THAN OR EQUAL C
Source A T4:1.ACC D
0
Source B 10
T4:1 SOL D
DN
Figure 10-34 Controlling multiple loads using one timer and the GEQ instruction.
Input Ladder logic program Output
L1 S1 TON L2
1 TIMER ON DELAY EN
Timer T4:1 PL1
Time base 1.0 DN
S1
Preset 20
Accumulated 0
PL1
EQU
2 EQUAL L
Source A T4:1.ACC
Source B 5
EQU PL1
3 EQUAL U
Source A T4:1.ACC
Source B 15
Figure 10-35 Timer program implemented using the EQU instruction.
222 Chapter 10 Data Manipulation Instructions
pet73842_ch10_207-233.indd 222 03/11/15 4:02 PM