![Omron SYSMAC C200H Скачать руководство пользователя страница 134](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423134.webp)
121
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
control 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 sec-
onds 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 be-
cause 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-12-4
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
Each TC number can be used as the definer in only one TIMER or COUNT-
ER instruction.
The CNTR(12) is a reversible, up/down circular counter, i.e., it is used to
count between zero and SV according to changes in two execution condi-
tions, those in the increment input (II) and those in the decrement input (DI).
Limitations
Description
Timer and Counter Instructions
Section 5-12
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...