EasyManua.ls Logo

Fastech Ezi-Step Plus-R - Fas_Getioaxisstatus

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...
- 73 -
73
Library for PC Program
FAS_GetIOAxisStatus
To read I/O Input and Output values of the relevant drive, and the motor Axis Status value
Syntax
int FAS_GetIOAxisStatus(
BYTE nPortNo,
BYTE iSlaveNo,
DWORD* dwInStatus,
DWORD* dwOutStatus,
DWORD* dwAxisStatus
);
Parameters
nPortNo
Port number of relevant drive.
iSlaveNo
Slave number of relevant drive.
dwInStatus
Parameter pointer where the I/O input value will be saved.
dwOutStatus
Parameter pointer where the I/O output value will be saved .
dwAxisStatus
Parameter pointer where the axis status value of the relevant motor 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
Example
Refer to ā€˜FAS_MoveSingleAxisAbsPos ’ library.
See Also

Table of Contents

Related product manuals