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-34 ICPDAS
Example:
i8091_INTP_ ARC02(1,2000,-2000,2000,CW,100,0);
do { } while( i8091_INTP_STOP()!=READY) ; //call state machine
(26) unsigned char i8091_INTP_STOP()
The above 3 state-machine-type interpolation commands
i8091_INTP_LINE02()
,
i8091_INTP_CIRCLE02()
and
i8091_INTP_ARC02()
must use
i8091_INTP_STOP()
simultaneously. The
state-machine-type interpolation commands are only set parameters into
the driver. The computing entity is in
i8091_INTP_STOP().
This command will compute the interpolation profile. It will return
READY(0) for interpolation command completed. And retrun BUSY(1) for
not yet complete.