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-28-2007, 10:21 AM
 
Join Date: Sep 2007
Location: USA
Posts: 22
leeleatherwood is on a distinguished road
Microstepping and Jog rate.

Hello, I am completely new to the CNC world. I have bought and assembled a 4AUPC kit with the 305oz motors from HobbyCNC.com, it works great i suppose. I am using the latest version of EMC2 (which i love BTW!) and I am trying to get everything working on the bench before i assemble the motors on the machine.

The question i have is with the Microstepping rate. When I am following the "Quick Start Guide for Stepper Configurations" the formula is as follows:

steps * usteps * pitch * ratio

So for my setup using 1/8th microstepping, and a 10tpi leadscrew:

200 * 8 * 10 * 1 i come up with 16000.

I input this into the stepper_in.ini and when i load up EMC2 it gives me an error saying my rates are too high. I have tryed lowering the MAXVELOCITY but that seams like it would defeat the purpose since it would only make things slower.

So what I do is set my board to 1/4" microstepping and adjust the settings in the Stepper_in.ini accordingly. Things run fine now... but I cannot get it to JOG faster than ~50ipm. The motors will turn about a half turn (accelerate) and then lock. If i slow it down to 49ipm it will run fine. This JOG rate seems very slow because i have seen people getting over 250ipm on the machine I am building. (using MACH3)

I also know that the motors and controller are both capable of that speed because if i leave the controller on 1/4 microstepping but i change the Stepper_in.ini to reflect 1/8 microstepping, the motors will spin very fast without locking...

Does anyone have a similar setup to mine and can lend assistance? Is EMC2 capable of doing what i ask? I sure hope so, I like the interface alot better than Mach3's.

I really dont want to reformat the machine to install windows and Mach3 just for testing purposes.

EDIT: Oh yeah, the system i am using is pretty powerfull, AMD Athlon XP 1900+, 512mb ram, ASUS A7N8X Deluxe motherboard (nForce 2)

In the bios i have tryed both ECP and EPP.

Last edited by leeleatherwood; 09-28-2007 at 11:02 AM.
Reply With Quote

  #2   Ban this user!
Old 10-02-2007, 07:59 PM
 
Join Date: May 2007
Location: USA
Posts: 717
sansbury is on a distinguished road

Have you tried reducing the BASE_PERIOD from the default of 50000? RTFM section 5.3.2:


BASE_PERIOD = 50000 Base task period, in nanoseconds - this is the fastest thread in the machine. It’s units are nanoseconds. This is a fairly conservative value but if you are installing on a very old, slow processor you may have to make this a larger number or the machine may lock up or reboot.
You might want to make this value smaller if you have a fast computer because this value sets the maximum number of stepper pulses you can get from your machine.


Basically the formula is

Steps / second = 10^9 / 2 * base_period

So 50000 gives you a max of 10k steps/second. In order to hit 250ipm with your setup, you'd need (250*16000) / 60 = ~67k steps/second. If I do the math I end up with a base period of 7500 to generate pulses that fast.

I run a base period of 45000 on an eight-year old doorstop so I'd guess that your machine should be capable but I have no idea whether this is something that scales linearly, exponentially, or chaotically.
Reply With Quote

  #3   Ban this user!
Old 10-05-2007, 10:34 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

Here is some really good info...

http://wiki.linuxcnc.org/cgi-bin/emc...StepGeneration

John
Reply With Quote

  #4   Ban this user!
Old 10-07-2007, 06:34 PM
 
Join Date: Sep 2007
Location: USA
Posts: 22
leeleatherwood is on a distinguished road

Thanks guys. That info really helped, I have everything running smoothly now at 8x Microstepping and I have gotten it up to 60~ IPM jograte running on just a 12v testing powersupply. Any faster on the Jograte the motors will start to stumble and/or lock, again i think that is only due to the powersupply.
Reply With Quote

  #5   Ban this user!
Old 10-09-2007, 01:23 PM
 
Join Date: May 2007
Location: USA
Posts: 717
sansbury is on a distinguished road

Are the motors hooked up to anything or are you just spinning them freely? 60ipm with 12V on those motors actually sounds pretty fast to me, all things considered. In any case you will almost certainly get a lot more with 24V+ going in. 35V seems to be the safe sweet spot.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-09-2007, 04:00 PM
 
Join Date: Sep 2007
Location: USA
Posts: 22
leeleatherwood is on a distinguished road

Originally Posted by sansbury View Post
Are the motors hooked up to anything or are you just spinning them freely? 60ipm with 12V on those motors actually sounds pretty fast to me, all things considered. In any case you will almost certainly get a lot more with 24V+ going in. 35V seems to be the safe sweet spot.
Well, they have a slight load on them. Basically a 6ft section of threaded rod and the friction from the nut allows them to run to 60ipm without locking.

With no load they lock at anything over 52-53ipm.

As long as i can get at least 120ipm Jograte with 36v I think I should be fine.
Reply With Quote

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
Microstepping An822 LOKI Open Source Controller Boards 3 09-18-2008 05:49 AM
Microstepping? barkster Stepper Motors and Drives 1 05-16-2007 11:27 AM
New pic for microstepping ajv2803959 Open Source Controller Boards 5 03-21-2005 11:59 PM
Lathe to CNC - Microstepping creative_mind General Electronics Discussion 8 04-12-2004 10:56 PM
Microstepping question TimW DIY-CNC Router Table Machines 2 03-29-2004 09:21 AM




All times are GMT -5. The time now is 02:54 PM.





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