EasyManuals Logo
Home>Fastech>Controller>Ezi-Step Plus-R

Fastech Ezi-Step Plus-R User Manual

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
Page #75 background imageLoading...
Page #75 background image
- 75 -
75
Library for PC Program
FAS_GetAllStatus
To read I/O Input and Output values of the relevant drive, the motor Axis Status, the motor
motion status at one time.
Syntax
int FAS_GetAllStatus(
BYTE nPortNo,
BYTE iSlaveNo,
DWORD* dwInStatus,
DWORD* dwOutStatus,
DWORD* dwAxisStatus,
long* lCmdPos,
long* lActPos,
long* lPosErr,
long* lActVel,
WORD* wPosItemNo
);
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
lCmdPos
Parameter pointer where the command position value will be saved
lActPos
Parameter pointer where the actual position value will be saved
lPosErr
Parameter pointer where the position error value will be saved
lActVel
Parameter pointer where the actual velocity value will be saved
wPosItemNo
Parameter pointer where current running item number in the Position Table 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 p orts.
FMM_INVALID_SLAVE_NUM : There is no drive of iSlaveNo in the relevant port .
Remarks
Example
Refer to ‘FAS_MoveSingleAxisAbsPos ’ library.
See Also
FAS_GetAxisStatus
FAS_GetMotionStatus

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Fastech Ezi-Step Plus-R and is the answer not in the manual?

Fastech Ezi-Step Plus-R Specifications

General IconGeneral
BrandFastech
ModelEzi-Step Plus-R
CategoryController
LanguageEnglish

Related product manuals