100
programming, 0100, 0101, and 0102 are changed only when CMP(32) is ex-
ecuted.
CMP(32)
01
DR 09
0315
0100
0313
0102
0314
0101
Greater Than
Equal
Less Than
Address Instruction Operands Address Instruction Operands
000 LD 0000
001 IL(02)
002 CMP(32)
01
DR 09
003 LD 0315
004 OUT 0100
005 LD 0314
006 OUT 0101
007 LD 0313
008 OUT 0102
009 ILC(03)
0000
IL(02)
ILC(03)
The following example uses TIM, CMP(32), and the LE flag (0313) to pro-
duce outputs at particular times in the timer’s countdown. The timer is started
by turning ON 0000. When 0000 is OFF, TIM 10 is reset and the second two
CMP(32)s are not executed (i.e., executed with OFF execution conditions).
Output 0100 is produced after 100 seconds; output 0101, after 200 seconds;
and output 0103, after 500 seconds.
#3000
CMP(32)
TIM 10
CMP(32)
TIM 10
#4000
0101
0103
0100
0313
0313
TIM 10
Output at
100 s.
Output at
200 s.
Output at
500 s.
TIM 10
#5000
0000
IL(02)
ILC(03)
Example 2:
Obtaining Indications
during Timer Operation
Instruction Set Section 3-7