Reading The Current Velocity; Reading The Current Acceleration - ICP DAS USA I-8092F User Manual

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

Advertisement

3.3 Reading the Current Velocity

DWORD i8092MF_GET_CV(BYTE
Description:
This function reads the current velocity value.
Parameters:
cardNo:
axis:
Return:
Current speed (in PPS)
Example:
DWORD dwdata;
dwdata = i8092MF_GET_CV(1, AXIS_X);
//reads the current velocity of the X axis on module 1.

3.4 Reading the Current Acceleration

DWORD i8092MF_GET_CA(BYTE
Description:
This function reads the current acceleration value.
Parameters:
cardNo:
axis:
Return:
Current acceleration (in PPS/Sec)
Example:
DWORD dwdata;
dwdata = i8092MF_GET_CA(1, AXIS_X);
//reads the current acceleration value of the X axis on module 1.
ICPDAS
cardNo,
Module number
Axis (Please refer to Table 2-1)
The axis can be either X and Y
cardNo,
Module number
Axis (Please refer to Table 2-1)
The axis can be either X and Y
WORD
axis)
WORD
axis)
31
I-8092F Software User Manual

Advertisement

Table of Contents
loading

Table of Contents