![background image](http://html2.mh-extra.com/html/icp-das-usa/i-8092f/i-8092f_user-manual_3531635140.webp)
ICPDAS
I-8092F Software User Manual
140
i8092_SET_MANDEC
Format:
void
i8092_SET_MANDEC(
unsigned char
cardNo,
WORD
axis,
WORD
dp)
Function:
Set the manual deceleration point in fixed pulse acceleration/deceleration driving or
interpolation motion when the manual deceleration mode is engaged. In manual
deceleration mode, the user can set the bit D0 of WR3 register to 1.
The decelerating point calculates as :
Manual Decelerating Point = Output Pulse Numbers -
Pulse Number for Deceleration
Parameters:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
Example:
//
Set the manual deceleration point 8000 for the XY axes motion.
i8092_SET_MANDEC(1, 0x3, 8000);
i8092_DRV_FDRIVE
Format:
void
i8092_DRV_FDRIVE(
unsigned char
cardNo,
WORD
axis,
WORD
nDir)
Function:
Set fixed-pulse drive.
Parameters:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
nDir
is the direction of the motion. nDir = 0, positive; nDir = 1, negative
Example:
//
Set the negative fixed pulse drive.
i8092_DRV_FDRIVE(1, 0x3, 1);
Note:
The suitable time for setting manual deceleration point
1. Asymmetry S-curve acceleration/deceleration
2. Circular interpolation