![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262185.webp)
11-15
11 High-speed Counters
CP2E CPU Unit Software User’s Manual(W614)
11-3 High
-sp
eed
Co
un
ter
Interrupts
11
11
-
3
-1
Ov
er
vie
w
z
High-speed Counter Interrupts Settings
Precautions for Correct Use
Precautions for Correct Use
A built-in input cannot be used as a normal input, interrupt input, or quick-response input if it is
being used as a high-speed counter input. Refer to
Allocating Built-in Input Terminal
for
details.
Flow of Operation
1
•
Enable the required high-speed counters.
•
Select the
U
s
e high
s
peed counter
Check Box for
high-speed counters 0 to 5. Set the input setting,
counting mode and reset method on the Built-in
Tab Page of the PLC Setup using the CX-Pro-
grammer.
•
Terminals 00 to 06 on the 0CH terminal block can
be used for high-speed counters. High-speed
counters 0 to 5 correspond to terminals 00 to 05.
2
Write a program for interrupt tasks 0 to 15.
•
Set the comparison values for the high-speed
counter and the interrupt tasks (0 to 15) to be
started using the CTBL instruction.
•
Start the comparison using the INI instruction.
The comparison can be started simultaneously
when registering the comparison values using
the CTBL instruction.
Setting in PLC Setup
on Built-in Input Tab Page
Instruction
CTBL port specifier (C1)
Interrupt task
number
High-speed counter 0
Select
U
s
e
Check
Box.
CTBL
#0000
0 to 15 (Specified by
user.)
High-speed counter 1
#0001
High-speed counter 2
#0002
High-speed counter
3
#000
3
High-speed counter 4
#0004
High-speed counter 5
#0005
PLC Set
u
p
Create
ladder
program
Interr
u
pt task
Exec
u
tion of CTBL and
I
N
I instr
u
ctions in a
cyclic task
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......