Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 67

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

CPM2A/CPM2C High-speed Counters
High-speed Counter Interrupts
Target values in incrementing
direction
Target values in decrementing
direction
Counter PV
Upper limit 1
Lower limit 1
Upper limit 2
Lower limit 2
46
2. Input points 00005 and 00006 do not exist in CPM2C CPU Units with 10 I/O
points and CPM2C-S CPU Units.
Interrupts by High-speed Counter (Count-check Interrupts)
Target Value Comparison Interrupts
The current count is compared to each target value in the order that they are reg-
istered in the table. When the count is the same as the current target value, an
interrupt subroutine is executed. Up to 16 target values and interrupt subrou-
tines can be registered in the table in either the incrementing or decrementing
direction.
Current count
Match with target value
during incrementing count
Interrupt processing can be executed when the current count matches a target value in
either the incrementing or decrementing direction.
Range Comparison Interrupts
A range comparison table contains up to eight ranges which are each defined by
a lower limit and an upper limit, as well as their corresponding subroutine num-
bers. The corresponding subroutine is called and executed when the current
count (the counter PV) falls within a given range.
Range com-
Range com-
parison condi-
parison condi-
tion 2 satisfied.
tion 1 satisfied.
Interrupt processing can be executed when a range comparison condition is satisfied.
Furthermore, when the counter PV is within a range between an upper limit and a lower
limit, the corresponding bits (from 0 to 7) in AR 11 will turn ON.
Count-up Interrupts by Interrupt Inputs (Counter Mode)
An interrupt subroutine is executed each time the condition is satisfied that the
counter PV equals the counter SV (in incrementing mode) or 0 (in decrementing
mode).
Match with target value
during decrementing count
Range com-
Range com-
parison condi-
parison condi-
tion 1 satisfied.
tion 2 satisfied.
Section
2-2
Time

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Table of Contents