11 High-speed Counters
11-2
CP2E CPU Unit Software User’s Manual(W614)
11-1 Overview
High-speed counters can be used with any model of CP2E CPU Unit.
High-speed counters are used to measure high-speed pulse input signals that cannot be measured by
counter (CNT) instructions.
z
Applications
•
Detecting the position or length of a workpiece with an input from an incremental rotary encoder.
•
Measuring the speed of a workpiece from its position data using frequency measurement and
rotational speed conversion.
•
High-speed processing according to the workpiece
’
s position data.
The present value of the high-speed counter is stored in the Auxiliary Area and can be used as posi-
tion data. When it reaches preset values, interrupts can be generated. The count can be started and
stopped. Depending on the instruction, the frequency (speed) can be read from the present value of
the high-speed counter.
11-1-1 Overview
Encoder
· Phase A/phase B
· Up/do
w
n p
u
lse inp
u
ts
· Reset inp
u
t (phase Z)
Etc.
High-speed co
u
nter PV
(stored in A
u
xiliary Area)
Changes to PV
Target
v
al
u
e comparison
Interr
u
pt task
· Reading PV (from A
u
xiliary Area
or
u
sing PRV instr
u
ction)
· Reading fre
qu
ency (
u
sing PRV instr
u
ction)
· Setting target
v
al
u
es or range
u
pper/lo
w
er
limits and starting comparison, specifying
interr
u
pt task to
b
e started
Read
PRV
CTBL
Co
u
nt
inp
u
t
High-speed co
u
nter PV comparison
Read
Settings
Range comparison for
u
pper and lo
w
er limits
Содержание 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: ......