Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started 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
-
Might be possible in a Brain but would think you might run into timing issues.
Hood
-
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
-
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?
-
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
-
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
-
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
-
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