2-2
Section
CPM2A/CPM2C High-speed Counters
58
Register Target Value Comparison Table and Start Comparison
Port specifier (000: High-speed counter)
Mode designation (000: Register target value comparison table
and start comparison)
Beginning word of comparison table
(@)CTBL(63)
000
000
S
Target Value Comparison Table
Number of comparisons
Target value 1 (rightmost)
Target value 1 (leftmost)
Subroutine number
Target value 2 (rightmost)
Target value 2 (leftmost)
Subroutine number
Comparison 1 setting
Comparison 2 setting
Number of comparisons
0001 to 0016 BCD
Target value (rightmost, leftmost)
Register the counter value to be compared.
The leftmost digit shows the sign (+/–).
Differential phase input mode
Pulse + direction input mode
Up/down pulse input mode
When incrementing: F8388607 to 08388607
When decrementing: F8388608 to 08388606
Increment mode
00000001 to 16777215
Subroutine number
Register the direction of comparison and the subroutine
number to be executed when there is a match.
The leftmost digit shows the direction (increment/decrement).
Increment direction: 0000 to 0049
Decrement direction: F000 to F049
The range that can be specified depends on the mode
when target comparison interrupts are specified.
It is not possible to specify more than one comparison direction condition for the
same target value in the comparison table.
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).
Register Range Comparison Table
Register Range Comparison Table and Start Comparison
These functions register a comparison table to the CPM2A/CPM2C for the pur-
pose of count checking in range comparison. It is also possible to start the com-
parison along with the registration.
Register Range Comparison Table
Port specifier (000: High-speed counter)
Mode designation (003: Register range comparison table only)
Beginning word of comparison table
(@)CTBL(63)
000
003
S
Register Range Comparison Table and Start Comparison
Port specifier (000: High-speed counter)
Mode designation (001: Register range comparison table
and start comparison)
Beginning word of comparison table
(@)CTBL(63)
000
001
S
Содержание 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 ...