2-2
Section
CPM2A/CPM2C High-speed Counters
46
2. Input points 00005 and 00006 do not exist in CPM2C CPU Units with 10 I/O
points and CPM2C-S CPU Units.
High-speed Counter Interrupts
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
Target values in incrementing
direction
Target values in decrementing
direction
Match with target value
during incrementing count
Match with target value
during decrementing count
Time
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.
Counter PV
Upper limit 1
Upper limit 2
Lower limit 1
Lower limit 2
Range com-
parison condi-
tion 2 satisfied.
Range com-
parison condi-
tion 1 satisfied.
Range com-
parison condi-
tion 1 satisfied.
Range com-
parison condi-
tion 2 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).
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...