Specifications
Calculating Your Preset Values
The preset values occupy two data words each. They can range in value from 0000 0000 to
9999 9999, just like the high-speed counter value. All 24 values are absolute values, meaning
that each one is an offset from the counter zero value.
The preset values must be individually derived for each application. In the industrial lathe
diagram below, the PLC monitors the position of the lead screw by counting pulses. At points
A, B, and C along the linear travel, the cutter head pushes into the work material and cuts a
groove.
The timing diagram below shows the duration of each equal relay contact closure. Each
contact remains on until the next one closes. All go off when the counter resets.
NOTE: Each successive preset must be two numbers greater than the previous preset value. In the
industrial lathe example, B>A+1 and C>B+1.
X Input Configuration
The configurable discrete input options for High-Speed Counter Mode are listed in the table
below. Input X0 is dedicated for the counter clock input. Input X1 can be a normal or filtered
input. The section on Mode 60 operation at the end of this chapter describes programming
the filter time constants. Input X2 can be configured as the counter reset, with or without the
interrupt option. The interrupt option allows the reset input (X2) to cause an interrupt like
presets do, but there is no SP relay contact closure (instead, X2 will be on during the
interrupt routine, for 1 scan). Or finally, X2 may be left simply as a filtered input.
DL05 Micro PLC User Manual, 6th Edition, Rev. C
E–10
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
Equal Relays
SP540
SP541
SP542
ABC
PLC
Industrial Lathe
Start
@A
Counter
Device
X0, counter clock
Motor