11 High-speed Counters
11-1 Overview
High-speed counters can be used with any model of CP1E CPU Unit.
11-1-1 Overview
High-speed counters are used to measure high-speed pulse input signals that cannot be measured by
counter (CNT) instructions.
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.
Encoder
· Phase A/phase B
· Up/down pulse inputs
· Reset input (phase Z)
Etc.
11-2
Changes to PV
Count
High-speed counter PV
input
(stored in Auxiliary Area)
Read
High-speed counter PV comparison
Target value comparison
Range comparison for
upper and lower limits
Settings
· Setting target values or range upper/lower
limits and starting comparison, specifying
interrupt task to be started
· Reading PV (from Auxiliary Area
Read
or using PRV instruction)
· Reading frequency (using PRV instruction)
Interrupt task
CTBL
CP1E CPU Unit Software User's Manual(W480)
PRV
Need help?
Do you have a question about the CP1E CPU UNIT SOFTWARE and is the answer not in the manual?
Questions and answers