Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: peter81 on March 07, 2010, 03:54:22 PM

Title: Spindle open
Post by: peter81 on March 07, 2010, 03:54:22 PM
Hello, can someone please help me with M3 macro. I want my spindle not to start if there is no tool in the spindle. I have a signal at input3 that indicates that the spindle is closed. Thanks.
Title: Re: Spindle open
Post by: Graham Waterworth on March 08, 2010, 07:21:15 AM
You need something like this in your M3 macro

If IsActive(INPUT3) then
  Dospincw()
End If

Graham
Title: Re: Spindle open
Post by: peter81 on March 08, 2010, 02:19:54 PM
Thank you very much.