Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: mrpeja on April 10, 2009, 02:02:50 PM
-
Hi,
There is a situation:
I have plasma table, step motor 400 steps/rev, gear ratio 1:5 and rack and pinion 30 mm pitch diameter. Here is my calculation:
400 * 5 = 2000 steps/revolution of pinion,
path per one revolution of pinion: 30 * pi = 94,347779 mm
path per step: 94,347779 / 2000 = 0,0471 mm.
steps per unit (mm): 1 / 0,0471 = 21,22.
So far so good.
Now Motor Tuning in Mach3:
I put 21,22 steps per unit (mm), and velocity 4000 mm/min (what is 66,66 mm/sec)
Step frequency will be 21,22 * 66,66 = 1414 Hz
But motor run to slow and oscilloscope measurement shows step frequency about ten time slower, e.g. 135 Hz!
Who is mistaking, me or Mach3?
PLEASE CONTROLL MY CALCULATION
Regards,
mrpeja
-
What kind of drives do you have? Do they have microstepping?
Hood
-
Hi Hood,
No, I don't have microstepping. I have bipolar motor, working in half step mode. So, 400 steps per revolution and 0,9 deg per step.
It's urgent!
mrpeja
-
Ah ok thought maybe that was the case but just wanted to check that you were not using a 0.9 degree stepper.
Your calcs seem to be fractionally out but not enough to make the difference you are seeing.
(400 steps per motor rev, 5:1 gearing is 2000 steps per pinion rev, one rev is 93.477795mm so 2000/93.47775=21.39545.......... per mm or unit)
If your commanded speed is is much slower then maybe you possibly your rack or gearing is different. Not sure where you were scoping the pulse stream from but if it was the output of the drives try disconnecting the parallel port cable and check direct on the port, obviously the motors wont move but at least you will get the true pulse stream.
Hood
-
Hi Hood,
PROBLEM SOLVED!
First, I'm experienced electronics engineer and I can help about electronics, if somebody need.
I measured directly on parallel port, and frequency was like I said.
But problem was on another place! I assumed when I jog, travel must be at maximal speed. But is not. I accidentally pressed Home axis bar and motor runs fast. So, I only need to find where to adjust jogging speed.
Thanks for your efforts to help me.
Best regards
mrpeja
-
Do you have Home Switches installed? I have noticed that if an external E Stop is triggered that Jog speed is slow until I Home the machine.
If there are no Home switches, try double clicking the "Normal Condition" bar just above the feed rate box.
-
Press the Tab key on your keyboard and the flyout screen has a Slow Jog rate DRO, set that to 100% and it will jog at the velocity in motor tuning. If you wish to retain the slow jog you can override it by pressing the shift key while you jog.
Hood
-
Hi,
I found jogging go slow because slow jog rate is set to 20%. When I jog holding Shift key then is going fast
mrpeja