User's Manual
I-8091 User Manual Version 1.0 06/2001
http://www.icpdas.com 2-30 ICPDAS
3.1.4 Interpolation commands
(21) i8091_INTP_PULSE(unsigned char cardNo, int Xpulse, int Ypulse)
This command will move a short distance (interpolation short line) in X-Y
plane. This command provided a method for user to generate an arbitrary
curve in X-Y plane.
X
Y
(Xpulse,Ypulse)
X
Y
1
2
34
5
67
8
9
10
cardNo : board number 0~19.
Restriction:
−≤ ≤
2047 2047# Xpulse
−≤ ≤
2047 2047#Ypulse
Example:
i8091_INTP_PULSE(1,20,20);
i8091_INTP_PULSE(1,20,13);
i8091_INTP_PULSE(1,20,7);
i8091_INTP_PULSE(1,20,0);
i8091_INTP_PULSE(1,15,-5);
(22) i8091_INTP_LINE(unsigned char cardNo, long Xpulse, long Ypulse)
This command will move a long distance (interpolation line) in X-Y plane.
The CPU on I-8091 card will generate a trapezoidal speed profile of X-axis
and Y-axis, and execute interpolation by way of DDA chip.
X
Y
(0,0)
(Xpulse,Ypulse)
cardNo : board number 0~19.