
ICPDAS
I-8092F Software User Manual
58
6.2.6 Setting the Vector Acceleration Rate
void
i8092MF_SET_VK(
BYTE
cardNo
,
DWORD
data
)
Description:
Set the acceleration rate (jerk) value for interpolation motion.
Parameters:
cardNo
:
Module number
data
:
The acceleration rate (jerk) value. The units are
2
PPS/Sec
. This
value is related to the maximum speed value defined by
i8092MF_SET_MAX_V() function. The maximum available
acceleration rate value is MAX_V *
781.25
. The minimum
acceleration value is MAX_V *
0.0119211
, and all other
acceleration values are the integral multipliers of this value.
The practical value for application depends on the capability
of the motor drive and motor.
Note: since the DWORD can not
represent the maximum value; therefore, this value is given by
dividing the desired value by 10.
Return:
None
Example:
i8092MF_SET_MAX_V(1, AXIS_X, 20000);
//set the maximum speed value of the X axis as 20,000 PPS.
//therefore, do not set any jerk value that is larger than
//20,000*781.25 PPS/sec^2. And 20,000 *781.25 = 15,625,000.
i8092MF_SET_VK(1, 10000);
//set the acceleration rate of the interpolation motion on module
// 1 to 10,000 PPS/
Sec^2.