Specifications

*With the counter reset, you have the option of a normal reset or a faster reset. However, the
fast reset does not recognize changed preset values during program execution. When ‘0007’ or
‘0107’ are set in V7636 and preset values are changed during program execution, the DL05
recognizes the changed preset values at the time of the reset. When ‘0207’ or ‘0307’ are set in
V7636 the CPU does not check for changed preset values, so the DL05 has a faster reset
time.
Writing Your Control Program
You may recall that the counter instruction is a standard instruction in the DL05 instruction
set. Refer to the figure below. The mnemonic for the counter is UDC (up-down counter).The
DL05 can have up to 128 counters, labeled CT0 through CT177. The high speed counter in
the HSIO circuit is accessed in ladder logic by using UDC CT76. It uses counter registers
CT76 and CT77 exclusively when the HSIO mode 10 is active (otherwise, CT76 and CT77
are available for standard counter use). The HSIO counter needs two registers because it is a
double-word counter. It has three inputs as shown. The first input (Enable) allows counting
when active. The middle input is a dummy and has no function other than it is required by
the built-in compiler. The bottom signal is the reset. The Dummy Input must be off while
the counter is counting.
DL05 Micro PLC User Manual, 6th Edition, Rev. C
E–11
Appendix E: High-speed Input and Pulse Output Features
1
2
3
D
E
6
7
8
9
10
11
1
1
14
A
B
C
D
Input Options
Input Configuration Register Function Hex Code Required
X0 V7634 Counter Clock 0001
X1 V7635 Filtered Input
xx06, xx = filter time
0 - 99 ms (BCD)
X2 V7636
Counter Reset (no interrupt) 0007* (default) 0207*
Counter Reset (with interrupt)
0107*
0307*
Filtered Input
xx06, xx= filter time
0 - 99 ms (BCD)
Reset Input
UDC
CT76
Kxxxxxxxx
Enable Input
Dummy Input
Reset Input
UDC
CTxx
Kxxxxxxxx
UP Count
DOWN Count
Standard Counter Function HSIO Counter Function
Counts UP and DOWN Counts UP only
Reset input is internal only Reset may be internal or external
Preload counter by write to value Can use Dummy Input to change count