Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: jtodd on October 10, 2011, 01:32:18 AM
-
I'm working on a plasma table that has a Z-axis that is managed by a DC motor. Not a servo, not an encoded motor, not a stepper: a DC motor. Give it +/- and it goes up. Give it -/+ and it goes down. No power means it stays put.
For various reasons, I can't get rid of this setup- I have to stick with the motor I've got, and can't physically retrofit to something more useful nor can I really do things like add springs or counterweights. Currently, I've got Z-axis fed into a chip that turns the square wave into DC power at 18V, and inverts the polarity when the direction bit gets toggled on the parallel port. So far, so good. The problem is that due to gravity, the motor and arm moves down faster than it moves up. This leads to all sorts of big problems - it's around 33% faster down than up, so very quickly the head starts dragging on the metal as I go through various lifts/lowers for doing pierces.
Is there a way (brains? macros?) to somehow tune Z-up movements so they have a longer energized time "per inch" than Z-down movements? I'll move to the appropriate forum if someone can give me the hint. I'll pay for an open-source software solution if someone has one...
JT
-
No reason you couldn't fit an encoder to it, and use a DC Servo drive, like a Gecko G320..... That would allow you to slow down the up moves to the same speed as the down moves, and ensure it was always at the desired position.
Regards,
Ray L.
-
No reason you couldn't fit an encoder to it, and use a DC Servo drive, like a Gecko G320..... That would allow you to slow down the up moves to the same speed as the down moves, and ensure it was always at the desired position.
Regards,
Ray L.
I'm really not able to do that at this point, for various reasons. I can't modify the equipment at all for various reasons outside of technical issues, so it has to be via software.
JT
-
In that case, your only reasonable option would be to modify the G-code. Since your hardware sounds like it simply turns motor power on whenever there are step pulses coming out, just make the up feed slower than the down feed, which will make the up moves take longer than the down moves. That should do what you need.
Regards,
Ray L.
-
To answer your question NO it cannot be done with mach3.
You have been over the net talking about the bad hacks this and that BUT so far nothing has compared to the original BAD hack to the Z axis. (not even CNC related)
MAN up and just fix the thing correctly.
The only crutch I see is to use a counterweight pulley an cable system. That way the weight will reamain constant across the range of movement. Adjust the weight until you have comped for the gravity effect.
Still does not solve your positioning problems.
(;-) TP
-
HI JT,
Could you explain why you can't do any "physical" mods?, such a spring counter weight.
Maybe could do this electrically, have 2 voltages, a low voltage for Z down and a higher voltage for Z up, to balance the speeds.
However, the longest way is always the shortest...in the end.
ATB
Derek.