
ICPDAS
I-8092F Software User Manual
80
Description:
This function can be used to assign commands to be performed while waiting
for all motion to be completed (stopped).
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
Return:
YES Motion
is
complete
NO
Motion
is
not
complete
EXAMPLE:
BYTE cardNo=1;
//select module 1
i8092MF_SET_MAX_V(cardNo, AXIS_XY, 20000);
//set the maximum speed of all axes on module 1 to 20K PPS.
i8092MF_NORMAL_SPEED(cardNo, AXIS_XY, 0);
//set the speed profile of all axes on module 1 to be symmetric T-curve
i8092MF_SET_V(cardNo, AXIS_XY, 2000);
//set the speed of all axes on module 1 to 2000 PPS.
i8092MF_SET_A(cardNo, AXIS_XY,1000);
//set the acceleration value of all axes on module 1 to 1000 PPS/S.
i8092MF_SET_SV(cardNo, AXIS_XY, 2000);
//set the start velocity of all axes on module 1 to 2000 PPS.
i8092MF_SET_AO(cardNo, AXIS_XY, 9);
//set the value of remaining offset pulses to 9 pulses.
i8092MF_FIXED_MOVE(cardNo, AXIS_XY, 10000);
// move all axes on module 1 for 10000 pulses.
if
(i8092MF_STOP_WAIT(cardNo, AXIS_X) == NO)
{
//perform some actions here if the X axis has not finished its
//motion.
}