EasyManua.ls Logo

Omron C200H - Page 129

Omron C200H
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
116
01000 TIM 001
00000
01000
01000 TIM 001
01000
00204
001.5 s
00000
00204
1.5 s
1.5 s
TIM 001
#0015
Address Instruction Operands
00000 LD 01000
00001 AND NOT TIM 001
00002 OR 00000
00003 OUT 01000
00004 LD 01000
00005 TIM 001
# 0015
00006 LD 01000
00007 AND NOT TIM 001
00008 OUT 00204
The following one-shot timer may be used to save memory.
00000
TIM 001
00100
00100
001.5 s
TIM 001
#0015
Address Instruction Operands
00000 LD 00000
00001 OR 00100
00002 TIM 001
# 0015
00003 AND NOT TIM 001
00004 OUT 00100
Bits can be programmed to turn ON and OFF at regular intervals while a des-
ignated execution condition is ON by using TIM twice. One TIM functions to
turn ON and OFF a specified bit, i.e., the Completion Flag of this TIM turns
the specified bit ON and OFF. The other TIM functions to control the opera-
tion of the first TIM, i.e., when the first TIM’s Completion Flag goes ON, the
second TIM is started and when the second TIM’s Completion Flag goes ON,
the first TIM is started.
00000
TIM 002
TIM 001
TIM 001
00205
00000
00205
1.5 s
1.0 s
1.5 s
1.0 s 1.5 s1.0 s
TIM 001
#0010
TIM 002
#0015
Address Instruction Operands
00000 LD 00000
00001 AND TIM 002
00002 TIM 001
# 0010
00003 LD TIM 001
00004 TIM 002
# 0015
00005 LD TIM 001
00006 OUT 00205
Example 5:
Flicker Bits
Timer and Counter Instructions Section 5-12

Table of Contents

Related product manuals