ICP DAS USA I-8090 3-axis encoder card Computer Hardware User Manual


 
I-8091 User Manual Version 1.0 06/2001
http://www.icpdas.com 2-27 ICPDAS
Low speed
Example:
i8091_LSP_MOVE(1, CW, X_axis);
getch( );
i8091_STOP_X(1);
i8091_LSP_MOVE(1, CCW, Y_axis);
getch( );
i8091_STOP_Y(1);
(17) i8091_HSP_MOVE(unsigned char cardNo,
unsigned char DIR, unsigned char AXIS)
High speed move toward direction DIR. It can be stop by i8091_STOP_X
or i8091_STOP_Y or i8091_STOP_ALL command.
cardNo : board number 0~19.
high speed
Example:
i8091_HSP_MOVE(1, CW, X_axis);
getch( );
i8091_STOP_X(1);
i8091_HSP_MOVE(1, CCW, Y_axis);
getch( );
i8091_STOP_Y(1);
(18) i8091_CSP_MOVE(unsigned char cardNo, unsigned char dir,
unsigned char axis, unsigned int move_speed)
This command will accelerate/decelerate the selected axis’s motor to the
“move_speed”. This command can be continuously send to I-8091 to
dynamicly change speed. The rotating motor can be stop by the