ICP DAS USA 3-axis encoder card, 2-axis stepping/servo user manual Interpolation commands

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 59
Image 59
3.1.4 Interpolation commands

I-8091 User Manual

Version 1.0 06/2001

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.

Y

 

Y

 

 

 

 

 

 

 

 

 

 

10

 

(Xpulse,Ypulse)

 

 

 

 

9

 

 

 

 

 

 

 

 

3

4

 

 

8

 

X

2

 

5

6

7

 

 

 

 

 

 

1

 

 

 

 

X

cardNo : board number 0~19. Restriction:

− 2047≤ # Xpulse≤ 2047

2047≤ #Ypulse≤ 2047

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.

Y

(Xpulse,Ypulse)

(0,0)X

cardNo : board number 0~19.

http://www.icpdas.com

2-30

ICPDAS

Page 59
Image 59
ICP DAS USA 3-axis encoder card, 2-axis stepping/servo user manual Interpolation commands, 2047≤ # Xpulse≤ − 2047≤ #Ypulse≤