User's Manual

I-8090 User Manual Version 1.0 06/2001
http://www.icpdas.com 1-5 ICPDAS
1.2 Registers of I-8090 board
The
I-8090
card’s registers table as following.
Register Add. R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
ID 0x00 R 0x0D
XDATA 0x01 R X-axis encoder value
YDATA 0x02 R Y-axis encoder value
ZDATA 0x03 R Z-axis encoder value
INDEX 0x04 R ZI YI XI
XCTRL 0x00 W S1 S0 /RST /INH /SEL
YCTRL 0x01 W S1 S0 /RST /INH /SEL
ZCTRL 0x02 W S1 S0 /RST /INH /SEL
Register Add. R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
ID 0x00 R 0x0D
The ID register is read only and its value is fixed as 0x0D. User can check this
register to identify I-8090 card or not.
Register Add. R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
XDATA 0x01 R X-axis encoder value
XDATA: the X-axis encoder counter value can be read out from this register.
The low byte value of 16 bits encoder counter can be read out when set
/SEL=0 (XCTRL register), the high byte can be read out when set /SEL=1
(XCTRL register).
Register Add. R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
YDATA 0x02 R Y-axis encoder value
YDATA : the Y-axis encoder counter value can be read out from this register.
The low byte value of 16 bits encoder counter can be read out when set
/SEL=0 (YCTRL register), the high byte can be read out when set /SEL=1
(YCTRL register).
Register Add. R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
ZDATA 0x03 R Z-axis encoder value
ZDATA : the Z-axis encoder counter value can be read out from this register.
The low byte value of 16 bits encoder counter can be read out when set