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

Table of Contents

Advertisement

Input/ Output
PV
Q
time
Input/ Output
address
enable
R
Instruction Set Reference
For public disclosure
Choices
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
I Q, M, T, G, R, AI, AQ,
specified as the second word of the address
constant, none
parameter. For example, an address parameter
of %R0001 would use %R0002 as the PV
parameter.
Output Q is energized when the current value is
less than the preset value. The Q state is
flow, none
retentive on power failure; no automatic
initialization occurs at powerup.
tenths, hundredths, or
Time increment for the low bit of the PV preset
thousandths of seconds
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
CTU
Reset
R
Preset
PV
Value
Address
10.9.4.1 Parameters of the Up Counter Function
Choices
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.
R
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.
On a positive transition of enable, the current
flow
count is incremented by one.
When R receives power flow, it resets the current
flow
value back to zero.
Description
(Q)
Description
GFK-1503E User Manual 191

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents