11 High-speed Counters
11-26
CP2E CPU Unit Software User’s Manual(W614)
11-5 Application Example
z
Functions Used: High-speed Counting for a Built-in Input
A high-speed counter input can be used by connecting a rotary encoder to a built-in input. A CP2E
CPU Unit is equipped with more than one high-speed counter input, making it possible to control
devices for multiple axes with a single PLC.
High-speed counters can be used for high-speed processing, using either target value comparison
or range comparison to create interrupts. Interrupt tasks are executed when the counter value
reaches a specific target value or range
.
z
Operation Overview
A sheet feeder is controlled to feed constant lengths in a given direction, e.g., for vacuum packing of
food products.
While the pulse count is between
3
,500 and
3
,550, normal stop position output (CIO 100.02) will be
ON. If the pulse count exceeds
3
550, the error stop position output (CIO 100.0
3
) will turn ON.
Using a Rotary Encoder to Measure Positions
Motor speed
Motor start inp
u
t:
CIO 0.02
Motor r
u
n o
u
tp
u
t:
CIO 100.00
Motor lo
w
speed
o
u
tp
u
t: CIO 100.01
N
ormal stop position
o
u
tp
u
t: CIO 100.02
Error stop position
o
u
tp
u
t: CIO 100.03
Nu
m
b
er of p
u
lses
co
u
nted
b
y high-
speed co
u
nter
(A270)
(P
u
lses)
The High-speed Co
u
nter Reset Bit
(A531.00) is t
u
rned O
N
in the ladder
program as soon a operation starts
and the reset process is performed.
3550
3500
3000
Содержание 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: ......