![Omron CVM1D Operation Manual Download Page 137](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532137.webp)
132
1In the following example, 000500 would be turned ON 5.0 seconds after
000000 goes ON and then turned OFF 3.0 seconds after 000000 goes OFF. It is
necessary to use both 000500 and 000000 to determine the execution condition
for T0002; 000000 in a normally closed condition is necessary to reset T0002
when 000000 goes ON and 000500 is necessary to activate T0002 (when
000000 is OFF).
000000
000500
5.0 s
3.0 s
Address
Instruction
00000
LD
000000
00001
TIM
0001
#0050
00002
LD
000500
00003
AND NOT
000000
00004
TIM
0002
#0030
00005
LD
T0001
00006
LD
T0002
00007
KEEP(011)
000500
5.0 s
3.0 s
Operands
(011)
KEEP 000500
0000
00
TIM
0001
#0050
0005
00
TIM
0002
#0030
0000
00
T0001
T0002
S
R
The length of time that a bit is kept ON or OFF can be controlled by combining
TIM with OUT or OUT NOT. The following diagram demonstrates how this is
possible. In this example, 000204 would remain ON for 1.5 seconds after
000000 goes ON regardless of the time 000000 stays ON. This is achieved by
using 001000 as a self-maintaining bit activated by 000000 and turning ON
000204 through it. When T0001 comes ON (i.e., when the SV of T0001 has ex-
pired), 000204 will be turned OFF through T0001 (i.e., T0001 will turn ON which,
as a normally closed condition, creates an OFF execution condition for OUT
000204).
00000
LD
001000
00001
AND NOT
010000
00002
OR
000000
00003
OUT
001000
00004
LD
001000
00005
TIM
0001
#0015
00006
LD
T0001
00007
OUT
010000
00008
LD
001000
00009
AND NOT
010000
00010
OUT
000204
000000
000204
1.5 s
1.5 s
Address
Instruction Operands
1.5 s
0010
00
0000
00
0010
00
0010
00
0010
00
0002
04
TIM
0001
#0015
0100
T0001
00
0100
00
0100
00
Example 4:
One-Shot Bits
Timer and Counter Instructions
Section 5-13
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...