Download User Manual
Transcript
FAS_PosTableRead OneItem To read specific item in the specific position table Syntax int FAS_PosTableReadOneItem( BYTE nPortNo, BYTE iSlaveNo, WORD wItemNo, WORD wOffset, long* lPosItemVal ); Parameters nPortNo Port number of relevant drive. iSlaveNo Slave number of relevant drive. wItemNo Item number to be read wOffset offset value which will be read from PT items. (Refer to ‘1-2-6. Position Table Item’) lPosItemVal Parameter pointer where PT item data value wil l 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. FMM_INVALID_PARAMETER_NUM : wItemNo is out of range. Remarks Example See Also FAS_PosTableWrite OneItem - 105 -