144
Because all of the comparisons here use to the timer’s PV as reference, the
other operand for each CMP(20) must be in 4-digit BCD.
#2000
CMP(20)
TIM 010
#3000
CMP(20)
TIM 010
CMP(20)
TIM 010
#4000
00201
00204
00202
00000
00200
25507
00200
25507
00201
25507
TIM 010
Output at
100 s.
Output at
200 s.
Output at
300 s.
Output at
500 s.
Address
Instruction
Operands
Address
Instruction
Operands
00000
LD
00000
00001
TIM
010
#
5000
00002
CMP(20)
TIM
010
#
4000
00003
AND
25507
00004
OUT
00200
00005
LD
00200
00006
CMP(20)
TIM
010
#
3000
00007
AND
25507
00008
OUT
00201
00009
LD
00201
00010
CMP(20)
TIM
010
#
2000
00011
AND
25507
00012
OUT
00202
00013
LD
TIM
010
00014
OUT
00204
TIM 010
#5000
Data Comparison
Section 5-15