
ICPDAS
I-8092F Software User Manual
47
6.1.6 Setting the Acceleration Rate
void
i8092MF_SET_K(
BYTE
cardNo
,
WORD
axis
,
DWORD
data
)
Description:
The function sets the acceleration rate (i.e., Jerk) value for the assigned axes.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
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_K(1, AXIS_X, 1000);
//set the acceleration rate value of the X axis on module 1 to
//1,000*10 (= 10,000) PPS/Sec^2.