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...
- 68 -
68
Library for PC Program
FAS_GetActualPos
To read the actual position value of the m otor
Syntax
int FAS_GetActualPos(
BYTE nPortNo,
BYTE iSlaveNo,
long* lActPos
);
Parameters
nPortNo
Port number of relevant drive.
iSlaveNo
Slave number of relevant drive.
lActPos
Parameter pointer where the actual position 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.
When the user decides the motor position and checks its actual pos ition, this function
is generally used.
Example
Refer to ā€˜FAS_GetCOmmandPosition’ library.
See Also
FAS_GetCommandPos

Table of Contents

Related product manuals