Standard
RLL
Instructions
5--37
Standard RLL Instructions
Timer, Counter, and Shift Register Instructions
DL105 PLC User Manual, 3rd Edition
CT aaa
This Up/Down Counter counts up on each
off to on transition of the Up input and
counts down on each off to on transition of
the Down input. The counter is reset to 0
when the Reset input is on. The count
range is 0--99999999. The count input not
being used must be off in order for the
active count input to function.
Instruction Specification
Counter Reference
(CTaaa): Specifies
the counter number.
Preset Value
(Bbbb): Constant value (K)
or two consecutive V--memory locations.
Current Values
: Current count is a double
word value 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 CT5 resides in V--memory
location V1005 and V1006.
Discrete Status Bit
: The discrete status
bit is accessed by referencing the
associated
CT
memory
location.
Operating as a “counter done bit” 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.
UDC
B bbb
Up
Down
Reset
Caution:
The UDC uses two
V memory locations for the 8 digit
current value. This means that the
UDC uses two consecutive
counter locations. If UDC CT1 is
used in the program, the next
available counter is CT3.
Preset
Counter #
The counter discrete status bit and the
current value are not specified in the
counter instruction.
Operand Data Type
DL130 Range
A/B
aaa
bbb
Counters
CT
0--77
----
V--memory
(preset only)
V
----
2000--2377
4000--4177
Constants
(preset only)
K
----
0--99999999
Counter discrete
status bits
CT/V
0--77 or V41140--41143
Counter current
values
V/CT*
1000--1077
NOTE:
* With the HPP, both the Counter discrete status bits and current value are
accessed with the same data reference.
Direct
SOFT uses separate references,
such as “CT2” for discrete status bit for Counter CT2, and “CTA2” for the current
value of Counter CT2.
Up Down Counter
(UDC)
Summary of Contents for DL105
Page 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Page 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Page 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Page 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Page 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...