- 74 -74Library for PC ProgramFAS_GetMotionStatusTo read the motion status of current motor at one timeSyntaxint FAS_GetMotionStatus(BYTE nPortNo,BYTE iSlaveNo,long* lCmdPos,long* lActPos,long* lPosErr,long* lActVel,WORD* wPosItemNo);ParametersnPortNoPort number of relevant drive.iSlaveNoSlave number of relevant drive.lCmdPosParameter pointer where the command position value will be savedlActPosParameter pointer where the actual position value will be saved .lPosErrParameter pointer wher e the position error value will be savedlActVelParameter pointer where the actual velocity value will be savedwPosItemNoParameter pointer where current running item number in the Position Table will besavedReturn ValueFMM_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 .RemarksExampleRefer to ‘FAS_MoveSingleAxisAbsPos ’ library.See Also