Timer And Counter Functions On Delay Stopwatch Timer - GE VersaMax PLC User Manual

Table of Contents

Advertisement

15 14 13 12 11 10
Instruction Set Reference
For public disclosure
The control word stores the state of the boolean inputs and outputs of its associated
function block in the following format:
9
8
Reserved
Reset input
Enable input, previous execution
Q (counter/timer status output)
EN (enable input)
Bits 0 through 11 are used for timer accuracy; not for counters.
If the Preset Value (PV) is not a constant, PV is normally set to a different location than
the second word. Some applications use the second word address for the PV, such as
using %R0102 when the bottom data block starts at %R0101. It is then possible to change
the Preset Value while the timer or counter is running. The first (CV) and third (Control)
words can be read but should not be written, or the function will not work.
10.9.1 Timer and Counter Functions On Delay
Stopwatch Timer
A retentive On-Delay Stopwatch Timer (ONDTR) increments while it receives power
flow and holds its value when power flow stops. Time may be counted in tenths (0.1),
hundredths (0.01), or thousandths (0.001) of a second. The range is 0 to +32,767 time
units. The state of this timer is retentive on power failure; no automatic initialization
occurs at power-up.
When this function first receives power flow, it starts accumulating time (current value).
When this timer is encountered in the ladder logic, its Current Value is updated.
Enable
ONDTR
Reset
R
Preset Value
PV
Address
When the Current Value equals or exceeds the Preset Value PV, output Q is energized. As
long as the timer continues to receive power flow, it continues accumulating until the
maximum value is reached. Once the maximum value is reached, it is retained and output
Q remains energized regardless of the state of the enable input.
If multiple occurrences of the same timer with the same reference address are enabled
during a CPU sweep, the current values of the timers will be the same.
7
6
5
4
3
2
(Q)
Current Value
1
0
GFK-1503E User Manual 185

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents