
ICPDAS
I-8092F Software User Manual
146
i8092_MOTION_TYPE
Format:
void
i8092_MOTION_TYPE(
unsigned char
CardNo,
WORD
type)
Function:
Set 2 -axes constant vector speed mode
Parameter:
cardNo
is the board number.
type
is the parameter setting the constant vector speed modes.
type=0, constant vector speed mode is invalid;
type=1, 2-axes constant vector speed mode.
Example:
//Set the 2-axes constant vector mode.
i8092_MOTION_TYPE(1,
1);
i8092_SET_FINISH
Format:
void
i8092_SET_FINISH(
BYTE
cardNo
,
WORD
axis
,
long
data
)
Function:
Set the value of the finish point for motion (in Pulses).
Parameter:
cardNo
Module number.
axis
axis or axes. Please refer to Table 2-1.
data
Pulse number. Range : -2,147,483,648 ~ +2,147,483,648
Example:
//set the value of finish point.
i8092_SET_FINISH(1,
1,
1000);