ADLINK PCI-8164 User Manual

Page 222

Advertising
background image

210

Function Library

@ Argument

CardNo: Designated card number to perform linear interpolation

OffsetCx: X-axis offset to center

OffsetCy: Y-axis offset to center

OffsetEx: X-axis offset to end of arc

OffsetEy: Y-axis offset to end of arc

Cx: Specified X-axis absolute position of center

Cy: Specified Y-axis absolute position of center

Ex: Specified X-axis absolute position end of arc

Ey: Specified Y-axis absolute position end of arc

DIR: Specified direction of arc, CW:0 , CCW:1

StrVel: Starting velocity of a velocity profile in unit of pulse per

second

MaxVel: Starting velocity of a velocity profile in unit of pulse per

second

Tacc: Specified acceleration time in unit of second

Tdec: Specified deceleration time in unit of second

SVacc: Specified velocity interval in which S-curve acceleration is

performed.

X

Note: SVacc = 0, for pure S-Curve

SVdec: Specified velocity interval in which S-curve deceleration is

performed.

X

Note: SVdec = 0, for pure S-Curve

AxisArray: Array of axis number to perform interpolation.

X

Example: Int AxisArray[2] = {0,2}; // axis 0 & 2
Int AxisArray[2] = {1,3}; // axis 1 & 3

X

Note: AxisArray[0] must be smaller than AxisArray[1]

@ Return Code

ERR_NoError
ERR_SpeedError, ERR_AxisArrayErrot

Advertising