DL205 User Manual, 4th Edition, Rev. D
3-39
Chapter 3: CPU Specifications and Operations
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Timer Current Values (V Data Type)
Some information is automatically stored in
V-memory, such as the current values associated with
timers. For example, V0 holds the current value for
Timer 0, V1 holds the current value for Timer 1, etc.
These are 4-digit BCD values.
The primary reason for this is programming flexibility.
The example shows how you can use relational contacts
to monitor several time intervals from a single timer.
Counters and Counter Status Bits
(CT Data Type)
You have access to counter status bits that reflect the
relationship between the current value and the preset
value of a specified counter. The counter status bit will
be on when the current value is equal to or greater than
the preset value of a corresponding counter.
Each time contact X0 transitions from off to on,
the counter increments by one (If X1 comes on, the
counter is reset to zero). When the counter reaches the
preset of 10 counts (K of 10), counter status contact
CT3 turns on. When CT3 turns on, output Y12 turns
on.
Counter Current Values (V Data Type)
Just like the timers, the counter current values are
also automatically stored in V-memory. For example,
V1000 holds the current value for Counter CT0,
V1001 holds the current value for Counter CT1, etc.
These are 4-digit BCD values. The primary reason for
this is programming flexibility. The example shows
how you can use relational contacts to monitor the
counter values.
Word Memory (V Data Type)
Word memory is referred to as V-memory (variable)
and is a 16-bit location normally used to manipulate
data/numbers, store data/numbers, etc. Some
information is automatically stored in V-memory.
For example, the timer current values are stored in
V-memory. The example shows how a four-digit
BCD constant is loaded into the accumulator and then
stored in a V-memory location.
V1 K100
TMR T1
K1000
X0
V1 K30
Y12
OUT
V1
K50
Y13
OUT
V1
K75
Y14
OUT
Y12
OUT
CT3
X0
CNT CT3
K10
X1
V1003 K8
V1003
K1
Y12
OUT
V1003 K3
Y13
OUT
V1003 K5
Y14
OUT