High-Speed Input and
Pulse Output Features
3–20
High-speed Input and Pulse Output Features
Recall that V7633 is the HSIO Mode Select register. Refer to the diagram below. Use
BCD 20 in the lower byte of V7633 to select the High-Speed Counter Mode. The
DL05 does not use bits 8 - 15 in V7633.
015 14 13 12
Memory Location V7633
11 10 123456789Bits
00000001000
HSIO Mode Setup (BCD)
0000
20 = Quadrature Counter
00 02
0
Bits 8 - 15 are not used
in V7633.
Choose the most convenient method of programming V7633 from the following:
S Include load and out instructions in your ladder program
S DirectSOFT’s memory editor
S Use the Handheld Programmer D2–HPP
We recommend using the first method above so that the HSIO setup becomes an
integral part of your application program. An example program later in this section
shows how to do this.
The configurable discrete input options for High-Speed Counter Mode are listed in
the table below. Input X0 is dedicated for Phase A, and input X1 is for Phase B. Input
X2 is the reset input to the quadrature counter, but it does not cause an interrupt. The
section on Mode 60 operation at the end of this chapter describes programming the
filter time constants.
Input Configuration
Register
Function Hex Code
Required
X0 V7634 Phase A 0002 (default)
quadrature, absolute
0 to 99999999
0012
quadrature, absolute
-8388608 to 8388607
X1 V7635 Phase B 0000
X2 V7636 Counter Reset (no interrupt) 0007
Discrete filtered input 1006
Setup for Mode 20
X Input
Configuration