DL205 User Manual, 4th Edition, Rev. B
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
K
1
00
TMR
T
1
K
1
000
X
0
V1
K
3
0
Y
1
2
OU
T
V1
K
5
0
Y
1
3
OU
T
V1
K
7
5
Y
1
4
OU
T
Y12
OUT
C
T
3
X0
C
N
T
C
T
3
K
1
0
X
1
V1003
K8
V1003
K
1
Y
1
2
OUT
V1003
K
3
Y
13
OUT
V1003
K
5
Y
1
4
OUT
X
0
CN
T
C
T
3
K
10
X
1
V1400
0
1
0 0 1 0 0 1 1 0 1 0 0 0 1 0
Word Locations – 16 bits
X0
LD
K1345
OUT
1
3
4
5