DMC-21x3 Accessories Chapter 14 DB-28104• 85
The unique position within one cycle can be read using the following equation:
⎟
⎟
⎠
⎞
⎜
⎜
⎝
⎛
=
a
b
1-
n
V
V
tan
360
2
Fine
The overall position can be determined using:
Fine2lesCoarse_cycPosition
n
+⋅=
where:
n is the number of bits of resolution that were used in the conversion.
Coarse_cycles is the whole number of cycles counted.
Fine is the interpolated position within one cycle.
V
b
and V
a
are the two signals as indicated in Figure 4.
Setting up the Encoder
Each axis uses a 9-pin female connector. The pinout is described below.
JX1 X-Axis (9-pin Female D-sub) JZ1 Z-Axis (9-pin Female D-sub)
Pin Description Pin Description
1 5 Volt encoder power 1 5 Volt encoder power
2 Index - 2 Index -
3 MA-X 3 MA-Z
4 MB-X 4 MB-Z
5 NC 5 NC
6 Ground 6 Ground
7 Index + 7 Index +
8 MA+X 8 MA+Z
9 MB+X 9 MB+Z
JY1 Y-Axis (9-pin Female D-sub) JW1 W-Axis (9-pin Female D-sub)
Pin Description Pin Description
1 5 Volt encoder power 1 5 Volt encoder power
2 Index - 2 Index -
3 MA-Y 3 MA-W
4 MB-Y 4 MB-W
5 NC 5 NC
6 Ground 6 Ground
7 Index + 7 Index +
8 MA+Y 8 MA+W
9 MB+Y 9 MB+W