![background image](http://html2.mh-extra.com/html/icp-das-usa/i-8092f/i-8092f_user-manual_3531635042.webp)
ICPDAS
I-8092F Software User Manual
42
6 General Motion Control
6.1 Independent Axis Motion Control
The motion of each axis can be started independently.
Two axes are moving at the same time.
Each axis is moving independently.
Each axis can be commanded to change motion, such as changing the number
of pulses or the speed.
Each axis can be commanded to stop slowly or suddenly to meet the individual
requirements.
6.1.1 Setting the Acceleration/Deceleration Mode
void
i8092MF_NORMAL_SPEED(
BYTE
cardNo
,
WORD
axis
,
WORD
nMode
)
Description:
The function sets the speed mode.
Parameters:
cardNo
:
Module number
axis
:
Axis (Please refer to Table 2-1)
nMode
:
0 Symmetric T-curve (Please set SV, V, A, and AO)
1 Symmetric S-curve (Please set SV, V, K, and AO)
2 Asymmetric T-curve (Please set SV, V, A, D, and AO)
Return:
None
Example:
BYTE cardNo=1;
//select module 1.
i8092MF_SET_MAX_V(cardNo, AXIS_XY, 20000);
//set the max. speed of XY axes to 20K PPS.
//========================================================
i8092MF_NORMAL_SPEED(cardNo, AXIS_XY, 0);
//use a symmetric T-curve for all axes on module 1.
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);