Fixed 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.8 Fixed Pulse Output

BYTE i8092MF_FIXED_MOVE(BYTE
Description:
Command a point-to-point motion 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 max. velocity of all axes on module 1 to be 20K PPS
i8092MF_NORMAL_SPEED(cardNo, AXIS_XY, 0);
//set the speed profile of all axes on module 1 to be symmetric T-curve
i8092MF_SET_V(cardNo, AXIS_XY, 2000);
//set the speed of all axes on module 1 to be 2000 PPS
i8092MF_SET_A(cardNo, AXIS_XY,1000);
//set the acceleration value of all axes on module 1 to be 1000 PPS/S
i8092MF_SET_SV(cardNo, AXIS_XY, 2000);
//set the start velocity of all axes on module 1 to be 2000 PPS
i8092MF_SET_AO(cardNo, AXIS_XY, 9);
//set the remaining offset pulses to be 9 PPS
i8092MF_FIXED_MOVE(cardNo, AXIS_XY, 10000);
// move 10000 Pulses for each axis on module 1
ICPDAS
cardNo,
Module number
Axis (Please refer to Table 2-1.)
The axis can be either X and Y
Pulses (-268,435,455 ~ + 268,435,455)
Some errors happen. Use i8092MF_GET_ERROR_CODE () to
identify the errors.
No error.
//select module 1
WORD
axis,
49
I-8092F Software User Manual
long
data)

Advertisement

Table of Contents
loading

Table of Contents