143
this type of programming, 00200, 00201, and 00202 are changed only when
CMP(20) is executed.
CMP(20)
010
HR 09
00000
25505
00200
25507
00202
TR
0
25506
00201
Greater Than
Equal
Less Than
Address
Instruction
Operands
Address
Instruction
Operands
00000
LD
00000
00001
OUT
TR
0
00002
CMP(20)
010
HR
09
00003
LD
TR
0
00004
AND
25505
00005
OUT
00200
00006
LD
TR
0
00007
AND
25506
00008
OUT
00201
00009
LD
TR
0
00010
AND
25507
00011
OUT
00202
The following example uses TIM, CMP(20), and the LE flag (25507) to pro-
duce outputs at particular times in the timer’s countdown. The timer is started
by turning ON 00000. When 00000 is OFF, TIM 010 is reset and the second
two CMP(20)s are not executed (i.e., executed with OFF execution condi-
tions). Output 00200 is produced after 100 seconds; output 00201, after 200
seconds; output 00202, after 300 seconds; and output 00204, after 500 sec-
onds.
The branching structure of this diagram is important in order to ensure that
00200, 00201, and 00202 are controlled properly as the timer counts down.
Example 2:
Obtaining Indications
during Timer Operation
Data Comparison
Section 5-15