Input/ Output
Choices
Description
PV
I Q, M, T, G, R, AI, AQ,
constant, none
PV is the value to copy into the timer’s preset
value when the timer is enabled or reset. For a
register (%R) OV reference, the PV parameter is
specified as the second word of the address
parameter. For example, an address parameter
of %R0001 would use %R0002 as the PV
parameter.
Q
flow, none
Output Q is energized when the current value is
less than the preset value. The Q state is
retentive on power failure; no automatic
initialization occurs at powerup.
time
tenths, hundredths, or
thousandths of seconds
Time increment for the low bit of the PV preset
and CV current value.
10.9.4
Timer and Counter Functions Up Counter
The Up Counter function counts up to a designated value. The range is 0 to +32,767
counts. When the Up Counter reset is ON, the Current Value of the counter resets to 0.
Each time the enable input transitions from OFF to ON, the Current Value increments by
1. The current value can be incremented past the Preset Value PV. The output is ON
whenever the Current Value is greater than or equal to the Preset Value. The state of the
CTU is retentive on power failure; no automatic initialization occurs at power-up.
Enable
Reset
Preset
Value
CTU
R
PV
(Q)
Address
10.9.4.1
Parameters of the Up Counter Function
Input/ Output
Choices
Description
address
R
The function uses three consecutive words
(registers) of %R memory to store the following:
• Current value (CV) = word 1.
• Preset value (PV) = word 2.
• Control word = word 3.
Do not use this address with another up counter,
down counter, or any other instruction or
improper operation will result.
Careful: Overlapping references cause erratic
operation of the counter.
enable
flow
On a positive transition of enable, the current
count is incremented by one.
R
flow
When R receives power flow, it resets the current
value back to zero.
Instruction Set Reference
GFK-1503E User Manual 191
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......