Hello Guest it is April 19, 2024, 05:07:22 AM

Author Topic: Mach3turn Stop button?  (Read 857 times)

0 Members and 1 Guest are viewing this topic.

Mach3turn Stop button?
« 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

Offline TPS

*
  •  2,505 2,505
    • View Profile
Re: Mach3turn Stop button?
« Reply #1 on: December 07, 2020, 03:34:13 PM »
ypo have to customize your stop button from a "normal" buttonpress to a custom macro, where you do the stopbutton and seperate DeActivate(output4).
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Mach3turn Stop button?
« Reply #2 on: December 07, 2020, 03:40:58 PM »
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?

Offline TPS

*
  •  2,505 2,505
    • View Profile
Re: Mach3turn Stop button?
« Reply #3 on: December 08, 2020, 02:49:26 AM »
DoOemButton(1003)
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Mach3turn Stop button?
« Reply #4 on: December 08, 2020, 03:21:03 AM »
Thanks, working superb now, thanks once again you are a life saver ;)

Regards Morten