Download Position Board User`s Manual
Transcript
4. API FUNCTION DETAILS 4.9.2 sscJogStop JOG operation will be stopped. The function will wait internally from when the start operation signal (ST) is turned off until the during operation signal (OP) is OFF (maximum 20s). If the during operation signal (OP) is already OFF, the function will immediately terminate. int sscJogStop ( int board_id, int channel, int axnum ); Argument board_id [in] Board ID number (0 to 3) channel [in] Channel number (1) axnum [in] Axis number (1 to 32) 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_MISMATCH_DRIVE_MODE The operation mode is other than the "JOG operation". SSC_FUNC_ERR_TIMEOUT_01 During the confirmation of response is being waited after requesting the command to the position board, the timeout time (20 seconds) has elapsed. 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. Point • In order to prevent this function from waiting internally, the sscJogStopNoWait function should be used. Supported version API Ver. Board Ver. Header file Ver.1.00 A0 mc2xxstd.h Reference sscJogStart, sscJogStopNoWait, sscDriveStop, sscDriveStopNoWait, sscDriveRapidStop, sscDriveRapidStopNoWait 4 - 46