EasyManua.ls Logo

Delta AH500 - 32-Bit Counters

Delta AH500
749 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...
AH500 Programming Manual
2-50
X0.0
X0.1
Y0.0 and C0
Current value of C0
0
1
2
3
4
5
Setting value
0
2.2.12 32-bit Counters
The characteristics of the 32-bit counter:
Item
32-bit counter
Type
General type
Number
HC0~HC63
Direction
Counting up/down
setting value
-2,147,483,648~+2,147,483,647
Specification of the setting value
The setting value can be either the constant or the value
occupying two data registers.
Change of the current value
The counter keeps counting after the value of the counter
matches the setting value.
Output contact
The contact is ON when the value of the addition counter
matches the setting value.
The contact is reset to OFF when the value of the
subtraction counter matches the setting value.
Reset
When the instruction RST is executed, the current value is
cleared to zero, and the contact is reset of OFF.
Action of the contact
After the scan is complete, the contact acts.
The 32-bit general-purpose addition/subtraction counter:
1. Setting range: -2,147,483,648~2,147,483,647
2. The switch between the 32-bit general-purpose addition counters and the 32-bit
general-purpose subtraction counters depends on the states of the special auxiliary relays
SM621~SM684. For example, the counter HC0 is the addition counter when SM621 is OFF,
whereas HC0 is the subtraction counter when SM621 is ON.
3. Users can use either the constant or the value in the data registers as the setting value of the
counter, and the setting value can be a positive or a negative. If users use the value in the data
registers as the setting value of the counter, the setting value occupies two consecutive
registers.
4. For the general-purpose counter, the current value of the counter is cleared when there is a
power cut. If the counter is the latched one, the current value of the counter and the state of
the contact before the power cut will be retained. The latched counter counts from the current
value when the power supply is restored.
5. If the counter counts up from 2,147,483,647, the next current value becomes -2,147,483,648.
If the counter counts down from -2,147,483,648, the next current value becomes
2,147,483,647.
Example:

Table of Contents

Other manuals for Delta AH500

Related product manuals