The and2 component is fine but what I was assuming was that you were saying
the hardware pins were staying frozen in state when the display program
crashed.  All software enables already drop out so it sounds like the
hardware has hung....dont think and2 will help you with that. Which is why
I said try to use a different hardware pin that is maybe not a PRU pin. I
dont even think a watchdog/chargepump will help if the hardware has stuck.


M19 should work if you get your encoder hooked up right. Is it really only
a 100ppr encoder? A bit low in my opinion. The encoder needs an index as
well for that.



On Thu, Jan 2, 2020, 9:14 AM Aurelien <[email protected]> wrote:

>
> # Spindle control signals + and2 for stop spindle after stop GUI
> net spindle-enable <= motion.spindle-on
> net spindle-enable => and2.spindle-ena.in0
> net drv-enable => and2.spindle-ena.in1
> net spindle-and2enable <= and2.spindle-ena.out
> net spindle-and2enable => pid.spindle.enable
> net spindle-and2enable => fur.do-6
>
>
> adding pid.spindle.enable and now the PWM output is also revert to offset
> !!
>
> really happy
>
> --
> website: http://www.machinekit.io blog: http://blog.machinekit.io github:
> https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/machinekit/2f95e20c-8bf0-40bb-909f-dd5879162408%40googlegroups.com
> <https://groups.google.com/d/msgid/machinekit/2f95e20c-8bf0-40bb-909f-dd5879162408%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/CA%2BQ02MObp3tpNwvXqPo2iL4W90yvQg_vwh0KRq5P%3DvGH5hS2Fw%40mail.gmail.com.

Reply via email to