Timer And Counter Functions Down Counter - GE VersaMax PLC User Manual

Table of Contents

Advertisement

Input/ Output
PV
Q
192
GFK-1503E
For public disclosure
Choices
I, Q, M, T, G, R, AI, AQ,
constant, none
flow, none
10.9.4.2 Example of the Up Counter Function
In the example, every time input %I0012 transitions from OFF to ON, up counter PRT_
CNT counts up by 1; internal coil %M0001 is energized when 100 parts have been
counted. When %M0001 is ON, the accumulated count is reset to zero.
%I0012
CTU
%M0001
R
CONST
PV
+00100
PRT_CNT

10.9.5 Timer and Counter Functions Down Counter

The Down Counter function counts down from a preset value. The minimum Preset Value
is zero; the maximum present value is +32,767 counts. The minimum Current Value is –
32,768. When reset, the Current Value of the counter is set to the Preset Value PV. When
the enable input transitions from OFF to ON, the Current Value is decremented by one.
The output is ON whenever the Current Value is less than or equal to zero.
The Current Value of the Down Counter is retentive on power failure; no automatic
initialization occurs at power-up.
Enable
Reset
Preset
Value
Description
PV is the value to copy into the counter's preset
value when the counter is enabled or reset.
Output Q is energized when the current value is
greater than or equal to the preset value.
%M0001
(Q)
CTD
R
PV
Address
VersaMax PLC User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents