DVP-ES3/EX3/SV3/SX3 Series Hardware and Operation Manual
5-16
3. If you use the MOV instruction or ISPSoft/DIADesigner to transmit a value larger than the counter setting value to
the current value register C0, the contact of the counter C0 is ON and the current value becomes the same as the
counter setting value the next time X0.1 switches from OFF to ON.
4. You can use either the constant or the value in the data register as the counter setting value.
5. The counter setting value can be positive or negative. If the counter counts up from 32,767, the next value is 0.
6. This counter should work with CNT instruciotn (API1003); below shows an example of common usage.
1. When M0=ON, the RST instruction is executed, the current value of C0 is reset to zero, and the output contact of
the counter C0 is FF. And M0=OFF, the execution of RST instruction is done.
2. When M1 changes from OFF to ON, the value of the counter increments by one.
3. When the value of the counter C0 reaches the counter setting value of 5, the contact of the counter C0 is ON (the
current value of C0 = the counter setting value = 5). After that the trigger from M1 is not accepted by C0 and the
current value of C0 stays at the value 5.
X0.0
X0.1
Y0.0,C0
C0 (PV)
0
1
2
3
4
5
(SV )
0
M1
M0
M3