Sensoray 626 User Manual
Page 3

Sensoray Model 626 Instruction Manual
Page
1
TABLE OF CONTENTS
1. LIMITED
WARRANTY.................................................................................................................................................. 4
2.
SPECIAL HANDLING INSTRUCTIONS..................................................................................................................... 4
3. INTRODUCTION ............................................................................................................................................................ 5
4.
DEVICE AND VENDOR IDENTIFICATION.............................................................................................................. 5
5. INSTALLATION.............................................................................................................................................................. 5
6.
SYSTEM BLOCK DIAGRAM........................................................................................................................................ 6
7. BOARD
LAYOUT............................................................................................................................................................ 7
8. INITIAL
STATES AFTER RESET................................................................................................................................ 8
8.1 M
ISCELLANEOUS
R
EGISTERS
......................................................................................................................................... 8
8.2 D
IGITAL
I/O .................................................................................................................................................................... 8
8.3 C
OUNTERS
...................................................................................................................................................................... 8
9. DIGITAL
I/O .................................................................................................................................................................... 9
9.1 O
VERVIEW
...................................................................................................................................................................... 9
9.2 W
RITING TO THE
D
IGITAL
O
UTPUTS
............................................................................................................................. 10
9.2.1 Digital Outputs 0-6 used as Counter Overflows.................................................................................................. 10
9.3 R
EADING THE
D
IGITAL
I
NPUTS
...................................................................................................................................... 10
9.4 C
APTURE
D
IGITAL
I
NPUT
E
DGES
................................................................................................................................... 11
9.4.1 Selecting Positive or Negative Edge Capture...................................................................................................... 11
9.4.2 Edge
Capture Interrupt ....................................................................................................................................... 11
9.4.3 Enabling and Disabling Edge Capture................................................................................................................ 11
9.5 R
EADING
E
DGE
C
APTURE
S
TATUS
R
EGISTERS
.............................................................................................................. 12
9.5.1 Reading which channels have Captured Edges ................................................................................................... 12
9.5.2 Reading the Status of the Interrupt Enable Registers .......................................................................................... 12
9.5.3 Reading the Status of the Edge Selection Register .............................................................................................. 12
9.5.4 Reading the Status of the Capture Enable Register............................................................................................. 13
9.5.5 Clearing
a
Captured Edge................................................................................................................................... 13
9.6 D
IGITAL
I
NPUT
I
NTERRUPTS
.......................................................................................................................................... 13
9.6.1 Selecting Interrupt on Edge Capture ................................................................................................................... 13
9.6.2 Digital
Input
Interrupt Handling ......................................................................................................................... 13
10. COUNTERS................................................................................................................................................................ 14
10.1 O
VERVIEW
................................................................................................................................................................ 14
10.1.1 Latches ............................................................................................................................................................ 14
10.1.2 Clear/Pre-load ................................................................................................................................................ 14
10.1.3 Interrupts......................................................................................................................................................... 15
10.1.4 Overflow Outputs ............................................................................................................................................ 15
10.1.5 Index Inputs..................................................................................................................................................... 15
10.1.6 Counter Inputs................................................................................................................................................. 15
10.1.7 Power failure................................................................................................................................................... 15
10.2 E
NCODER CONNECTIONS
........................................................................................................................................... 16
10.3 B
LOCK
D
IAGRAM
...................................................................................................................................................... 17
10.4 C
OUNTER
S
ETUP
R
EGISTERS
..................................................................................................................................... 18
10.5 S
ETTING
U
P THE
C
OUNTER
S
OURCE
......................................................................................................................... 19
10.5.1 Software
Control of the Index ......................................................................................................................... 20
10.5.2 Multiplier......................................................................................................................................................... 20
10.5.3
Software Control Of Direction & Count Generation ...................................................................................... 20
10.6 D
RIVING
C
OUNTER
B F
ROM
C
OUNTER
A’
S
O
VERFLOW
........................................................................................... 20