Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: tantan on August 17, 2012, 03:42:37 AM

Title: disable output
Post by: tantan on August 17, 2012, 03:42:37 AM
hi,

i want to disable/enable my spindle in mach to prevent the spindle from running from gcode or button on the machscreen. is there a way (oem code) to disable/enable the output i use to start the spindle. i allready looked in the oemlist but i could not find any, just to disable the axis.

tnx

TanTan
Title: Re: disable output
Post by: Hood on August 17, 2012, 03:56:40 AM
I do this by having the enable signal  to my servo drive going via a switch on the panel, if your drive needs an enable signal then you could do it that way.
Hood
Title: Re: disable output
Post by: tantan on August 17, 2012, 04:07:40 AM
hi, tnx hood,

that was the second option i figured out too. but it would be nice if i could block my spindle on my touch screen, thats all.

tnx tantan
Title: Re: disable output
Post by: Hood on August 17, 2012, 04:25:46 AM
You could  do it that way as well with a brain or macropump that looks at a LED (Operated by a screen button) before it will enable the spndle drive.
Hood