Download Q173SCCF C Controller Interface Module User`s Manual (API Library)
Transcript
4. API FUNCTION DETAILS 4.9.6 sscHomeReturnStart Home position return will be started. After performing the necessary settings for operation and changing to home position return mode, the fast start operation signal (FST) will be turned on. int sscHomeReturnStart ( int board_id, int channel, int axnum ); Argument board_id [in] Board ID number (0) channel [in] Channel number (1) axnum [in] Axis number (1 to 20) Return value SSC_OK Function succeeded. SSC_NG Function failed. (To confirm the detailed error code, use the sscGetLastError function.) SSC_UNOPEN Before calling the sscOpen function. Detailed error code Value Cause/countermeasure SSC_FUNC_ERR_ARGUMENT_0 = 1 to 9: Argument location The argument is outside the set range. SSC_FUNC_ERR_NOW_DRIVING_READY During operation startup preparation (until the Q173SCCF receives the signal after the start operation is requested). SSC_FUNC_ERR_NOW_DRIVING During operation. SSC_FUNC_ERR_NOW_ALARM_SYSTEM A system error (E h) occurred. Get the system status code with the sscGetSystemStatusCode function and remove the cause. SSC_FUNC_ERR_NOW_ALARM_SERVO A servo alarm is occurring. Get the alarm No. with the sscGetAlarm function and remove the cause. SSC_FUNC_ERR_NOW_ALARM_DRIVE An operation alarm is occurring. Get the alarm No. with the sscGetAlarm function and remove the cause. SSC_FUNC_ERR_TIMEOUT_01 During the confirmation of response after executing the command to the Q173SCCF, the timeout time (1 second) has elapsed. Point • The response is not confirmed after the fast start operation signal (FST) is turned on. Supported version API Ver. Board Ver. Header file Ver.1.50 A3 q17nsccf-std.h Reference sscDriveStop, sscDriveStopNoWait, sscDriveRapidStop, sscDriveRapidStopNoWait 4 - 50