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

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

Advertisement

CPM2A/CPM2C High-speed Counters
Lower limit 1 (rightmost)
Lower limit 1 (leftmost)
Upper limit 1 (rightmost)
Upper limit 1 (leftmost)
Subroutine number
Lower limit 8 (rightmost)
Lower limit 8 (leftmost)
Upper limit 8 (rightmost)
Upper limit 8 (leftmost)
Subroutine number
Range Comparison Table
Eight range comparison conditions consisting of upper
and lower limits and subroutine numbers must be set.
Range comparison
Upper and lower limits (rightmost, leftmost)
condition 1
Subroutine number
Range comparison
condition 8
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
(@)INI(61)
Stop Comparison
(@)INI(61)
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
Register the subroutine number to be executed when
the range comparison condition is satisfied.
0000 to 0049
If the set values do not reach 8, set FFFF.
Port specifier (000: High-speed counter)
000
Control designation (000: Start comparison)
000
Fixed: 000
000
000
Port specifier (000: High-speed counter)
Control designation (001: Stop comparison)
001
Fixed: 000
000
Section
2-2
59

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?

Subscribe to Our Youtube Channel

Table of Contents