Description:
This command releases the holding status, and start the driving of the
assigned axes immediately.
Parameters:
cardNo:
axis:
Return:
None
Example:
BYTE cardNo=1;
i8092MF_DRV_HOLD(cardNo, AXIS_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
ICPDAS
Module number
Axis or Axes (Please refer to Table 2-1 for the axis definition.)
//select card 1.
cardNo,
//hold the driving command to XY
WORD
axis)
79
I-8092F Software User Manual