The "100" value is hardcoded in emc/motion/command.c. FWIW I disagree with the comments and think that the value should probably come all the way from NML, not from HAL. But either way, you can get what you want by changing the hard-coded 100 to a different value.
1500 case EMCMOT_SPINDLE_INCREASE: 1501 rtapi_print_msg(RTAPI_MSG_DBG, "SPINDLE_INCREASE"); 1502 if (emcmotStatus->spindle.speed > 0) { 1503 emcmotStatus->spindle.speed += 100; //FIXME - make the step a HAL parameter 1504 } else if (emcmotStatus->spindle.speed < 0) { 1505 emcmotStatus->spindle.speed -= 100; 1506 } 1507 break; 1508 1509 case EMCMOT_SPINDLE_DECREASE: 1510 rtapi_print_msg(RTAPI_MSG_DBG, "SPINDLE_DECREASE"); 1511 if (emcmotStatus->spindle.speed > 100) { 1512 emcmotStatus->spindle.speed -= 100; //FIXME - make the step a HAL parameter 1513 } else if (emcmotStatus->spindle.speed < -100) { 1514 emcmotStatus->spindle.speed += 100; 1515 } 1516 break; Jeff ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users