Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Mortenx on December 07, 2020, 10:45:01 AM
-
Hi all,
I have a lathe with 2 vfds, one for the spindle and one for a livetool, they are both controlled via modbus and I have made macros for the livetool and is started with m133/m134 cw/ccw (output4/5) and stopped with m135 and working fine.
But if I start the spindle and press "Stop" it stops, but if I start the livetool and press "Stop" it just keeps running, is there anyway to add a "deactivate (output4)" in the "stop" command?
Or any other way/suggestions?
Any help is appreciated.
Regards Morten
-
ypo have to customize your stop button from a "normal" buttonpress to a custom macro, where you do the stopbutton and seperate DeActivate(output4).
-
Hi, thanks for your reply,
I can change the button to a macro and get the deactivate(output4) to work, but I can't figure out how to use the "Stop" command in a macro?
-
DoOemButton(1003)
-
Thanks, working superb now, thanks once again you are a life saver ;)
Regards Morten