![ICP DAS USA I-8092F User Manual Download Page 45](http://html2.mh-extra.com/html/icp-das-usa/i-8092f/i-8092f_user-manual_3531635045.webp)
ICPDAS
I-8092F Software User Manual
45
6.1.4 Setting the Acceleration
void
i8092MF_SET_A(
BYTE
cardNo
,
WORD
axis
,
DWORD
data
)
Description:
This function sets the acceleration value for the assigned axes.
Parameters:
cardNo
: Module
number
axis
:
Axis or axes (Please refer to Table 2-1)
data
:
The acceleration value. The units are PPS/Sec. This value is
related to the maximum speed value defined by
i8092MF_SET_MAX_V() function. The maximum available
acceleration value is MAX_V *
125
. The minimum acceleration
value is MAX_V
÷
64
, 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.
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 acceleration value that is larger than
//20,000*125 PPS/sec. And 20,000 *125 = 2,500,000.
i8092MF_SET_A(1, AXIS_X, 100000);
//set the acceleration value of the X axis on module 1 to 100K PPS/Sec.
6.1.5 Setting the Deceleration
void
i8092MF_SET_D(
BYTE
cardNo
,
WORD
axis
,
DWORD
data
)
Description:
This function sets the deceleration value for the assigned axes.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)