English
Language : 

IC-LNB_13 Datasheet, PDF (31/35 Pages) IC-Haus GmbH – 18-BIT OPTO ENCODER WITH SPI AND SER/PAR INTERFACES
iC-LNB 18-BIT OPTO ENCODER preliminary
WITH SPI AND SER/PAR INTERFACES
Rev A1, Page 31/35
NGRAY
Code
0
1
Addr. 0x07; bit 6
Data format
Gray
binary
Table 44: Shift register output data format
If binary output is enabled (NGRAY = 1) , DIN must be
switched to 0, i.e. no external data can be read into the
shift register (as in ring operation, for example).
RNF
Code
0
1
Addr. 0x08; bit 3
Output pin DOUT
MSB bit
High
Table 45: Shift register idle output
The MSB of the position data can be inverted by pa-
rameter DIR or pin DIR (code inversion). Parameter
DIR and pin DIR are exor gated; for instance, no code
inversion occurs if the level at pin DIR is high and pa-
rameter DIR = 1.
NB:
If FlexCount is enabled, after changing the direction
of rotation FlexCount must be reset (Table 33).
DIR
Code
0
1
Addr. 0x07; bit 5
Description
CW (no inversion)
CCW (inversion)
Table 47: Code inversion
SRC
Code
000
001
010
011
100
101
110
111
Addr. 0x08; bit 2:0
Shift register length
18-bit
17-bit
16-bit
16-bit
16-bit
16-bit
14-bit
14-bit
Number of used bits
18
17
16
15
14
13
13
12
Table 46: Shift register length
PARALLEL ENCODER MODE
Depending on SELABS, in parallel encoder mode 16
bits of position data (10 bits from the digital tracks and
6 bits from the interpolator) are output in parallel, or
FlexCount outputs the top 16 bits in parallel with the
set RESSUB resolution.
Parallel encoder mode is enabled by parameter
EPG = 1.
The interpolator resolution can be set to 6 bits (RE-
SIPO = 0b10) to permit the maximum input frequency.
Programming the interpolator resolution to 7 and 8 bits
allows an extra 17 or 18 bits of position data to be read
in through the SPI interface.
EPG
Code
0
1
Addr. 0x07; bit 4
Description
Interface mode
Parallel mode
Table 48: Selecting the operating mode