Hello Guest it is September 15, 2019, 06:55:47 PM

Author Topic: Stop Feed when Spindle is "ON" but NOT Turning  (Read 827 times)

0 Members and 1 Guest are viewing this topic.

Stop Feed when Spindle is "ON" but NOT Turning
« on: June 28, 2016, 07:34:53 AM »
Good day
I am still very new to mach 3 however I have a lathe running with the software.
I need to make a macropump which will monitor whether the spindle is actually turning,when it is set to be ON.
The purpose of it is to make sure the tool does not crash in the stock in the event that there is for eg. a damaged cable and the spindle stops
but the G Code continues to be executed. There is an encoder attached to the spindle.

what i am struggling with is structuring/writing the VB Macro and implementing it.
Any help would be greatly appreciated.

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Stop Feed when Spindle is "ON" but NOT Turning
« Reply #1 on: June 28, 2016, 07:49:57 AM »
If you have spindle feedback to Mach the linked macropump may be what you are looking for. It monitors the commanded rpm and the actual rpm and if there is a difference of 10% it will fault Mach.

http://www.machsupport.com/forum/index.php/topic,8066.msg50941.html#msg50941

Hood
Re: Stop Feed when Spindle is "ON" but NOT Turning
« Reply #2 on: June 28, 2016, 08:02:26 AM »
Thank you!