
ICPDAS
I-8092F Software User Manual
79
Description:
This command releases the holding status, and start the driving of the
assigned axes immediately.
Parameters:
cardNo
:
Module number
axis
:
Axis or Axes (Please refer to Table 2-1 for the axis definition.)
Return:
None
Example:
BYTE cardNo=1;
//select card 1.
i8092MF_DRV_HOLD(cardNo, AXIS_XY);
//hold the driving command to XY
i8092MF_SET_MAX_V(cardNo, AXIS_XY, 10000);
//set the maximum speed of X-axis and Y-axis to be 10K PPS.
i8092MF_NORMAL_SPEED(cardNo, AXIS_XY, 0);
//set the driving mode to be symmetric T-curve.
i8092MF_SET_V(cardNo, AXIS_X, 2000);
//set the speed of X-axis to 2,000 PPS.
i8092MF_SET_A(cardNo, AXIS_X, 1000);
//set the acceleration of X-axis to 1,000 PPS/S.
i8092MF_SET_SV(cardNo, AXIS_X, 2000);
//set the starting speed to 2,000 PPS.
i8092MF_SET_V(cardNo, AXIS_Y, 2000);
//set the speed of Y-axis to 2,000 PPS.
i8092MF_SET_A(cardNo, AXIS_Y, 1000);
//set the acceleration of Y-axis to 1,000 PPS/S.
i8092MF_SET_SV(cardNo, AXIS_Y, 2000);
//set the starting speed to 2,000 PPS.
i8092MF_FIXED_MOVE(cardNo, AXIS_X, 5000);
//command X-axis to move 5,000 Pulse. This command is be held.
i8092MF_FIXED_MOVE(cardNo, AXIS_Y, 15000);
//command Y-axis to move 15,000 Pulse. This command is be held.
i8092MF_DRV_START(cardNo, AXIS_XY);
//release the holding status. X and Y axes will start to move simultaneously.
6.5.3 Waiting until the Motion Is Completed
BYTE
i8092MF_STOP_WAIT(
BYTE
cardNo
,
WORD
axis
)