7 High-speed Counters
Target value comparison
The specified interrupt task can be started when the present
value of the high-speed counter matches a target value.
Instruction
execution
condition
CTBL instruction executed
High-speed
counter
High-speed
counter PV
Target value 1
Target value 2
0
Counting enabled
Interrupted
Cyclic task
processing
Interrupt task
processing
7-22
Time
Interrupted
Cyclic task
Cyclic task
processing
processing
Interrupt task
processing
Range Comparison
The specified interrupt program can be started when the
present value of the high-speed counter enters or leaves a
set range.
• Executing the Interrupt Task When Entering the Range
Instruction
input
condition
CTBL instruction executed
High-speed
counter
High-speed
counter PV
Target value
range
0
Counting enabled
Interrupted
Cyclic task
processing
Interrupt task
processing
• Executing the Interrupt Task When Leaving the Range
Instruction
input
condition
CTBL instruction executed
High-speed
counter
High-speed
counter PV
Target range
0
Counting enabled
Interrupted
Cyclic task
processing
Interrupt task
processing
CJ2M CPU Unit Pulse I/O Module User's Manual
Time
Interrupted
Cyclic task
Cyclic task
processing
processing
Interrupt task
processing
Time
Cyclic task
Cyclic task
Interrupted
processing
processing
Interrupt task
processing
Need help?
Do you have a question about the SYSMAC CJ Series and is the answer not in the manual?
Questions and answers