-
@terjeio how can i enable the motor fault feature on my protoneer board? (I'm very new to grblhal so sorry in advance if my question is very general)
in protoneer_3.xx_map.h but everything has no effect when I see
and here is my
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Currently there is no general driver support for motor fault input(s). The most immediate (and flexible) solution would be a generic plugin that claims one or more interrupt capable aux inputs for the signal(s). This would work for all drivers provided that the selected board map assigns such inputs. |
Beta Was this translation helpful? Give feedback.
-
FYI I have just added support for binding aux input pin(s) to optional control signals, among them motor fault. Note that the board map must have definitions for one or more aux input pins for this to work. |
Beta Was this translation helpful? Give feedback.
Currently there is no general driver support for motor fault input(s).
Until general driver support is added either board specific or plugin code has to be added handling the inputs and forward events to the core by setting the appropriate flags in a control_signals_t struct, and calling
hal.control.interrupt_callback
with this when a fault is detected.The most immediate (and flexible) solution would be a generic plugin that claims one or more interrupt capable aux inputs for the signal(s). This would work for all drivers provided that the selected board map assigns such inputs.