EasyManua.ls Logo

Inovance H3U Series - 32-Bit Counter

Inovance H3U Series
737 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...
41
3
3 Elements
3.6 Counter
3.6.2 32-bit Counter
The value range for a 32-bit incremental/decremental counter is -2,147,483,648 to +2,147,483,647 (a
decimal constant). You can use the constant K or the content of the data register D to set the value. You
can use the special auxiliary relays M8200 to M8234 to specify the counting incremental/decremental
direction. If the M8 △△△ (corresponding to C △△△ ) is set to
1
, the counter changes to be decremental
counter. Otherwise, the counter is incremental counter.
X11
X12
1
2
3
4
5
C200
Y1
X10
4
3
1
2
0
-1
-3
-2
-5
-7
-6
-8
-9
-4
-8
-7
-6
-5
-3
-4
0
0
If Y1 is set to ON
The increment/decrement of the current value is unrelated to the action of the output contact. However,
if counting increments from 2,147,483,647, the reading changes to -2,147,483,648 after another pulse
is input. Similarly, if counting decrements from -2,147,483,648, the reading changes to 2,147,483,647
after another pulse is input. Such an action is called ring counting. If the input X11 is set to
ON
, the RST
instruction is executed, the current value of the counter is cleared, and the output contact is reset.
When a counter which can be retained upon power failure is used, the current value of the counter, the
output contact action, and reset status are retained upon power failure.
A 32-bit counter can be used as a 32-bit data register. However, the 32-bit counter cannot be used as an
element in the 16-bit application instructions.
When a value larger than the set value is written into the counter by using the DMOV or other instructions,
the counting continues upon subsequent counting input, and the contact does not change.
The higher bit (bit 15) of a 16-bit counter is the sign bit. The data processed is within the range 0 to 32,767;
that is, only positive numbers can be processed.
The higher bit (bit 31, the higher bit of the high-order byte) of a 32-bit counter is the sign bit. The data
processed is within the range -2,147,483,648 to +2,147,483,647.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals