Instruction Set
0315
0314
Address
000
001
002
003
Example 2:
Obtaining Indications
during Timer Operation
100
programming, 0100, 0101, and 0102 are changed only when CMP(32) is ex-
ecuted.
0000
0313
Instruction
Operands
LD
0000
IL(02)
CMP(32)
DR
LD
0315
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.
0313
0313
TIM 10
IL(02)
CMP(32)
01
DR 09
ILC(03)
Address
Instruction
004
OUT
005
LD
006
OUT
01
007
LD
09
008
OUT
009
ILC(03)
0000
Section 3-7
0100
Greater Than
0101
Equal
0102
Less Than
Operands
0100
0314
0101
0313
0102
IL(02)
TIM 10
#5000
CMP(32)
TIM 10
#4000
0100
CMP(32)
TIM 10
#3000
0101
ILC(03)
0103
Output at
100 s.
Output at
200 s.
Output at
500 s.
Need help?
Do you have a question about the SYSMAC mini SP10 and is the answer not in the manual?