2 encoder connections – Sensoray 626 User Manual
Page 18

Sensoray Model 626 Instruction Manual
16
Table 14 Counter Registers
Write
Read
Offset
(hex)
Register
Name
Description
Offset
(hex)
Register
Name
Description
0
CR0A
Counter 0A setup register
0
CR0A
Counter 0A setup register
2
CR0B
Counter 0B setup register
2
CR0B
Counter 0B setup register
4
CR1A
Counter 1A setup register
4
CR1A
Counter 1A setup register
6
CR1B
Counter 1B setup register
6
CR1B
Counter 1B setup register
8
CR2A
Counter 2A setup register
8
CR2A
Counter 2A setup register
A
CR2B
Counter 2B setup register
A
CR2B
Counter 2B setup register
C
PRE0ALSW
Pre-loads 0A lsw
C
LATCH0ALSW
Reads Latch 0A lsw
E PRE0AMSW
Pre-loads
0A
msw
E
LATCH0AMSW
Reads Latch 0A msw
10
PRE0BLSW
Pre-loads 0B lsw
10
LATCH0BLSW
Reads Latch 0B lsw
12
PRE0BMSW Pre-loads
0B
msw
12
LATCH0BMSW
Reads Latch 0B msw
14
PRE1ALSW
Pre-loads 1A lsw
14
LATCH1ALSW
Reads Latch 1A lsw
16
PRE1AMSW Pre-loads
1A
msw
16
LATCH1AMSW
Reads Latch 1A msw
18
PRE1BLSW
Pre-loads 1B lsw
18
LATCH1BLSW
Reads Latch 1B lsw
1A
PRE1BMSW Pre-loads
1B
msw
1A
LATCH1BMSW
Reads Latch 1B msw
1C
PRE2ALSW
Pre-loads 2A lsw
1C
LATCH2ALSW
Reads Latch 2A lsw
1E
PRE2AMSW Pre-loads
2A
msw
1E
LATCH2AMSW
Reads Latch 2A msw
20
PRE2BLSW
Pre-loads 2B lsw
20
LATCH2BLSW
Reads Latch 2B lsw
22
PRE2BMSW Pre-loads
2B
msw
22
LATCH2BMSW
Reads Latch 2B msw
10.2 Encoder connections
Figure 4
Differential pair encoder.
(Output with complement)
Figure 4
Single ended encoder. (TTL or
CMOS)
Figure 5
Single ended event counter with
external count direction & index
control. (TTL or CMOS)
Note: If the counters are driven in a single ended mode as shown in Figure 4 and Figure 5,
then the unused phase inputs do not have to be biased at 2.5V. Each encoder input has two 100K
resistors that bias the input to 2.5V when no driving source is present.
Encoder
A
B
A+
B+
A-
B-
VCC
GND
GND
+5V
Index
I+
I-
626
Device
Out
Direction
(+5V=Up, 0V=Down)
A+
B+
A-
B-
VCC
GND
GND
+5V
Index
I+
I-
626
2.5V
Encoder
A
B
A+
B+
A-
B-
VCC
GND
GND
+5V
Index
I+
I-
626
2.5V