11 High-speed Counters
11-14
CP2E CPU Unit Software User’s Manual(W614)
11-3 High-speed Counter Interrupts
High-speed counter interrupts can be used with any model of CP2E CPU Unit.
This function counts input pulses with the CPU Unit
’
s built-in high-speed counter and executes an inter-
rupt task when the count reaches the preset value or falls within a preset range (target-value or zone
comparison). An interrupt task between 0 and 15 can be allocated with the CTBL instruction.
11-3-1 Overview
Target value comparison
Range comparison
The specified interrupt program can be started when the
present value of the high-speed counter matches a target
value.
The specified interrupt program can be started when the
present value of the high-speed counter enters a set range.
END
END
Cycle
Rot
a
ry Encoder
B
u
ilt-in inp
u
t
Pre
s
ent v
a
l
u
e
Pre
s
ent v
a
l
u
e m
a
tche
s
s
et t
a
rget v
a
l
u
e
Time
Interr
u
pt t
as
k
L
a
dder di
a
gr
a
m
Interr
u
pt occ
u
r
s
Cyclic t
as
k
s
(l
a
dder progr
a
m
s
)
I/O refre
s
h
0
Instr
u
ction exec
u
tion
condition
CTBL instr
u
ction exec
u
ted
High-speed
Co
u
nter Unit
High-speed co
u
nter PV
Target
v
al
u
e 1
Target
v
al
u
e 2
Co
u
nting ena
b
led
Time
Cyclic task
exec
u
tion
Cyclic task
exec
u
tion
Cyclic task
exec
u
tion
Interr
u
pted
Interr
u
pted
Interr
u
pt task
exec
u
tion
Interr
u
pt task
exec
u
tion
0
Instr
u
ction exec
u
tion
condition
CTBL instr
u
ction exec
u
ted
High-speed
Co
u
nter Unit
High-speed co
u
nter PV
Target
v
al
u
e range
Co
u
nting ena
b
led
Cyclic task
exec
u
tion
Cyclic task
exec
u
tion
Cyclic task
exec
u
tion
Interr
u
pted
Interr
u
pted
Interr
u
pt task
exec
u
tion
Interr
u
pt task
exec
u
tion
Time
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......