Omron CP1H CPU Operation Manual page 244

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

High-speed Counters
Item
Count values
High-speed counter PV storage locations
Control
Target value comparison
method
Range comparison
Counter reset method
Auxiliary Area Data
Allocation
PV storage words
Range Comparison Con-
dition Met Flags
Comparison In-progress
Flags
Overflow/Underflow Flags ON when an overflow or underflow has
Count Direction Flags
210
Linear mode: 80000000 to 7FFFFFFF hex
Ring mode: 00000000 to Ring SV
(The Ring SV (Circular Max. Count) is set in the PLC Setup and the setting
range is 00000001 to FFFFFFFF hex.)
High-speed counter 0: A271 (leftmost 4 digits) and A270 (rightmost 4 digits)
High-speed counter 1: A273 (leftmost 4 digits) and A272 (rightmost 4 digits)
High-speed counter 2: A317 (leftmost 4 digits) and A316 (rightmost 4 digits)
High-speed counter 3: A319 (leftmost 4 digits) and A318 (rightmost 4 digits)
Target value comparison interrupts or range comparison interrupts can be
executed based on these PVs.
Note The PVs are refreshed in the overseeing processes at the start of each
cycle. Use PRV(881) to read the most recent PVs.
Data format: 8 digit hexadecimal
Range in linear mode: 80000000 to 7FFFFFFF hex
Range in ring mode: 00000000 to Ring SV (Circular Max. Count)
Up to 48 target values and corresponding interrupt task numbers can be reg-
istered.
Up to 8 ranges can be registered, with a separate upper limit, lower limit, and
interrupt task number for each range.
Select one of the following methods in the PLC Setup.
•Phase-Z + Software reset
The counter is reset when the phase-Z input goes ON while the Reset Bit is
ON.
•Software reset
The counter is reset when the Reset Bit goes ON.
(Set the counter reset method in the PLC Setup.)
Note Operation can be set to stop or continue the comparison operation
when the high-speed counter is reset.
Function
Leftmost 4 digits
Rightmost 4 digits
Range 1 Comparison Condition Met Flag
Range 2 Comparison Condition Met Flag
Range 3 Comparison Condition Met Flag
Range 4 Comparison Condition Met Flag
Range 5 Comparison Condition Met Flag
Range 6 Comparison Condition Met Flag
Range 7 Comparison Condition Met Flag
Range 8 Comparison Condition Met Flag
ON when a comparison operation is being exe-
cuted for the high-speed counter.
occurred in the high-speed counter's PV.
(Used only when the counting mode is set to
Linear Mode.)
0: Decrementing
1: Incrementing
Specification
High-speed counter number
0
1
A271
A273
A317
A270
A272
A316
A274.00
A275.00
A320.00
A274.01
A275.01
A320.01
A274.02
A275.02
A320.02
A274.03
A275.03
A320.03
A274.04
A275.04
A320.04
A274.05
A275.05
A320.05
A274.06
A275.06
A320.06
A274.07
A275.07
A320.07
A274.08
A275.08
A320.08
A274.09
A275.09
A320.09
A274.10
A275.10
A320.10
Section 5-2
2
3
A319
A318
A321.00
A321.01
A321.02
A321.03
A321.04
A321.05
A321.06
A321.07
A321.08
A321.09
A321.10

Advertisement

Table of Contents
loading

Table of Contents