
ICPDAS
I-8092F Software User Manual
141
i8092_DRV_CDRIVE
Format:
void
i8092_DRV_CDRIVE(
unsigned char
cardNo,
WORD
axis,
WORD
nDir)
Function:
Set continuous 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 positive continuous drive.
i8092_DRV_CDRIVE(1, 0x3, 0 );
i8092_SET_SYMMETRY
Format:
void
i8092_SET_SYMMETRY(
unsigned char
cardNo,
WORD
axis)
Function:
Set symmetry acceleration/deceleration.
Parameters:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
Example:
//
Set the symmetry acc./dec. motion for 2-axes.
i8092_SET_SYMMETRY(1,
0xf);
i8092_SET_ASYMMETRY
Format:
void
i8092_SET_ASYMMETRY(
unsigned char
cardNo,
WORD
axis)
Function:
Set asymmetry acceleration/deceleration
Parameters:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
Example:
//Set the asymmetry acc./dec. motion for 2-axes.
i8092_SET_ASYMMETRY(1,
0xf);