CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-09-2009, 11:08 PM
 
Join Date: Dec 2003
Location: Massachusetts
Posts: 128
margni74 is on a distinguished road
"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.
__________________
Check out some of my vids: http://www.youtube.com/user/blauschuh
Reply With Quote

  #2   Ban this user!
Old 09-10-2009, 06:22 AM
Zig Zig is offline
 
Join Date: Mar 2008
Location: Australia
Posts: 237
Zig is on a distinguished road

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.
Reply With Quote

  #3   Ban this user!
Old 09-10-2009, 11:43 AM
 
Join Date: Dec 2003
Location: Massachusetts
Posts: 128
margni74 is on a distinguished road

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
Reply With Quote

  #4   Ban this user!
Old 09-10-2009, 04:50 PM
Zig Zig is offline
 
Join Date: Mar 2008
Location: Australia
Posts: 237
Zig is on a distinguished road

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.
Reply With Quote

  #5   Ban this user!
Old 10-22-2009, 07:21 AM
 
Join Date: Nov 2005
Location: usa
Posts: 89
cwaugs is on a distinguished road

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.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-22-2009, 03:44 PM
Zig Zig is offline
 
Join Date: Mar 2008
Location: Australia
Posts: 237
Zig is on a distinguished road

We are talking EMC2 as the control software are we not?
Reply With Quote

  #7   Ban this user!
Old 10-23-2009, 01:38 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

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.
Reply With Quote

  #8   Ban this user!
Old 10-23-2009, 02:36 AM
Zig Zig is offline
 
Join Date: Mar 2008
Location: Australia
Posts: 237
Zig is on a distinguished road

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.
Reply With Quote

  #9   Ban this user!
Old 10-23-2009, 09:47 AM
 
Join Date: Nov 2005
Location: usa
Posts: 89
cwaugs is on a distinguished road

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.

Last edited by cwaugs; 10-23-2009 at 09:49 AM. Reason: clarification
Reply With Quote

  #10   Ban this user!
Old 10-24-2009, 02:33 AM
Zig Zig is offline
 
Join Date: Mar 2008
Location: Australia
Posts: 237
Zig is on a distinguished road

Size 11? You are lucky.. Mine are 9 1/2 double E ( extra wide) go off like a champaigne bottle when extracted.
Reply With Quote

Sponsored Links
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


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




All times are GMT -5. The time now is 05:12 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361