ICP DAS USA 3-axis encoder card, 2-axis stepping/servo switch ShowAxis, while !Kbhit, 1-26

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 29
Image 29

I-8090 User Manual

Version 1.0 06/2001

switch (ShowAxis)

{

case 0: ShowLedValue(x_value,X_axis); break;

case 1: ShowLedValue(y_value,Y_axis); break;

case 2: ShowLedValue(z_value,Z_axis); break;

};

if (x_index) LedRunOff(); else LedRunOn();

if (y_index) LedCommOff(); else LedCommOn(); if (z_index) LedBattOff(); else LedBattOn();

} while (!Kbhit());

}

http://www.icpdas.com

1-26

ICPDAS

Page 29
Image 29
ICP DAS USA 3-axis encoder card, 2-axis stepping/servo switch ShowAxis, case 0 ShowLedValuexvalue,Xaxis break, 1-26