EasyManua.ls Logo

Omron CP1E CPU UNIT SOFTWARE - Range Comparison

Omron CP1E CPU UNIT SOFTWARE
450 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
Loading...
11 High-speed Counters
11-20
CP1E CPU Unit Software User’s Manual(W480)
The specified interrupt task is executed when the high-speed counter PV is within the range defined by
the upper and lower limit values.
The comparison conditions (upper and lower limits of the range) are registered in the comparison
table along with the corresponding interrupt task number. The specified interrupt task will be exe-
cuted once when the high-speed counter PV is in the range (Lower limit
PV Upper limit).
A total of 6 ranges (upper and lower limits) are registered in the comparison table.
The ranges can overlap.
A different interrupt task can be registered for each range.
The counter PV is compared with the 6 ranges once each cycle.
The interrupt task is executed just once when the comparison condition goes from unmet to met.
Precautions for Correct UsePrecautions for Correct Use
When more than one comparison condition is met in a cycle, the first interrupt task in the table
will be executed in that cycle. The next interrupt task in the table will be executed in the next
cycle.
Additional Information
The range comparison table can be used without starting an interrupt task when the comparison
condition is met. The range comparison function can be useful when you just want to know
whether or not the high-speed counter PV is within a particular range.
Use the Range Comparison Condition Met Flags to determine whether the high-speed counter
PV is within a registered range.
Range Comparison
No.2
No.1 No.1 No.2
High-speed counter PV
Comparison is executed
regardless of the order of
the ranges in the table.
Upper limit 1
Lower limit 1
Upper limit 2
Lower limit 2
Interrupt task number to execute
Time
Comparison table
Upper limit 1
Lower limit 1
Interrupt task = 1
Upper limit 2
Lower limit 2
Interrupt task = 2

Table of Contents

Related product manuals