EasyManuals Logo
Home>Omron>Computer Hardware>SYSMAC CP2E-E D Series

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 #194 background imageLoading...
Page #194 background image
11 High-speed Counters
11-24
CP2E CPU Unit Software User’s Manual(W614)
2
Set the range comparison table starting at word D2000. Even though range 1 is the only range
being used, all 30 words must still be dedicated to the range comparison table.
3
Create the program for interrupt task 12.
4
Use the CTBL instruction to start the comparison operation with high-speed counter 1 and inter-
rupt task 12.
When execution condition W0.00 turns ON, the comparison starts with high-speed counter 1.
When the PV of high speed counter 1 is between 25,000 and 25,500, cyclic task execution is
interrupted, and interrupt task 12 is executed.
When interrupt task 12 execution is completed, execution of the interrupted cyclic task resumes.
Word Setting Function
D2000 #61A8 Rightmost 4 digits of range 1 lower
limit
Lower limit value: 25,000
D2001 #0000 Leftmost 4 digits of range 1 lower limit
D2002 #639C Rightmost 4 digits of range 1 upper
limit
Upper limit value: 25,500
D2003 #0000 Leftmost 4 digits of range 1 upper limit
D2004 #000C Range 1 interrupt task number = 12 (C hex)
D2005
to
D2008
All
#0000
Range 2 lower and upper limit values
(Not used and do not need to be set.)
Range 2 settings
D2009 #FFFF Disables range 2.
~
D2014
D2019
D2024
D2029
#FFFF Set the fifth word for ranges 3 to 6 (listed at left) to #FFFF (Range
settings are invalid) to disable those ranges.
W0.00
@CTBL
#0001
#0001
D2000
Use high-speed counter 1.
Register a range comparison table
and start comparison operation.
First comparison table word.
W0.00
0.02
0.03
High-speed counter 1 PV
(in A272 and A273)
Lower limit: 25,000 (61A8 hex)
Upper limit: 25,500 (639C hex)
Counting enabled
Cyclic task
execution
Cyclic task
execution
Cyclic task
execution
Processing
interrupted
Processing
interrupted
Interrupt task
12 execution
Interrupt task
12 execution

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