Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: tbyrd0918 on March 07, 2011, 03:51:52 PM

Title: How can I auto-brake an indexer when it's not moving?
Post by: tbyrd0918 on March 07, 2011, 03:51:52 PM
Is there a way to turn on an output for a brake when an axis is not moving, and turn it off when I do move it? I can do this in the code no problem, but I want to be able to do it even if you manually jog that axis.

T. Byrd
Title: Re: How can I auto-brake an indexer when it's not moving?
Post by: Hood on March 07, 2011, 04:03:07 PM
Might be possible in a Brain but would think you might run into timing issues.
Hood
Title: Re: How can I auto-brake an indexer when it's not moving?
Post by: Overloaded on March 07, 2011, 04:10:48 PM
Not quite as simple as it sounds.
Here is part of a long thread on the subject:
http://www.machsupport.com/forum/index.php/topic,11422.msg98380.html#msg98380
Title: Re: How can I auto-brake an indexer when it's not moving?
Post by: tbyrd0918 on March 07, 2011, 04:26:15 PM
Thanks for the thread link. I read it. Here's the thing, is there such a thing as "Avel" that I could use to interupt movement? or somehow capture my keystrokes so I can unbrake as I get ready to move? I can easily increase my ramp so release will be sufficient before actual move. What would be the Brain method?
Title: Re: How can I auto-brake an indexer when it's not moving?
Post by: Overloaded on March 07, 2011, 04:36:40 PM
Not sure how to do it with a Brain ... or macro exactly for that matter, but ...
this might be a simple way to approach it.
Have the Brain or macro monitor the Z DRO.
Set  your Z clearance at say 1"
Any time Z is <1" (or maybe .5") turn on an output to apply the brake.
The rotary will never attempt to turn when Z is cutting, and it will be free to turn when the Z is up.
Maybe too simple to work. lol
Russ

Title: Re: How can I auto-brake an indexer when it's not moving?
Post by: Overloaded on March 07, 2011, 04:43:48 PM
Well, this works in simulation.
But the update rate and the time to actuate/deactuate the mechanism would have to be taken into account.
Russ
Title: Re: How can I auto-brake an indexer when it's not moving?
Post by: tbyrd0918 on March 07, 2011, 04:52:07 PM
Thanks Overloaded,
 The problem is sometimes I helical interpolate. I just need to be able to bake the A axis when it is not moving, regardless of where any other axis is.
T. Byrd
Title: Re: How can I auto-brake an indexer when it's not moving?
Post by: Overloaded on March 07, 2011, 04:59:29 PM
I see, wasn't sure if you'd be rotating while cutting or not.
Otherwise, I think this could be made to work.
The plot thickens, good luck T.
Standing by,
Russ