EasyManuals Logo

Automationdirect.com DirectLOGIC DL205 Series User Manual

Automationdirect.com DirectLOGIC DL205 Series
587 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #267 background imageLoading...
Page #267 background image
DL205 User Manual, 4th Edition, Rev. B
5–50
Chapter 5: Standard RLL Instructions - Timer, Counter and Shift Register
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Up Down Counter (UDC)
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 to 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. (Pointer (P) for
DL240, DL250-1 and DL260).
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 location + 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. 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: The UDC uses two consecutive V-memory locations for the 8-digit value, therefore two consecutive
counter locations. For example, if UDC CT1 is used, the next available counter number is CT3.
NOTE: A V-memory preset is required only if the ladder program or an OIT must be used to change the
preset.
NOTE: * Both the Counter discrete status bits and the current value are accessed with the same data
reference with the HPP. DirectSOFT uses separate references, such as “CT2” for discrete status bit for
Counter CT2, and “CTA2” for the current value of Counter CT2.
CT aaa
U
DC
B bbb
Up
D
own
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 #
Operand Data
Type
DL230 Range DL240 Range DL250-1 Range DL260 Range
B aaa bbb aaa bbb aaa bbb aaa bbb
Counters CT 0-76 0-176 0-176 0-376
V-memory for
preset values V
2000-2377 2000-3777
1400-7377
10000-17777
1400-7377
10000-37777
Pointers
(presets only) P
2000-3777
1400-7377
10000-17777
1400-7377
10000-37777
Constants
(presets only) K
0-99999999 0-99999999 0-99999999 0-99999999
Counter discrete
status bits CT/V*
0-76 or V41140-41143 0-176 or V41140-41147 0-176 or V41140-41147 0-376 or V41100-41157
Counter current
values V/CT*
1000-1076 1000-1176 1000-1176 1000-1376
þ
þ
þ
þ
230
240
250-1
260
DS Used
HPP Used

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Automationdirect.com DirectLOGIC DL205 Series and is the answer not in the manual?

Automationdirect.com DirectLOGIC DL205 Series Specifications

General IconGeneral
BrandAutomationdirect.com
ModelDirectLOGIC DL205 Series
CategoryController
LanguageEnglish

Related product manuals