![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414080.webp)
2-2
Section
CPM2A/CPM2C High-speed Counters
59
Range Comparison Table
Lower limit 1 (rightmost)
Lower limit 1 (leftmost)
Subroutine number
Range comparison
condition 1
Upper and lower limits (rightmost, leftmost)
Register the upper and lower limits.
The leftmost digit shows the sign (+/–).
Differential phase input mode
Pulse + direction input mode
Up/down pulse input mode
F8388608 to 08388607
Increment mode
00000000 to 16777215
Subroutine number
Register the subroutine number to be executed when
the range comparison condition is satisfied.
0000 to 0049
Upper limit 1 (rightmost)
Upper limit 1 (leftmost)
Lower limit 8 (rightmost)
Lower limit 8 (leftmost)
Subroutine number
Range comparison
condition 8
Upper limit 8 (rightmost)
Upper limit 8 (leftmost)
Eight range comparison conditions consisting of upper
and lower limits and subroutine numbers must be set.
If the set values do not reach 8, set FFFF.
If two or more comparison conditions are satisfied simultaneously (in the same
cycle), the interrupt for the condition closest to the beginning of the comparison
table will be executed.
Once a comparison table has been registered, it will be saved in the CPM2A/
CPM2C as long as no other comparison table is registered and the mode is not
changed to PROGRAM mode (and as long as the power is not turned OFF).
Start/Stop Comparison
The comparison can be started or stopped according to the table that has al-
ready been registered to the CPM2A/CPM2C by CTBL(63).
Start Comparison
Port specifier (000: High-speed counter)
Control designation (000: Start comparison)
Fixed: 000
(@)INI(61)
000
000
000
Stop Comparison
Port specifier (000: High-speed counter)
Control designation (001: Stop comparison)
Fixed: 000
(@)INI(61)
000
001
000