EasyManua.ls Logo

Inovance H3U Series - 16-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...
40
3
3 Elements3.6 Counter
3.6.1 16-bit Counter
You can use the system parameter congurations to set and change allocation of counters for general
purpose use and retention purpose use.
The valid value of a 16-bit counter ranges from K1 to K32,767 (a decimal constant). The value K0 and K1
have the same effect; that is, the output contact takes actions when the rst counting starts, as shown in
the following example.
X6
X5
1
2
3
4
5
6
7
8
9
C10
Y1
Each time the counting input X5 drives the C10 coil, the current value of the counter increments, and the
output contact takes action when the coil instruction is executed at the ninth time. After that, the current
value of the counter remains unchanged even the counting input X5 continues to drive the coil. If the input
X6 is set to
ON
, the RST instruction is executed, the current value of the counter is cleared, and the output
contact is reset.
You can use the constant K or the data register to set the value of the counter. In the example above, you
can use D20 to replace K9. If D20 is set to 9, the effect is the same as that when the value is K9.
When a value larger than the preset value is written into the counter (for example, C10) through MOV or
other instructions, the current value of the counter will change to the preset value and the corresponding
output coil will be switched on during next counting.
If the PLC is powered off, the counting value of a counter for general purpose is cleared, while the counting
value before power failure of a counter which can be retained during power failure can be stored, and the
counter continues the counting following the previous counting value.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals