EasyManua.ls Logo

Fastech Ezi-Step Plus-R

Fastech Ezi-Step Plus-R
114 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
- 69 -
69
Library for PC Program
FAS_GetPosError
To read the position error of the motor
Syntax
int FAS_GetPosError(
BYTE nPortNo,
BYTE iSlaveNo,
long* lPosErr
);
Parameters
nPortNo
Port number of relevant drive.
iSlaveNo
Slave number of relevant drive.
lPosErr
Parameter pointer where the position error value will be saved
Return Value
FMM_OK : Command has been successfully 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 .
Remarks
Can be used when external encoder is connected.
Example
Refer to ā€˜FAS_GetCOmmandPosition’ library.
See Also
FAS_GetCommandPos,
FAS_GetActualPos

Table of Contents

Related product manuals