ICP DAS USA 3-axis encoder card, 2-axis stepping/servo, I-8090 3-axis encoder card break default

Models: 3-axis encoder card, 2-axis stepping/servo I-8090 3-axis encoder card I-8091 2-axis stepping/servo

1 69
Download 69 pages 14.6 Kb
Page 26
Image 26

I-8090 User Manual

Version 1.0 06/2001

break;

default:

Show5DigitLedSeg (0x01, 0x01); Show5DigitLedSeg (0x02, 0x01); Show5DigitLedSeg (0x03, 0x01); Show5DigitLedSeg (0x04, 0x01); break;

};

}

//---------------------------------------------------

unsigned char CardSearch(unsigned char SlotNum)

{

unsigned char temp;

temp=inportb(PortAddress[SlotNum]);

ShowCardName(SlotNum); switch (temp)

{

case i8090: //i8090 3-axis encoder card Print("Slot %d = i8090\r\n",SlotNum); return i8090;

case i8091: //i8091 2-axis stepping card Print("Slot %d = i8091\r\n",SlotNum); return i8091;

default:

Print("Slot %d = No Card\r\n",SlotNum); return NOCARD;

};

}

//---------------------------------------------------------------------------------

void main ()

{

unsigned char j;

http://www.icpdas.com

1-23

ICPDAS

Page 26
Image 26
ICP DAS USA 3-axis encoder card, 2-axis stepping/servo, I-8091 2-axis stepping/servo user manual break default