FAS_MoveSingleAxisIncPosEx
To move the motor to the Incremental coordinate
int FAS_MoveSingleAxisIncPos(
BYTE nPortNo,
BYTE iSlaveNo,
long lIncPos,
DWORD lVelocity,
MOTION_OPTION_EX* lpExOption
);
nPortNo
Port number of relevant drive.
iSlaveNo
Slave number of relevant drive.
lIncPos
Incremental coordinate of position to move
lVelocity
Velocity when the motor moves
lpExOption
Custom option.
FMM_OK : Command has been normally performed.
FMM_NOT_OPEN : The drive has not been connected yet.
FMM_INVALID_PORT_NUM : There is no nPort in the connected ports.
FMM_INVALID_SLAVE_NUM : There is no drive of iSlaveNo in the relevant port.