ICPDAS
I-8092F Software User Manual
51
6.2 Interpolation Commands
I-8092/F is a motion module of 2-axes, so first axis of interpolation is fixed X-axis
and second axis of interpolation is Y-axis.
6.2.1 Setting the Speed and Acc/Dec Mode for Interpolation
void
i8092MF_VECTOR_SPEED(
BYTE
cardNo
,
WORD
nMode
)
Description:
This function assigns the mode of vector speed of interpolation. Each
interpolation mode will refer to construct a working coordinate system. The X-axis
necessarily have to be the first axis. Different modes need different settings.
Please refer to the mode definitions.
Parameters:
cardNo
: Module number
nMode
: 0 2-axis linear or circular motion at a constant vector speed
(Set VV and VSV; and VV=VSV)
1 2-axis linear motion using a symmetric T-curve velocity profile
(set VSV, VV, VA, and VAO)
2 2-axis linear motion using a symmetric S-curve velocity profile
(set VSV, VV, VK, and VAO)
3 2-axis linear motion using an asymmetric T-curve velocity
profile (set VSV, VV, VA, VD, and VAO)
4 2-axis linear motion using an asymmetric S-curve velocity
profile (set VSV, VV, VK, VL, and VAO)
5 2-axis circular motion using a symmetric T-curve velocity
profile (set VSV, VV, VA, and VAO)
6 2-axis circular motion using an asymmetric T-curve velocity
profile (set VSV, VV, VA, VD, and VAO)
Return:
None
Example:
BYTE cardNo=1;
//select module 1.
i8092MF_SET_MAX_V(cardNo, AXIS_XY, 20000);
//set the maximum speed of all axes to 20K PPS.
//===============================================
i8092MF_VECTOR_SPEED(cardNo, 0);
//set module 1 to perform 2-axis linear or circular motion
//at a constant vector speed.
i8092MF_SET_VSV(cardNo, 1000);