Automationdirect.com DL05 User Manual page 189

Micro plc
Hide thumbs Also See for DL05:
Table of Contents

Advertisement

Stage Counter (SGCNT)
The Stage Counter is a single input counter that
DS5
Used
increments when the input logic transitions from off
HPP
Used
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
PLUS
RLL
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 location + 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.
Operand Data Type
⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠ A/B
Counters ⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠CT
V-memory (preset only) ⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠V
Pointers (preset only) ⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠P
Constants (preset only) ⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠K
Counter discrete status bits ⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠ CT/V
Counter current values ⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠ V /CT**
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 5 uses separate references, such as "CT2" for discrete status bit for
Counter CT2, and "CTA2" for the current value of Counter CT2.
Chapter 5: Standard RLL Instructions
aaa
0–177
––
––
––
DL05 Micro PLC User Manual, 6th Edition, Rev. D
Counter #
SGCNT
B bbb
Preset
The counter discrete status bit and the
current value are not specified in the
counter instruction.
DL05 Range
bbb
––
1200–7377
7400–7577*
1200–7377
7400–7577
0–9999
0–177 or V41140–41147
1000–1177
1
1
2
2
CT aaa
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
13
13
14
14
A
a
b
B
c
C
D
D
5-43

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DL05 and is the answer not in the manual?

Table of Contents