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! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-28-2008, 07:15 PM
 
Join Date: Dec 2007
Location: Sweden
Posts: 19
Telle is on a distinguished road
HELP!!! Sherline/Ubuntu 6.06/EMC2 - Configuration

I can't figure out anything with the settings of my stepper motors. Have googeled every where, but can't find the correct settings for my sherline stepper motors. Does anyone know the correct settings for them in EMC2?

What I need to know is the following:

Motor steps per rev, driver microstepping, pulley teeth (motor leadscrew), leadscrew pitch, maximum velocity, maximum acceleration. This I need to know for my X, Y, Z - axis.

For my A - axis I also need to know the same information but in deegres.

Please help me!!! I'm a very new newbie on this stuff!
Reply With Quote

  #2   Ban this user!
Old 03-28-2008, 09:10 PM
cadmonkey's Avatar  
Join Date: Mar 2006
Location: USA
Posts: 304
cadmonkey is on a distinguished road

Steps per rev should be 200 - most of the steppers we use are 1.8° variety.
Driver microstepping - I don't know what driver you're using and I'm not familiar with the Sherline mills. Either 1, 2, or 10 most likely.
If the steppers are directly connected to the leadscrew then 1:1 is the ratio to enter. If not then count the teeth on the pulleys and enter those #'s in the appropriate locations.
Leadscrew pitch - try turning the screw and see how far it moves the table in 1 turn. That is your pitch.
Velocity and acceleration are variables you need to decide and test - on what I know about the Sherline's size, start with a 50ipm max velocity and use the "TEST THIS AXIS" button to check and see if it moves without losing steps. Acceleration - start low and ramp up to see what your setup can do.

A axis - similar setup but you need to check using the same methods.

If you're using metric units, adjust commentary above to suit.

Maybe a Sherline user will wander across and give you some better #'s to start with. In the end, each machine gets tuned to work at it's own peak potential for what the user wants/needs it to do.
__________________
Every day is a learning process, whether you remember yesterday or not is the hard part.
www.distinctperspectives.com
Reply With Quote

  #3   Ban this user!
Old 03-29-2008, 04:13 AM
 
Join Date: Dec 2007
Location: Sweden
Posts: 19
Telle is on a distinguished road

Thanx for your answer, but I belive that all settings are correct, but still a problem with the A - axis.

My settings are:

Motor steps per rev: 200
Driver Microstepping: 4
Pulley teeth: 1
Leadscrew Pitch: 5 degree/rev
Max Velocity: 36
Max Acceleration: 60

The thing is that if I run "g0 A180" in EMC2 tha table will rotate only like 20 deegres or something.

EMC2's speed to reach 180 deegres is very fast, much faster then my table would handle. It seems that there is some syncronization issue?

Logicaly EMC2 should run much slower because my stepper motor is configured on a very low setting, but that seems to be ignored...
Reply With Quote

  #4   Ban this user!
Old 03-29-2008, 08:35 AM
cadmonkey's Avatar  
Join Date: Mar 2006
Location: USA
Posts: 304
cadmonkey is on a distinguished road

I must admit that I don't know much about setting up axis A - I don't have a rotary table/axis (yet). But My guess is it's in the leadscrew pitch of 5. I think it should be 72 - as it takes 72 turns to yield 1 full rotation of the table. I could be wrong, but lower your speeds, for safety, and try it.
__________________
Every day is a learning process, whether you remember yesterday or not is the hard part.
www.distinctperspectives.com
Reply With Quote

  #5   Ban this user!
Old 03-29-2008, 01:23 PM
 
Join Date: Dec 2007
Location: Sweden
Posts: 19
Telle is on a distinguished road

Well, I'm so sick of this now... have tried to setup my sherline stepper motors for 3 days now, with no luck! Today I have tried to set them up with Mach3 but they won't run smoothly. The version I downloaded was already configured for a Sherline mill, everything worked except I couldn't get the motors running smooth.

If I run the CD from Sherline with BDI/EMC everything works great! But the thing is that I want to run Mach3 or EMC2.

Crap!

Anyone got an idea?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-29-2008, 01:36 PM
cadmonkey's Avatar  
Join Date: Mar 2006
Location: USA
Posts: 304
cadmonkey is on a distinguished road

Don't give up hope - there are Sherline users here (they must all be making chips right now...) and you might also try the EMC section of the site, and subscribing to the EMC mailing list and asking your question on that once you've subscribed.

Can you copy the .ini file from the BDI disc and then see how your settings in the .ini file vary?

You have updated to 2.2.4 right? (Version # will show in the Axis titlebar) There were a lot of bigfixes in the 2.2.4 release, if you're still on 2.2.2 (no ver# in the Axis titlebar) then you may need to change the repositories where it's checking for updates as the .iso I originally downloaded was looking for updates to 2.1 not 2.2, so as far as it was concerned I was up to date. (A minor undersight for the developers).

What was your latency test result?
__________________
Every day is a learning process, whether you remember yesterday or not is the hard part.
www.distinctperspectives.com
Reply With Quote

  #7   Ban this user!
Old 03-29-2008, 06:49 PM
 
Join Date: Dec 2007
Location: Sweden
Posts: 19
Telle is on a distinguished road

First of all, thanx for your care! But anyway, i'm feeling pretty much down right now...

My latency test results are around 11k... they never get over 15k... so i guess that's good.

But I have the SMI - bug, every 64 second my latency jumps up to 32k, but i have fixed that, so it should not be an issue anymore.

But it's so strange... i'm pretty sure my A - axis configuration is correct.

I know that it's 200 steps per rev, and that my motor are using 1/4 stepping and that the leadscrew pitch is 5 deegres, this i'm 100 % sure of. The pulley ratio i'm 99 % sure of.

The velocity and acceleration should not matter. Also i have tried all kinds of combinations of theses two varibles.

I'm begining to belive that the step time varibles is incorrect. But those where already implemented in EMC2 for Sherline, so they should be correct, don't you think?

Or maybe my computer has to variating latency so the stepper motors won't run smooth?
Reply With Quote

  #8   Ban this user!
Old 03-29-2008, 08:39 PM
cadmonkey's Avatar  
Join Date: Mar 2006
Location: USA
Posts: 304
cadmonkey is on a distinguished road

Well your latency is better than mine even. I'm Around 15-18k (I'm changing some devices right now to lower it but my monitor resolution is sucking on the PCI cards compared to the on-board and I'm not really seeing an improvement in latency result!) The 32 isn't bad for the SMI glitch - the other mobo I tried had would hit 300k every 66 seconds or so.

With those values you shouldn't have a problem running smoothly, provided the machine isn't binding up. What do you mean by steppers not running smooth? Are you loosing steps, or are they just noisy as hell and jittery?

Sorry. My Gecko drive setup for my X3 (partially tested on the mill) was so simple and straightforward. I really don't know what is going on unless one of the developers hosed up the timing requirements for the Sherline driver on the first page of the Stepconf program. I guess you could try and change the driver type from Sherline to "Other", but note the values already in the boxes and double them (you might need to lower your max velocity with that change). If that shows improvement then keep toying with those.

I really don't know anything else to suggest. Maybe this is why Sherline hasn't started supplying EMC2 with their machines yet.
__________________
Every day is a learning process, whether you remember yesterday or not is the hard part.
www.distinctperspectives.com
Reply With Quote

  #9   Ban this user!
Old 03-30-2008, 03:46 AM
 
Join Date: Dec 2007
Location: Sweden
Posts: 19
Telle is on a distinguished road
I'm in LOVE!

Jippie!!! It's working!!! And the motor is spinning like a cat! It's veeeery smooth!!!

The problem is so ****ing stupied also. Do you know what the problem was? It indeed was the step times. I hade choosen Sherline because I own a Sherline that I bought from them! This time I instead tried with a Gecko and that driver made the motor spinning like a dream!

Am I crazy?!?? Have Sherline put a Gecko motor in my rotary table? It very much looks like a Sherline stepper motor to me. It's a NEMA #23 I think.

Or is this some bug in EMC2?? Seems very strange.

Also I tested the rotary table by doing a full turn, 360 deegres. I loose 2.5 deegres each turn, but that's no big deal, some fine tunning and it will be okey!

So happy it works!!! Thanx for your support and tips "cadmonkey", i'm very glad you took your time!

All in all this is crazy! I have spent 3 - 4 days trying to solve this problem, and the solution was well a bug that was around the corner, hehe...
Reply With Quote

  #10   Ban this user!
Old 03-30-2008, 05:32 AM
 
Join Date: Dec 2007
Location: Sweden
Posts: 19
Telle is on a distinguished road

Muhaha. I have now discovered a BUG in EMC2. The reason for all my problems with my stepper motors not running smooth is because the EMC2 - team screwed up!

When you setup your "Driver type" in the "Machine Configurations Page" and choose Sherline you get wrong settings for the stepper motors.

Some very tired EMC2 developer (working late into the night maybe!?) has mixed two variables up.

The "Step Time" and "Step Space" should be inverted.

They want "Step Time" to be 1000, but it should be 6000. "Step Space" is 6000 but it should be 1000. There you have it!

It took me 3 - 4 days to figure this sucker out! Now i don't even have that 2.5 deegre failure for one turn of the rotary table, it's bullseye now! Also my motors are even more spinning like a cat, since I don't use the Gecko drivers (but they also worked pretty nice).

I'm gone report this to the EMC2 team so they can fix it until the next release. It should save every sherline owner a lot of trouble, suffering and pain! hehe...
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-30-2008, 06:35 AM
 
Join Date: Dec 2007
Location: Sweden
Posts: 19
Telle is on a distinguished road

It was very hard to setup my Sherline rotary table to run in EMC2. Searched everywhere on the internet and found small clues here end there, but no place with all the settings. I will post all my settings below to make it easier for all Sherline buddies and others with Sherline stepper motors!

Here are my settings for Sherline rotary table (P/N 8760) in EMC2:

Machine Configuration Page:

Axis Configuration: XYZA
Machine Units: mm
Driver Type: Other
Step Time: 6000
Step Space: 1000
Direction Hold: 24000
Direction Setup: 20000

Parallell Port Setup Page:

I use the Sherline option, and then I have disabled all inputs (pins 10 to 15).

Include custom HAL configuration should be the only checkbox that is checked.

A - Axis Configuration Page:

Motor Stepps Per Revolution: 200
Driver Microstepping: 4
Pulley Teeth (Motor Leadscrew): 1 to 1
Leadscrew Pitch: 5 deg/rev
Maximum Velocity: 30
Maximum Acceleration: 60

Home Location: 0
Table Travel: -9999 to 9999

Spindle Configuration:

PWM Rate: 0

To setup the other axes you would only need to know the leadscrew pitch witch on a metric mill is 1 mm/rev, and also the maximum velocity and acceleration witch you can try youself. I belive 8 mm/s and 15 mm/s² is pretty good.

With this configuration my rotary table spins like a furtune wheel!
Reply With Quote

  #12   Ban this user!
Old 03-30-2008, 08:47 AM
cadmonkey's Avatar  
Join Date: Mar 2006
Location: USA
Posts: 304
cadmonkey is on a distinguished road

Very glad you got it going! clap clap clap

I knew it had to be something simple as it effected everything. Congrats!
__________________
Every day is a learning process, whether you remember yesterday or not is the hard part.
www.distinctperspectives.com
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
EMC2 configuration acondit LinuxCNC (formerly EMC2) 6 03-10-2012 11:36 PM
Any plan for Ubuntu 8.04 + EMC2? david_geng LinuxCNC (formerly EMC2) 22 05-19-2008 08:43 PM
TROUBLE W/EMC2 UBUNTU 6.06 DOWNLOAD Gads LinuxCNC (formerly EMC2) 2 01-22-2008 08:10 PM
Ubuntu 6.06 & EMC2 tenmetalman LinuxCNC (formerly EMC2) 19 10-11-2006 09:23 PM
New live Ubuntu 6.06 with EMC2 samco LinuxCNC (formerly EMC2) 0 09-20-2006 09:32 AM




All times are GMT -5. The time now is 09:40 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