General Motion Control; Independent Axis Motion Control; Setting The Acceleration/Deceleration Mode - ICP DAS USA I-8092F User Manual

2-axis motion control module
Hide thumbs Also See for I-8092F:
Table of Contents

Advertisement

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
Description:
The function sets the speed mode.
Parameters:
cardNo:
axis:
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;
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);
ICPDAS
Module number
Axis (Please refer to Table 2-1)
//select module 1.
WORD
axis ,
cardNo,
42
I-8092F Software User Manual
WORD
nMode)

Advertisement

Table of Contents
loading

Table of Contents