584,846 active members*
3,893 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2) > "motor steps per resolution" and "driver microstepping" settings
Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2003
    Posts
    128

    "motor steps per resolution" and "driver microstepping" settings

    Hi Again folks,

    background: I'm running small servo motors with US digital E2-250-250 encoders
    250 CPR/ 1000 PPR driven by gecko 320/340 drives.

    1) Thus far I've set the microstepping to 1.0 on all axis, but this was just a guess on my part. What should the true setting be? Isn't this more of a stepper specific setting?

    2) "Motor steps per Revolution" I currently have it set to 1000.0 (I guessed that I should be using the PPR of 4xCPR). Im not sure if i should be using the CPR or PPR number?

    things have been working pretty decently on the machine, however I havent brought out the calipers yet to really check my accuracy. I just know the machine seems to move the right distance and things arent totally out of proportion


    thanks again. :cheers:
    Check out some of my vids: http://www.youtube.com/user/blauschuh

  2. #2
    Join Date
    Mar 2008
    Posts
    267
    Servo motors ..no microstepping set it to one ( 1)
    If Your shaft encoder generates 1000 pulses per revolution and it outputs a quadrature signal then Your driver ought to be able to resolve 4000 distinct points around the circle.
    I guess You are using step/direction to drive the servo then it is equivalent to a stepper with 4000 steps per rev. I think You are using an encoder with 250 pulses in quadrature, treat it like a stepper with 1000 steps per rev.

  3. #3
    Join Date
    Dec 2003
    Posts
    128
    Quote Originally Posted by Zig View Post
    Servo motors ..no microstepping set it to one ( 1)
    If Your shaft encoder generates 1000 pulses per revolution and it outputs a quadrature signal then Your driver ought to be able to resolve 4000 distinct points around the circle.
    I guess You are using step/direction to drive the servo then it is equivalent to a stepper with 4000 steps per rev. I think You are using an encoder with 250 pulses in quadrature, treat it like a stepper with 1000 steps per rev.
    It's a gecko 320 that sends direction and step outputs... so is it 4000 steps/rev or 1000 steps per rev? It is an encoder with 250 pulses in quadrature, that's what the us digital specification says.

    I guess if all other things are correct I could always try both settings and see which one drives the axis the correct distance.
    Check out some of my vids: http://www.youtube.com/user/blauschuh

  4. #4
    Join Date
    Mar 2008
    Posts
    267
    Encoder produces 250 steps in quadrature this implies 1000 resolvable points per turn. So set it to 1000 pulses per turn.

    Quadrature is a term which in general refers to a phase relationship between two signals meaning they are 90 degrees or a quadrant of a full period of the wave form apart ( either leading or lagging).

    As a result of this relationship You can identify 4 distinct statesof the two signals.

  5. #5
    Join Date
    Nov 2005
    Posts
    93
    I thought the setting is in counts/inch of actual cutting tool movement for servo motors? What good would counts per turn do as the software has no clue whatsoever as to the gear reduction of the motor to the ballscrew, or if direct drive it has no clue as to the turns/inch of the screw itself. My Mill comes out to approx 35000 encoder pulses/inch using 1000 line/turn encoders times 4 times the 1.5 reduction of the drive X the ballscrew turns/inch. HTH Wayne
    YCM-40 converted from anilam to Mach3 and lovin it.

  6. #6
    Join Date
    Mar 2008
    Posts
    267
    We are talking EMC2 as the control software are we not?

  7. #7
    Join Date
    Nov 2005
    Posts
    496
    cwaugs

    Stepconf (for EMC2) asks you for the information separately.
    motor steps per rev
    micro steps multiplication
    gear reduction
    and thread lead.
    Then it calculates steps per inch or per mm

    BTW setting the microstepping setting to 1 means there is no microstepping.

  8. #8
    Join Date
    Mar 2008
    Posts
    267
    Chester,

    Thanks for the post. The purpose of asking whether we are talking EMC was to point out the components as You have done so aptly.

  9. #9
    Join Date
    Nov 2005
    Posts
    93
    My bad, I was just tryin to help, and have never used EMC2. I back out quietly with my size 11 shoe in my mouth Note to self. Always look what forum you are in before opening your mouth. (I was using the search engine to locate information and stumbled in on this post)
    YCM-40 converted from anilam to Mach3 and lovin it.

  10. #10
    Join Date
    Mar 2008
    Posts
    267
    Size 11? You are lucky.. Mine are 9 1/2 double E ( extra wide) go off like a champaigne bottle when extracted.

Similar Threads

  1. "J" head type "millport"(tiwan,1980) clutch
    By marksbug in forum Bridgeport / Hardinge Mills
    Replies: 1
    Last Post: 08-17-2009, 04:48 PM
  2. "Warco GH Univ" V "Chester Lux Mill"
    By JQ_Quint in forum Benchtop Machines
    Replies: 37
    Last Post: 01-22-2009, 05:59 PM
  3. Need help on calculating "Steps" and "IPM"
    By Mcyoda in forum DIY CNC Router Table Machines
    Replies: 0
    Last Post: 08-24-2008, 10:49 PM
  4. Calculate "Steps Per" In Motor Tuning
    By Burn in forum Mach Mill
    Replies: 7
    Last Post: 05-16-2008, 03:25 AM
  5. G320 "common" or "+5vdc" why do they vary?
    By beezerlm in forum Gecko Drives
    Replies: 3
    Last Post: 01-12-2008, 11:00 PM

Posting Permissions

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