Hitting spindle CW and CCW buttons don't call M3, M4, M5
Posted: Fri Sep 30, 2016 9:20 am
Not sure if this is a bug or a feature, but I regard this being a bug.
When I hit the spindle start buttons CW and CCW in Run screen I expect the M3, M4 and M5 macros to be called, depending on button state. This is not happening, unless I made a mistake somewhere in the configuration of UCCNC. The spindle start relay is activated if I have defined one, but the macros are not called, so the spindle will not start unless it is controlled by the relay. It seems that the DospinCW() DospinCCW() and Stopspin() are executed internally only, not through the macros, which makes it difficult to control the spindle if Modbus is used because it demands a macro loop and continuous button state checking. This is not very convenient and it adds to the load on UCCNC without any real purpose, other than controlling the on/of of the spindle. That task is better done through the M3, M4 and M5 macros.
Could this be added to the list of bugs to be fixed? Or am I doing something wrong, or is there a reason not to call those M macros from the buttons?
When I hit the spindle start buttons CW and CCW in Run screen I expect the M3, M4 and M5 macros to be called, depending on button state. This is not happening, unless I made a mistake somewhere in the configuration of UCCNC. The spindle start relay is activated if I have defined one, but the macros are not called, so the spindle will not start unless it is controlled by the relay. It seems that the DospinCW() DospinCCW() and Stopspin() are executed internally only, not through the macros, which makes it difficult to control the spindle if Modbus is used because it demands a macro loop and continuous button state checking. This is not very convenient and it adds to the load on UCCNC without any real purpose, other than controlling the on/of of the spindle. That task is better done through the M3, M4 and M5 macros.
Could this be added to the list of bugs to be fixed? Or am I doing something wrong, or is there a reason not to call those M macros from the buttons?