X2
C200
X0
C200
Y0
M9200
K- 5
X1
RST C20 0
The X0 drives the M9200 to define the UP/Down count direction of the
C200. It OFF is defined as an UP count; while ON for Down count.
When the counting signal X2 switches from OFF to ON, C200
accumulates counting, and the present value in the register alters.
When the present value of a counter changes from -6 to -5, its output
contact switches from OFF to ON. When the present value of a counter
changes from -5 to -6, its output contact switches from ON to OFF.
When the rest signal X1 is ON, the RST instruction is executed.
The present value of this counter will reset to “0” and its contact will be
OFF.
Since the range of a 32-bit present value is between -2,147,483,648 to +2,147,483,647. If a counter up counts
beyond +2,147,483,647, the present value will automatically change to -2,147,483,648. Similarly, the down counting
below - 2,147,483,648 will have the result +2,147,483,647. This is a typical “Ring Counter” technique.
When the power is turned off, the latched counter will retain its present value and status of the contact.
The 32-bit counter can be used as a 32-bit data register.
If use the DMOV instruction to transfer a number to the counter's present value register and which is greater than its
set value, then at the next input ON signal will let its present value accumulated but will not change the status of
contact.
The Up/Down direction control for a 32-bit counter C200~C234 is defined by the special relay M9200~M9234.
The C200's direction is defined by M9200. If the M9200 is OFF, the C200 executes up counting; ON counts down.
While the M9201 is to control the direction of the C201, and so on.
The counter's set value can be set by using a constant number K directly or a content value in a pair of continuous
Data Registers D, R indirectly. The value can be either a 32-bit positive or negative number.
In the part of 32-bit counter's output coil, its component ID number is not available to modify by the Index Register
V/Z. However, the set value can be modified by the V/Z.
UP/Down control signal X0
Present value of C200
Y0
Up Up
Down
If the output contact was ON
Counting signal X2
Rest signal X1
23
2-6-2 32- bit Counter