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