
ICPDAS
I-8092F Software User Manual
53
//set the vector deceleration to 500 PPS/Sec.
i8092MF_SET_VAO(cardNo, 20);
//set the value of remaining offset pulses to 20.
i8092MF_LINE_2D(cardNo, 10000, 5000);
//execute the 2-axis linear interpolation motion.
//===============================================
long
fp1=4000;
long
fp2=10000;
int
sv=200;
int
v=2000;
i8092MF_SET_MAX_V(cardNo, AXIS_XY, 8000);
i8092MF_VECTOR_SPEED(cardNo, 4);
//2-axis linear motion using an asymmetric S-curve velocity profile.
i8092MF_SET_VSV(cardNo, sv);
//set the starting velocity to sv PPS.
i8092MF_SET_VV(cardNo, v);
//set the vector speed to v PPS.
i8092MF_SET_VK(cardNo, 50);
//set the acceleration rate to 500 PPS/Sec^2.
i8092MF_SET_VL(cardNo, 30);
//set the deceleration rate to 300 PPS/Sec^2.
i8092MF_SET_VAO(cardNo, 20);
//set the value of remaining offset pulses to 20.
i8092MF_LINE_2D(cardNo, fp1, fp2);
//execute the 2-axis linear motion.
//===============================================
long
fp1=11000;
long
fp2=9000;
long
c1=10000;
long
c2=0;
int
sv=100;
int
v=3000;
int
a=5000;
int
d=5000;
i8092MF_SET_MAX_V(cardNo, AXIS_XY, 8000);
i8092MF_VECTOR_SPEED(cardNo, 5);
//2-axis circular motion using a symmetric T-curve velocity profile
i8092MF_SET_VSV(cardNo, sv);
//set the starting vector speed to sv PPS.
i8092MF_SET_VV(cardNo, v);
//set vector speed to v PPS.
i8092MF_SET_VA(cardNo, a);
//set the vector acceleration to a PPS/Sec.
i8092MF_SET_VAO(cardNo, 0);
//set the value of remaining offset pulses to 0 Pulse.