Continuous Pulse Output - ICP DAS USA I-8092F User Manual

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

Advertisement

6.1.9 Continuous Pulse Output

BYTE i8092MF_CONTINUE_MOVE(BYTE
Description:
This function issues a continuous motion command for several independent
axes.
Parameters:
cardNo:
axis:
data:
Return:
YES
NO
Example:
BYTE cardNo=1;
i8092MF_SET_MAX_V(cardNo, AXIS_XY, 20000);
//set the maximum speed of all axes on module 1 to 20K PPS.
i8092MF_NORMAL_SPEED(cardNo, AXIS_XY, 0);
//set the speed profile for all axes as a symmetric T-curve.
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);
//set the acceleration value of all axes to 1000 PPS/S.
i8092MF_SET_SV(cardNo, AXIS_XY, 2000);
//set the start velocity of all axes to 2000 PPS
i8092MF_CONTINUE_MOVE(cardNo, AXIS_XY, 1000);
//move all axes on module 1 at a speed of 1000 PPS.
ICPDAS
Module number
Axis or axes (Please refer to Table 2-1)
The axis can be either X and Y
The specified speed (positive value for CW motion;
negative value for CCW motion)
An error has occurred.
Use the i8092MF_GET_ERROR_CODE() function to identify
the errors.
No error.
//select module 1
WORD
cardNo,
50
I-8092F Software User Manual
long
axis,
data)

Advertisement

Table of Contents
loading

Table of Contents