English
Language : 

IC-LNG_14 Datasheet, PDF (25/30 Pages) IC-Haus GmbH – 16-BIT OPTO ENCODER
iC-LNG 16-BIT OPTO ENCODER preliminary
WITH SPI AND SERIAL / PARALLEL OUTPUTS
SHIFT REGISTER OUTPUT
Rev B1, Page 25/30
In interface mode (EPG = 0) iC-LNG provides a shift STA
register for the readout of position data. In order to 0
be able to use this shift register the SPI interface sen- 1
sor data channel must be deactivated by command
ACTIVATE with PACTIVE = 0 (Table 12).
Add. 0x08, bit 3
1024 SIN/COS cycles
512 SIN/COS cycles
Table 24: SIN/COS resolution
After a power-on the shift register in iC-LNG is active. SRC
The position data is output in Gray code with the MSB Code
first. This MSB is output in real time at the shift reg-
ister output (pin DOUT) when NSL = 1. When NSL = 0x0
0 the position data is stored in the shift register and 0x1
can then be output serially with rising edge CLK. The 0x2
position data readout process is shown in Figure 17.
0x3
0x4
External data can be read into iC-LNG through shift 0x5
register input pin DIN. This is output after the position 0x6
data. For example, iC-LNG’s pin ERR can be con- 0x7
nected to pin DIN to link the alarm output to the po-
sition data.
Add. 0x08, bit 2:0
Shift register Data bits for
length
STA = 0
16 bits
16
16 bits
16
16 bits
15
16 bits
14
16 bits
13
16 bits
12
14 bits
13
14 bits
12
Data bits for
STA = 1
15
15
14
13
12
11
12
11
Table 25: Shift register length
The length of the shift register and the number of data
bits used can be selected using parameter SRC, de-
pending on the set SIN/COS resolution.
The MSB of the position data can be inverted by pa-
rameter DIR (code inversion).
DIR
Add. 0x07, bit 5
0
No code inversion
1
Code inversion
Table 26: Code inversion
NSL
CLK
DOUT
MSB MSB-1 MSB-2
LSB
DIN
Figure 17: Shift register output (EPG = 0)