7-47
7 High-speed Counters
CJ2M CPU Unit Pulse I/O Module User’s Manual
7-5 Application Examples
7
When the present value of the high-speed counter matches target value 2 (3,500), interrupt task 144
is executed.
DM Area Settings
The comparison table for the CTBL(882) (REGISTER COMPARISON TABLE) instruction is set in
D600 through D606.
Word Value Description
D600 0002 Number of target values: 2
D601 0BB8 Target value 1: 3,000 (BB8 hex)
D602 0000
D603 008F Target value 1: Interrupt task No.143
D604 0DAC Target value 2: 3,500 (0DAC hex)
D605 0000
D606 0090 Target value 2: Interrupt task No. 144
P_On
RSET
2961.00
RSET
2961.01
SET
W0.02
Interrupt task
number 144
Motor operation
reset.
Motor low speed
reset
Turns ON motor stop
output.