Standard
RLL
Instructions
5--35
Standard RLL Instructions
Timer, Counter, and Shift Register Instructions
DL105 PLC User Manual, 3rd Edition
CT aaa
The Stage Counter is a single input counter
that increments when the input logic
transitions from off to on. This counter
differs from other counters since it will hold
its current value until reset using the RST
instruction. The Stage Counter is designed
for use in RLL
PLUS
programs but can be
used in relay ladder logic programs. When
the current value equals the preset value,
the counter status bit turns 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.
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.
SGCNT
B bbb
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
Constants
(preset only)
K
----
0--9999
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.
Stage Counter
(SGCNT)
Содержание DL105
Страница 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Страница 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Страница 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Страница 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Страница 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...
Страница 329: ...1F European Union Directives CE In This Appendix European Union EU Directives Basic EMC Installation Guidelines...