Re: [Emc-users] Spindle Control on the AXIS Interface

2012-11-11 Thread N. Christopher Perry
Ahh..  I see that I've managed to shoot myself in the foot:  I'd set it to 100 
so I could more easily evaluate duty cycle increments.  That will not remain at 
that low a value in service.

Thank you for the quick response.

On 2012-Nov-11, at 17:25, andy pugh wrote:

> On 11 November 2012 22:04, N. Christopher Perry
>  wrote:
> 
>> After removing that line AXIS launched without incident, but when I enable 
>> the spindle (F9) and try adjusting the speed, ether by clicking the '+' / 
>> '-' buttons or pressing F11/F12 I only get ~1% & 100% PWM duty.
> 
> The Axis UI increments the spindle speed in fixed increments of 100rpm
> (Code here from command.c)
> case EMCMOT_SPINDLE_INCREASE:
>   rtapi_print_msg(RTAPI_MSG_DBG, "SPINDLE_INCREASE");
>   if (emcmotStatus->spindle.speed > 0) {
>   emcmotStatus->spindle.speed += 100; //FIXME - make the step a 
> HAL parameter
>   } else if (emcmotStatus->spindle.speed < 0) {
>   emcmotStatus->spindle.speed -= 100;
>   }
>   break;
> 
> You have an unusually low spindle speed range (0 to 100 rpm) so the
> very first "increment" press takes you straight to your max spindle
> speed of 100rpm.
> Note that even here it is acknowledged in the code that this isn't
> quite right...
> 
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle Control on the AXIS Interface

2012-11-11 Thread andy pugh
On 11 November 2012 22:04, N. Christopher Perry
 wrote:

> After removing that line AXIS launched without incident, but when I enable 
> the spindle (F9) and try adjusting the speed, ether by clicking the '+' / '-' 
> buttons or pressing F11/F12 I only get ~1% & 100% PWM duty.

The Axis UI increments the spindle speed in fixed increments of 100rpm
(Code here from command.c)
case EMCMOT_SPINDLE_INCREASE:
rtapi_print_msg(RTAPI_MSG_DBG, "SPINDLE_INCREASE");
if (emcmotStatus->spindle.speed > 0) {
emcmotStatus->spindle.speed += 100; //FIXME - make the step a 
HAL parameter
} else if (emcmotStatus->spindle.speed < 0) {
emcmotStatus->spindle.speed -= 100;
}
break;

You have an unusually low spindle speed range (0 to 100 rpm) so the
very first "increment" press takes you straight to your max spindle
speed of 100rpm.
Note that even here it is acknowledged in the code that this isn't
quite right...

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users