I'd say I disagree with the whole idea of SPINDLE_INCREASE/DECREASE
We should just take it out and let the GUIs add/subtract a value and 
send that as the new speed preset. That way users can have it as an 
option, or whatever.

Regards,
Alex

On 4/18/2010 9:50 AM, Jeff Epler wrote:
> 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&#174; 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
>
>    
------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to