Data Comparison
00000
25507
00200
25507
00201
25507
TIM 010
Address
00000
00001
00002
00003
00004
00005
00006
5-15-3
DOUBLE COMPARE – CMPL(60)
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.
Instruction
Operands
LD
00000
TIM
#
5000
CMP(20)
TIM
#
4000
AND
25507
OUT
00200
LD
00200
CMP(20)
TIM
#
3000
Ladder Symbols
CMPL(60)
Cp1
Cp2
___
TIM 010
#5000
CMP(20)
TIM 010
#4000
00200
CMP(20)
TIM 010
#3000
00201
CMP(20)
TIM 010
#2000
00202
00204
Address
Instruction
00007
AND
010
00008
OUT
00009
LD
00010
CMP(20)
010
00011
AND
00012
OUT
00013
LD
00014
OUT
010
Cp1: First word of first compare word pair
Cp2: First word of second compare word pair
Section 5-15
500.0 s
Output at
100 s.
Output at
200 s.
Output at
300 s.
Output at
500 s.
Operands
25507
00201
00201
TIM
010
#
2000
25507
00202
TIM
010
00204
Operand Data Areas
IR, SR, AR, DM, HR, TC, TR
IR, SR, AR, DM, HR, TC, LR