Hello Guest it is May 06, 2021, 05:10:46 PM

Author Topic: stepper motor speed  (Read 4864 times)

0 Members and 1 Guest are viewing this topic.

Offline cgabe

*
  •  10 10
    • View Profile
stepper motor speed
« on: October 29, 2012, 08:45:10 PM »
Trying to set up, configure?  Using ZETA 87-135 motors, ZETA4 Drives. These motors and drives are made for each other, I have used them on my previous DOS based system and they work fine. Now I want to go to Mach3. All 3 axis motors turn, both direction butTOOOOOOO slow.
Specs from compumotor say the 87-135 motor is 200s/rev or 12,800 microsteps/ rev. which number do I use in the Mach3 formula?   Mach3 is set at 25,000 and the ZETA4 drives are set at 25,000 steps per rev. ( this is the default setting for the drives).  My motors are connected directly to a 5TPI screw.  I want my router to move at  40ipm. I have tried to understand the formula for tuning but I cant get the numbers to add up or to look anything like the sample screens in the manual.
screw is 5TPI, to move 40 ipm, motor should turn at 40x5=200 rev/min????  I just cant seem to get that 200 number to fit into the mach3 formula???in the motor tuning section. Sorry but I must be missing somthing. Can someone give me approx numbers to put into the motor tuning screen to get me close?
Thank you
Garth

Offline Tweakie.CNC

*
  • *
  •  8,704 8,704
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: stepper motor speed
« Reply #1 on: October 30, 2012, 04:19:59 AM »
Hi Garth,

If your motor drive is set for 25,000 steps per revolution and your lead-screw requires 5 turns to progress 1 inch and you want to travel at 40 inches per minute then...

In Mach3 Motor Tuning 25,000 x 5 = 125,000 Steps per unit : Velocity = 40 : Acceleration 18 (or so).

Also check that you have Mach3 configured for Inches and not mm.

Tweakie.
KEEP SAFE !

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: stepper motor speed
« Reply #2 on: October 30, 2012, 04:24:41 AM »
Your drives seem to be set to 64 micros steps, if you can set to 8 or 10 you would likely get better performance.
Anyway heres how you work out the steps per unit for Mach.
Motor steps per rev x microstepping x gearing x tpi
So in your case that would be (assuming you have no gearing between motor and screw)
200 x 64 x 5 = 64,000
At a velocity of 40IPM then the frequency needed for the kernel in Mach would be (40 x 64,000)/60) = 42,666 Hz or 42.666 KHz so you would need to set the kernel to 45KHz in Mach.


Hood

EDIT
My calscs are based on the " motor is 200s/rev or 12,800 microsteps/ rev" you quoted.
« Last Edit: October 30, 2012, 04:26:53 AM by Hood »

Offline kooka

*
  •  12 12
    • View Profile
Re: stepper motor speed
« Reply #3 on: October 30, 2012, 09:13:50 PM »
gday, thanks for that hood , was about to post a question in regards to kernel speed settings but you have sorted. still would like to know about the relationship between velocity and acc? and step per unit and dir pulse settings? can you shed some light on these for me please?

Offline cgabe

*
  •  10 10
    • View Profile
Re: stepper motor speed
« Reply #4 on: October 30, 2012, 10:57:53 PM »
Thank you all I will try this tomorrow!
cgabe

Offline RICH

*
  • *
  •  7,419 7,419
    • View Profile
Re: stepper motor speed
« Reply #5 on: October 31, 2012, 06:17:21 AM »
Quote
would like to know about the relationship between velocity and acc? and step per unit and dir pulse settings?

Attached should shed some light on what your asking.
RICH
« Last Edit: October 31, 2012, 06:20:12 AM by RICH »

Offline kooka

*
  •  12 12
    • View Profile
Re: stepper motor speed
« Reply #6 on: October 31, 2012, 12:10:37 PM »
thank you very much rich, just what i needed :)

Offline cgabe

*
  •  10 10
    • View Profile
Re: stepper motor speed
« Reply #7 on: October 31, 2012, 01:31:11 PM »
Sorry guys I am still not getting results, missing somthing.
SUPER KITTY suggested setting of 125,000 steps per, velocity =40, acceleration = 18.
I cannot get this combination, as soon as I enter the 125,000 the velocity goes to 12 , if I enter40 it just changes when I hit return
Now HOOD said the steps per unit should be 64,000,  not 125,000. I did up the Kernal to 45,000. What am I missing??
I have tried many combinations without sucess so I will give the system specs again just in case.
MOTOR is ---Compumotor ZETA 87-135 ( specs are on line at Compumotor site)  it says 200steps per  then in brackets sya 12,800 microsteps per rev.     Which number is the real number??
DRIVER is -----Compumotor ZETA4 driver (specs are on line at compumotor site) and these two are made to work together, they spec the motor right on the side of the driver.    The driver has many option via dip switches and I can set the "steps per rev" in the driver fromm 200 to 50,000.   25,000 is the default setting.
My axis screw rotates at approx 5rpm so my table is hardly moving but it moves reliably in both directions.
Is anyone else using Zeta drives?
The maddening thing is that my system runs fine, normal speeds, under my old DOS control but I am trying to upgrade to Mach 3.
I would gladly pay somone for their time if I could call somone for phone support.
Thank you!
Garth
« Last Edit: October 31, 2012, 03:05:50 PM by Overloaded »

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: stepper motor speed
« Reply #8 on: October 31, 2012, 02:30:59 PM »
What are the dip switches set to at the moment?
Do you have any gearing between motor and screw?
Hood

Offline cgabe

*
  •  10 10
    • View Profile
Re: stepper motor speed
« Reply #9 on: October 31, 2012, 10:00:55 PM »
FIRST THANKYOU FOR YOUR INTEREST!  Dips are as follows, 1on,2on,3off,4on,5off,6off,7off,8off, 9off,( this is the default setting for 25,000)10off,11off,12off      second switches 1off,2off,3off,4on,5on,6on.   Kernal 45,000.  steps per 64000.  vel 40, accel 18.   The axis move at this setting but SLOOOOW.   When I used the old DOS system controller I had the ZETA4 driver set at 2000 steps per rev, that was 6on,7on,8off,9off,.   Motors are connected directly to the screw which is 5TPI
I am going to take a scope out and look at the pulse train,  I have a C10 board on the PP output
thank you
PS   BINGO   -I went back to your first reply and decided to try 200stepx10 or 2000 microsteps, I also set the pulse width to 5us, and seps per 10000, velocity 190, accel 100  and things started moving!!    so I am now close enough to start tuning etc.   don't know why I set the velocity at 190 to get approx 20ipm motion but I am close enough to start investigating.  THANK YOU