![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436158.webp)
!
148
tween when the Completion Flag for TIM 001 goes ON and TIM 001 is reset by
its Completion Flag). TIM 001 is also reset by the Completion Flag for CNT 002
so that the extended timer would not start again until CNT 002 was reset by
00001, which serves as the reset for the entire extended timer.
Because in this example the SV for TIM 001 is 5.0 seconds and the SV for CNT
002 is 100, the Completion Flag for CNT 002 turns ON when 5 seconds x 100
times, i.e., 500 seconds (or 8 minutes and 20 seconds) have expired. This would
result in 00201 being turned ON.
00000 TIM 001
CNT 002
TIM 001
00001
CNT 002
00201
CP
R
005.0 s
CNT
002
#0100
TIM 001
#0050
Address
Instruction
Operands
00000
LD
00000
00001
AND NOT
TIM
001
00002
AND NOT
CNT
002
00003
TIM
001
#
0050
00004
LD
TIM
001
00005
LD
00001
00006
CNT
002
#
0100
00007
LD
CNT
002
00008
OUT
00201
In the following example, CNT 001 counts the number of times the 1-second
clock pulse bit (25502) goes from OFF to ON. Here again, 00000 is used to con-
trol the times when CNT is operating.
Because in this example the SV for CNT 001 is 700, the Completion Flag for
CNT 002 turns ON when 1 second x 700 times, or 11 minutes and 40 seconds
have expired. This would result in 00202 being turned ON.
CP
R
CNT
001
#0700
00000 25502
00001
CNT 001
0202
Address
Instruction
Operands
00000
LD
00000
00001
AND
25502
00002
LD NOT
00001
00003
CNT
001
#
0700
00004
LD
CNT
001
00005
OUT
00202
Caution
The shorter clock pulses will not necessarily produce accurate timers because their short ON
times might not be read accurately during longer cycles. In particular, the 0.02-second and
0.1-second clock pulses should not be used to create timers with CNT instructions.
5-14-5 REVERSIBLE COUNTER – CNTR(12)
N: TC number
# (000 through 511)
Ladder Symbol
Definer Values
SV: Set value (word, BCD)
IR, AR, DM, HR, LR, #
Operand Data Areas
II
DI
CNTR(12)
N
SV
R
Timer and Counter Instructions
Section 5-14
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...