DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-45
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Discrete Status Bit:
The discrete status bit is accessed by referencing the associated CT
memory location. It will be On if the value is equal to or greater than the preset value. For
example the discrete status bit for counter 2 would be CT2.
NOTE: A V-memory preset is required if the ladder program or OIP must change the preset.
NOTE: *May be non-volatile if MOV instruction is used.
** With the HPP, both the Counter discrete status bits and current value are accessed with the
same data reference. DirectSOFT uses separate references, such as “CT2” for discrete status bit for
Counter CT2, and “CTA2” for the current value of Counter CT2.
1
2
3
4
5
6
7
8
9
10
11
14
a
b
c
D
CT aaa
CNT
B bbb
Count
Reset
Counter #
Preset
Operand Data Type
DL06 Range
A/B
aaa
bbb
Counters
CT
0–177
––
V-memory (preset only)
V
––
400-677
1200–7377
7400–7577
10000-17777
Pointers (preset only)
P
––
400-677
1200–7377
7400–7577*
10000-17777
Constants (preset only)
K
––
0–9999
Counter discrete status bits
CT/V
0–177 or V41140–41147
Counter current values
V /CT**
1000-1177
DS
Used
HPP Used
Counter (CNT)
The Counter is a two-input counter that increments when the
count input logic transitions from Off to On. When the counter
reset input is On, the counter resets to 0. When the current
value equals the preset value, the counter status bit comes On
and the counter continues to count up to a maximum count of
9999. The maximum value will be held until the counter is reset.
Instruction Specifications
Counter Reference
(CTaaa): Specifies the counter number.
Preset Value
(Bbbb): Constant value (K) or a V-memory
location.
Current Values
: Counter current values are accessed by
referencing the associated V or CT memory locations.* The
V-memory location is the counter lo 1000. For example,
the counter current value for CT3 resides in V-memory location
V1003.