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...
- 65 -
65
Library for PC Program
FAS_SetActualPos
To set the actual position value of the motor
Syntax
int FAS_SetActualPos(
BYTE nPortNo,
BYTE iSlaveNo,
long lActPos
);
Parameters
nPortNo
Port number of relevant drive.
iSlaveNo
Slave number of relevant drive.
lActPos
Actual position value to be set.
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.
The user sets the encoder feedback counter value to the value what customer wants.
Example
Refer to ā€˜FAS_GetActualPos’ library.
See Also
FAS_SetCommandPos

Table of Contents

Related product manuals