Try increasing the PWM_OUTPUT_SCALE. I don't think the HPG PWM thing is particularly well sorted.
I don't know what to tell you about the outputs staying on after a crash. It might be something to do with the way MK controls PRU pins or something. If there is another output pin that does not do this, use that pin to control the relay. On Wednesday, January 1, 2020 at 7:09:25 PM UTC-5, Aurelien wrote: > > One other thing is not safe, if i close the GUI without stopping spindle > or clicked power off button > -enable signal stay activated (so enable relay stay closed) > -pwm value stay to last value > Restarting the GUI and waiting HAL started to default value stop the > spindle. > > I have this problem from long time before changing the config. > > Br > -- 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/77e5a852-bb88-408b-923d-50643bb05b87%40googlegroups.com.
