![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262198.webp)
11 High-speed Counters
11-28
CP2E CPU Unit Software User’s Manual(W614)
3
Select the
Use high speed counter 0
Check Box for high-speed counter 0.
4
Select
Linear Mode
for the counting mode.
5
Select
Software reset (comparing)
for the reset method.
6
Select
Differential phase input
for the input setting.
7
Close the PLC Settings Dialog Box.
8
Restart the PLC.
The changes made to the PLC Setup is applied.
z
Programming Example 1
In this example, the CTBL (COMPARISON TABLE LOAD) instruction is used to create an interrupt
when the target value is reached. Slowing and stopping are executed as interrupt tasks, allowing
high-speed processes to be executed without affecting the cycle time.
Ladder Program
Use the CTBL instruction to execute interrupt tasks when the target positions are reached.
Motor start
Reset
w
ith motor stopped
The High-speed Co
u
nter Reset
Bit 0 is t
u
rned O
N
and the reset
process is performed
Specifies high-speed co
u
nter 0
Specifies comparision
w
ith target
v
al
u
es and starts comparison
First
w
ord of comparision ta
b
le
T
u
rns O
N
motor r
u
n o
u
tp
u
t
After motor stops, the stop position is checked.
Motor stopped
N
ormal stop
position
Error stop
position
The stop position is normal if the
present
v
al
u
e of the high-speed
co
u
nter (A270) is
b
et
w
een 3500
(0DAC hex) and 3550 (0DDE hex).
The stop position is in error if
the present
v
al
u
e of the high-
speed co
u
nter (A270) is
greater than 3550 (0DDE hex).
&3500
&3550
&3550
Содержание 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: ......