ICPDAS
I-8092F Software User Manual
50
6.1.9 Continuous Pulse Output
BYTE
i8092MF_CONTINUE_MOVE(
BYTE
cardNo
,
WORD
axis
,
long
data
)
Description:
This function issues a continuous motion command for several independent
axes.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
The axis can be either X and Y
data
:
The specified speed (positive value for CW motion;
negative value for CCW motion)
Return:
YES
An error has occurred.
Use the i8092MF_GET_ERROR_CODE() function to identify
the errors.
NO
No
error.
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 for all axes as a 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 to 1000 PPS/S.
i8092MF_SET_SV(cardNo, AXIS_XY, 2000);
//set the start velocity of all axes to 2000 PPS
i8092MF_CONTINUE_MOVE(cardNo, AXIS_XY, 1000);
//move all axes on module 1 at a speed of 1000
PPS.