Specifications
The next figure shows how the HSIO counter will appear in a ladder program. Note that the
Enable Interrupt (ENI) command must execute before the counter value reaches the first
preset value. We do this at powerup by using the first scan relay. When using the counter but
not the presets and interrupt, we can omit the ENI.
When the enable input is energized, the high-speed counter will respond to pulses on X0 and
increment the counter at CT76 – CT77. The reset input contact behaves in a logical OR
fashion with the physical reset input X2 (when selected). So, the high speed counter can
receive a reset from either the contact(s) on the reset rung in the ladder, OR the external reset
X2 if you have configured X2 as an external reset.
Program Example: Counter Without Preset
The following example is the simplest way to use the high-speed counter, which does not use
the presets and special relays in the interrupt routine. The program configures the HSIO
circuit for Mode 10 operation, so X0 is automatically the counter clock input. It uses the
Compare-double (CMPD) instruction to cause action at certain count values. Note that this
allows you to have more than 24 “presets”. Then it configures X2 to be the external reset of
the counter.
DL05 Micro PLC User Manual, 6th Edition, Rev. C
E–12
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
Direct SOFT32
Required
Preset Range:
1-99999999
Reset Input
UDC
CT76
Kxxxxxxxx
Enable Input
Dummy Input
ENI
SP1
XX
XX
XX
DirectSOFT