EasyManuals Logo

Omron SYSMAC CP2E-E D Series User Manual

Omron SYSMAC CP2E-E D Series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #198 background imageLoading...
Page #198 background image
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 with motor stopped
The High-speed Counter Reset
Bit 0 is turned ON and the reset
process is performed
Specifies high-speed counter 0
Specifies comparision with target
values and starts comparison
First word of comparision table
Turns ON motor run output
After motor stops, the stop position is checked.
Motor stopped Normal stop
position
Error stop
position
The stop position is normal if the
present value of the high-speed
counter (A270) is between 3500
(0DAC hex) and 3550 (0DDE hex).
The stop position is in error if
the present value of the high-
speed counter (A270) is
greater than 3550 (0DDE hex).
&3500
&3550
&3550

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP2E-E D Series and is the answer not in the manual?

Omron SYSMAC CP2E-E D Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP2E-E D Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals