
ICPDAS
I-8092F Software User Manual
44
6.1.2 Setting the Start Speed
void
i8092MF_SET_SV(
BYTE
cardNo
,
WORD
axis
,
DWORD
data
)
Description:
This function sets the start speed for the assigned axes.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
data
:
The range is the same as for speed, and must not be zero or
larger than the maximum speed. The maximum value is
4,000,000 PPS. For interpolation, set the speed value for axis1
is enough.
Return:
None
Example:
i8092MF_SET_SV(1, AXIS_X, 1000);
//set the starting speed for the X axis on module 1 to 1000 PPS.
6.1.3 Setting the Desired Speed
void
i8092MF_SET_V(
BYTE
cardNo
,
WORD
axis
,
DWORD
data
)
Description:
This function sets the desired speed for the assigned axes.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
data
:
The range is the same as for speed, and must not be zero or
larger than the maximum speed. The maximum value is
4,000,000 PPS. For interpolation, set the speed value for axis1
is enough.
Return:
None
Example:
i8092MF_SET_V(1, AXIS_X, 120000);
//set the speed for the X axis on module 1 to 120000 PPS.