Omron C200HX Operation Manual page 180

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Timer and Counter Instructions
00000
00500 00000
TIM 001
TIM 002
00000
00500
5.0 s
Example 4:
One-Shot Bits
01000
TIM 001
00000
01000
01000 TIM 001
00000
00204
1.5 s
162
002; 00000 in an inverse condition is necessary to reset TIM 002 when 00000
goes ON and 00500 is necessary to activate TIM 002 (when 00000 is OFF).
TIM 001
TIM 002
S
KEEP(11)
R
3.0 s
The length of time that a bit is kept ON or OFF can be controlled by combining
TIM with OUT or OUT NO. The following diagram demonstrates how this is pos-
sible. In this example, 00204 would remain ON for 1.5 seconds after 00000 goes
ON regardless of the time 00000 stays ON. This is achieved by using 01000 as a
self-maintaining bit activated by 00000 and turning ON 00204 through it. When
TIM 001 comes ON (i.e., when the SV of TIM 001 has expired), 00204 will be
turned OFF through TIM 001 (i.e., TIM 001 will turn ON which, as an inverse
condition, creates an OFF execution condition for OUT 00204).
TIM 001
1.5 s
Address
Instruction
00000
LD
005.0 s
#0050
00001
TIM
00002
LD
003.0 s
#0030
00003
AND NOT
00004
TIM
00005
LD
00500
00006
LD
00007
KEEP(11)
Address Instruction
01000
00000
LD
00001
AND NOT
00002
OR
00003
OUT
00004
LD
00005
TIM
#0015
001.5 s
00006
LD
00007
AND NOT
00204
00008
OUT
Section 5-14
Operands
00000
001
#
0050
00500
00000
002
#
0030
TIM
001
TIM
002
00500
Operands
01000
TIM
001
00000
01000
01000
001
#
0015
01000
TIM
001
00204

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents