. .
Page 1 of 2 12 LastLast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by Clive S View Post
    OK First you need to state what all the dip switches on the drivers are set at. So that the current can be set up correctly etc. Have you set up Mach3 in mm or inches

    Like has been sad already before you can tune the motors they need to be on the machine. ..Clive
    I set mach3 up in mm during the install wizard. It is not so much that I wish to tune the motors to correct mm measurements along the axis etc, it is rather that I need to set the correct switches on the driver but am confused as to what they do. I see from the spec that when wired in parallel (which is what I assume they are since they are not in series) that the current should be 4.2 amps. There is no exact setting for 4.2 amps on my drivers - the closest is 4.3 which I assume is fine. That is sw1 on, sw2 off, sw3 on - if thats all I need to do and it's correct I am fine with that. I also get that sw4 is an option in that it determines whether the holding torque of the motors is 50% or not - I have sw4 set to "off" since that sounds "sensible" to me.

    It is sw5, sw6, sw7 and sw8 that confuse me - I dont know what microsteps are or what effect these settings will have - so I cant make a guess at which setting to choose from the chart above and how this affects the "steps per" value in mach3 "motor and tuning setup screen". The default of steps per was 2000 - I reduced it to 200 as per the advice above but I still dont know why exactly. The following chart shows even more info...



    Am I to assume from the above chart that the "step/rev" column of values is what I should be entering in the mach3 "steps per" field? If so, whay am I choosing one lot of settings over another? What's the difference?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screen Shot 2015-03-13 at 16.46.38.png 
Views:	4579 
Size:	67.1 KB 
ID:	14862  

  2. #2
    Ok well here goes lets hope this sheds some light.!!

    Starting with motors and series or parallel wiring.?
    This is a choice based on how you arrange the 8 wires. In your case for parallel wiring they should be as below.
    Phase A+ = Red + Blue
    Phase A- = Yel + Blk
    Phase B+ = Wht + Brn
    Phase B- = Org + Grn

    Setting the drives:
    SW 1, 2 , 3 you are correct about and understand correctly.
    SW4 Reduces current to Half the Motor current (sw 1,2,3) but only when motor is stood still. This reduce heat build up in motors and should be used so OFF.

    SW 5,6,7,8.!! . . . Now this is where it gets interesting and little more complicated. Your motors have 200 FULL steps per revolution so 1.8deg per step.
    Micro stepping breaks these FULL steps down into micro steps.
    It's here where it gets confuddling for people due to the fact they state 2,4,8,16 etc Microsteps on the drives.??. . . What this actually means is each revolution is ie 8 x 200 = 1600 micro steps per revolution.

    Now Micro stepping is often misunderstood by people thinking that it's used for increasing resolution, which it does to some degree, but it's most useful use is for smoothing motor performance. You'll notice your drives can actually Micro step down to some silly figure like 256 so 256 x 200 = 51200 micro steps per rev.
    Setting to this degree is pointless as typical stepper motor can only resolve to around 3200 and make real use of them the rest are wasted.
    Not only are they wasted they also put excess stress on the PC or Motion control device. This is because more Pulses are required by a factor of the microstepping amount to turn same one revolution. ie 8x micro stepping needs 1600 pulses for one revolution 256x needs 51200 pulse for same revolution.

    This brings us nicely to Motor tuning and Micro steps Inside Mach3.?

    STEPS PER setting in mach3 motor tuning is How many steps are needed to move ONE UNIT OF MEASUREMENT in your case with mm's units how many steps to move 1mm.
    This is detemined by a calculation taking the Microstepping amount and dividing by PITCH of the ballscrew or how far ONE revolution of moves that particular axis.
    So assuming 10mm pitch ballscrews and 8 x 200 =1600 micro steps the STEPS PER 1mm would be 1600/10=160

    This will mean 160 steps moves 1mm.

    Now Velocity and acceleration are limited by the number of pulses the Motion control device can output. This is known as the Frequency or Kernal speed in Mach3.
    The parallel port is quite limited and safe frequency would be 25Khz or 25,000 pulses per second/per axis. This means frequency directly affects the Maximum velocity in this case mm/per min you can achive from the axis. So working with 1600 micro steps we get 25000x60/(1600/10)= 9375mm/min Max velocity.

    Now if we use less microstepping so 4x micro steps(800) Max velocity changes to 25000x60/(800/10)=18750mm/min max velocity.!!

    So has you can see going high on Microstepping does have an impact on speed. But going to Low on micro stepping can affect how motors run and can make for very rough running motors. So typical micro stepping values range between 4x and 8x upto max 16x often 10x is used which gives 2000 micro steps like you orginally entered.

    Motor tuning is a balance between Micro stepping, Velocity/acceleration, Pulse quality/frequency along with many factors like machine stiffness and resonance all playing some small part. This means each machine is slightly differant in how it's tuned so Motor tuning needs to be done with everything on the machine with each axis tweaked and setup individually. This is why you can't set motor tuning accurately on the bench as it will all change on the machine.

    Know this is a lot to digest but take the time and it will all make much more sense.
    Last edited by JAZZCNC; 13-03-2015 at 09:59 PM.

  3. The Following 4 Users Say Thank You to JAZZCNC For This Useful Post:


  4. #3
    Dean I could not have put it better myself ..Clive

  5. #4
    Quote Originally Posted by Clive S View Post
    Dean I could not have put it better myself ..Clive
    Well unlike you I haven't started on the Vino yet. .

  6. #5
    Quote Originally Posted by JAZZCNC View Post
    Well unlike you I haven't started on the Vino yet. .
    Is it that obvious

  7. #6
    Jazz, that was an excellent explanation and it couldn't have been more clear, concise and illuminating - you should write a book, seriously.

    Just so I know, how would you describe the observable characteristics of a motor which is running "rough" as opposed to one that is running well?

    In the Motor Tuning window of Mach3, should the "step pulse 1 - 5 us" and the "dir pulse 0 -5" be left at zero? How do those values affect performance.

    Thank you for such a great explanation - it's cleared up a myriad of questions - and created a few more
    Last edited by glynster; 14-03-2015 at 01:12 AM.

  8. #7
    Quote Originally Posted by glynster View Post
    Just so I know, how would you describe the observable characteristics of a motor which is running "rough" as opposed to one that is running well?
    Now that is a difficult one to answer because it's more sound than visual, thou it can be seen at very low speeds. Rough would be growly low pitch sound and notchy action to movement.
    Nice running motors will have higher pitch hum and smooth action. Running a motor at really low speed ie 50mm/min for test is a good indicator. Nicely setup motor will smoothly turn, rough running will have a notchy action.

    The machine and how it's built can play big part in how motors react with different micro stepping . Resonance of the machine affects how motors work and different frequency's don't always suit some Micro stepping settings so it's not uncommon for higher settings to work worse than lower settings or vise versa.

    It's all about finding a balance that works best for your machine. To be honest with newer Digital drives Resonance is becoming less of a issue has they are so much better at handling resonance. But not so long ago with old analog drive technology resonance could reduce a motor to perform at half it's capabiltys and for people to not even know they had a resonance issue at all.!! . . . To a trained ear it was obvious but not so if your not aware of resonance.

    If you want to experiment and get a feel for how Micro stepping and Resonance affects your machine then play with different MS settings and tuning. This way you'll find the sweet spot that suits your motors.
    Resoance is also one reason why you can't run or tune a motor on the bench. It's very common for motor just sat on a bench to sound like a bag of marbels and jump all over the place but run sweet when bolted down.!

    Quote Originally Posted by glynster View Post
    In the Motor Tuning window of Mach3, should the "step pulse 1 - 5 us" and the "dir pulse 0 -5" be left at zero? How do those values affect performance.
    This depends on the drives you use. Some drives will state direction pulse be so many micro seconds in front of the Steps or vise versa but in general just leave at 0. If you feel your lossing steps then playing with these settings can help.
    Last edited by JAZZCNC; 14-03-2015 at 02:03 AM.

  9. #8
    Quote Originally Posted by JAZZCNC View Post
    Ok well here goes lets hope this sheds some light.

    This brings us nicely to Motor tuning and Micro steps Inside Mach3.?



    Know this is a lot to digest but take the time and it will all make much more sense.
    Dean, I think that that is one of the most informative posts that I have read on this forum, and I read every single post.G.

  10. #9
    Quote Originally Posted by GEOFFREY View Post
    Dean, I think that that is one of the most informative posts that I have read on this forum, and I read every single post.G.
    Thank you Geoffrey anybody think I'd done a bit of this CNC malarky before wouldn't they.!! . . .

  11. #10
    Quote Originally Posted by JAZZCNC View Post
    Thank you Geoffrey anybody think I'd done a bit of this CNC malarky before wouldn't they.!! . . .
    Nah You must be on the sauce

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Random G-code for testing motor tuning.
    By Jonathan in forum Stepper & Servo Motors
    Replies: 2
    Last Post: 30-10-2019, 08:22 AM
  2. Plasma tuning speed...
    By Davek0974 in forum Plasma Table Machines
    Replies: 0
    Last Post: 12-02-2014, 10:45 AM
  3. Help withController dip switch settings and Mach3 motor tuning
    By liamo1991 in forum Motor Drivers & Controllers
    Replies: 2
    Last Post: 15-11-2013, 02:22 AM
  4. Help please with motor tuning mach 3.
    By Kevin1970 in forum Artsoft Mach (3 & 4)
    Replies: 6
    Last Post: 13-06-2012, 10:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •