EasyManua.ls Logo

Omron SYSMAC CP2E-E D Series

Omron SYSMAC CP2E-E D Series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11 High-speed Counters
11-14
CP2E CPU Unit Software User’s Manual(W614)
11-3 High-speed Counter Interrupts
High-speed counter interrupts can be used with any model of CP2E CPU Unit.
This function counts input pulses with the CPU Units built-in high-speed counter and executes an inter-
rupt task when the count reaches the preset value or falls within a preset range (target-value or zone
comparison). An interrupt task between 0 and 15 can be allocated with the CTBL instruction.
11-3-1 Overview
Target value comparison Range comparison
The specified interrupt program can be started when the
present value of the high-speed counter matches a target
value.
The specified interrupt program can be started when the
present value of the high-speed counter enters a set range.
END
END
Cycle
Rotary Encoder
Built-in input
Present value Present value matches set target value
Time
Interrupt task
Ladder diagram
Interrupt occurs
Cyclic tasks
(ladder programs)
I/O refresh
0
Instruction execution
condition
CTBL instruction executed
High-speed
Counter Unit
High-speed counter PV
Target value
1
Target value
2
Counting enabled
Time
Cyclic task
execution
Cyclic task
execution
Cyclic task
execution
Interrupted Interrupted
Interrupt task
execution
Interrupt task
execution
0
Instruction execution
condition
CTBL instruction executed
High-speed
Counter Unit
High-speed counter PV
Target value range
Counting enabled
Cyclic task
execution
Cyclic task
execution
Cyclic task
execution
Interrupted Interrupted
Interrupt task
execution
Interrupt task
execution
Time

Table of Contents

Related product manuals