On 29 July 2014 12:57, Phill Carter <
phillc...@gmail.com> wrote:
> Using a sum2 component at least gets the spindle speed going in the right
> direction.
> But:
> On startup when I press the toggle estop button the spindle runs at full
> speed.
Can you post the spindle-related bits of HAL here?
I suspect that spindle-off turns off the PWM, which is duty-cycle
zero, which is full speed.
The solution may be to link the pwmgen enable differently, possibly to
machine.is-on
What is the PWM driving? Is there any scope for wiring so that it
doesn't need to be inverted?