Linear Counter - Omron CJ1W-CT021 Operation Manual

High-speed counter units
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

Counter Types
3-2-3

Linear Counter

Configuring Linear Counters
CNT1:
CNT2:
m+30
m+75
−2,147,483,648 ≤ Lowercount Limit ≤ −1
80000000 ≤ Lowercount Limit ≤ FFFFFFFF
H
Underflow
54
Note All of the functions listed in 1-3-2 "Functional Specifications" can be used if a Lin-
ear Counter is set.
15 14 13 12 11 10 9
A Linear Counter has the full counting range (=32 bits) available to count up- or
downwards over the positive and negative counting range between the Minimum
Count Limit and the Maximum Count Limit. By default the Minimum and Maximum
Count Limits are set to the maximum counting limits (i.e. –2,147,483,648 and
+2,147,483,647 respectively).
Up Counting
Counter Value
If the Counter Value goes above the Upper Count Limit or below the Lower Count
Limit an Overflow- and Underflow flag will be set respectively. These are reported
in CIO for the corresponding Counter.
On occurrence of an Overflow or Underflow, every Counter can be configured to
report a corresponding error-code. You can use Overflow/Underflow Error-Code
Generation to store Overflow and underflow errors in the EEPROM inside the Unit
(refer to 5-2-3 "Overflow/Underflow errors"). Another reason to use Overflow/
Underflow Error-Code Generation is that you are now able to predefine the status
of the Outputs at the occurrence of an Overflow or Underflow. For this purpose you
should use the Output State Control function (refer to 3-5-4 "Output Control Con-
figuration" for more information).
8
7
6
5
4
3
2
1
0
00000001
H
Down Counting
0
Counter Type:
1 = Linear Counter
1
Uppercount Limit
+2,147,483,647
Uppercount Limit
7FFFFFFF
Overflow
Section 3-2
H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents