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...
- 40 -
40
Library for PC Program
FAS_GetMotorInfo
To get the motor information string of the relevant drive
Syntax
int FAS_GetMotorInfo(
BYTE nPortNo,
BYTE iSlaveNo,
BYTE* pType,
LPSTR lpBuff,
int nBuffSize
);
Parameters
nPortNo
Port number of relevant drive
iSlaveNo
Slave number of relevant drive
pType
Type number of relevant motor
lpBuff
Buffer pointer to get version information string
nBuffSize
Memory allocation size of lpBuff
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
Example
Refer to ‘FAS_Connect library.
See Also

Table of Contents

Related product manuals