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! > Electronics > Gecko Drives


Gecko Drives Discuss all Gecko drives here and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-07-2009, 04:58 PM
 
Join Date: May 2007
Location: USA
Posts: 86
725franky is on a distinguished road
G540 & EMC2 Anyone?

Hi, I have a g540 with a 48V power supply and 269oz steppers. I am running EMC2 and I need setup HELP!

I have the controller hooked up to an e-stop and 1 stepper. I hooked the 540 up to my computer using my EMC2 Xylotex .ini file ...just changing the steps per inch to 40000. The problem that I'm having is:

I drive the stepper for a little bit and it stalls giving me a Joint 0 following error. I've tried speeding up and slowing down the IPM as well as slowing down the acceleration. No matter what It only jogs a little bit and then stalls.

Just an FYI the stepper is not hooked up to my mill.

Thanks,

Frank
Reply With Quote

  #2   Ban this user!
Old 04-07-2009, 05:09 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

It sounds like your MAX_ACCELERATION is set too high for your STEPGEN_MAXACCEL, that is you don't have enough head room for the trajectory planner.

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #3   Ban this user!
Old 04-07-2009, 05:37 PM
 
Join Date: May 2007
Location: USA
Posts: 86
725franky is on a distinguished road

max_acceleration & stepgen_maxaccel are set at 5.


Frank

edit:

my max velocity is at .5



does that sound incorrect?

Last edited by 725franky; 04-07-2009 at 05:54 PM.
Reply With Quote

  #4   Ban this user!
Old 04-07-2009, 06:49 PM
 
Join Date: May 2007
Location: USA
Posts: 86
725franky is on a distinguished road

I was just playing with the controller setup the way it is and I was able to get the motor running at 10IPM with out error. Pretty much any faster than that and it gives the error.

the faster the speed is set the faster it stalls. If the speed is a around 14IPM it will sometimes run fine but stall and error out when you let off.

I tried messing with the accel some more and I even turned it down to .5 still didn't change anything.

Is the problem my computer? My mill was able to run 17-18IPM on one of its axes with my 24V Xylotex controller.

I'm confused. ...I'm really just looking to be able to rapid at around 30-50IPM...no less than 20IPM.
Reply With Quote

  #5   Ban this user!
Old 04-07-2009, 06:51 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Frank,

Your STEPGEN_MAXACCEL should be about 120-125% of your MAX_ACCELERATION if I recall correctly.

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-07-2009, 06:59 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

How many threads to the inch are you using for screws? Also another thought, what is your base period and your latency? How many steps per inch were you using on your Xylotex?

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #7   Ban this user!
Old 04-07-2009, 07:08 PM
 
Join Date: May 2007
Location: USA
Posts: 86
725franky is on a distinguished road

Im not sure what exactly latency or base period are. I did do a latency test yesterday and my max jitter(that's what it said was important) was like 15000.

The motor isn't turning anything right now I don't have it hooked up to a lead screw. The IPM's are based on a 1/4 - 20 lead screw (taig mill).

My Xylotex was running like 10IPM on the z & 15-18 on the X & Y. Those were my rapid speeds.
Reply With Quote

  #8   Ban this user!
Old 04-08-2009, 05:38 AM
 
Join Date: Oct 2008
Location: US
Posts: 115
bharbour is on a distinguished road

Originally Posted by 725franky View Post
...just changing the steps per inch to 40000.
Is 40000 a typo, my misunderstanding or a problem? It seems to me like 400 steps per revolution on the stepper x 10 revolutions per inch on the machine axis should be 4000 steps per inch, not 40000. This would fit with stalling at speeds lower than expected.

BobH
Reply With Quote

  #9   Ban this user!
Old 04-08-2009, 06:09 AM
 
Join Date: May 2007
Location: USA
Posts: 86
725franky is on a distinguished road

Steppers are 200 steps per revolution machine is 20TPI and drive is 10 microsteps per step. Thus the 40,000 (200*20*10). With my Xylotex (8 microsteps) my steps per inch were 32,000 and that was correct.
Reply With Quote

  #10   Ban this user!
Old 04-08-2009, 10:22 AM
 
Join Date: Oct 2008
Location: US
Posts: 115
bharbour is on a distinguished road

Originally Posted by 725franky View Post
Steppers are 200 steps per revolution machine is 20TPI and drive is 10 microsteps per step. Thus the 40,000 (200*20*10). With my Xylotex (8 microsteps) my steps per inch were 32,000 and that was correct.
Sorry, I had not realized that the 540 was a microstepping drive.

BobH
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-08-2009, 01:12 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by 725franky View Post
Is the problem my computer? My mill was able to run 17-18IPM on one of its axes with my 24V Xylotex controller.

I'm confused. ...I'm really just looking to be able to rapid at around 30-50IPM...no less than 20IPM.
If the problem is with your computer, you have increased the number of steps required to move an inch by 25% (32,000 to 40,000). This would result in your top speed being reduced by 20%. 80% of 18 is 14.4, 80% of 17 is 13.6. So what you are reporting is consistent with your top speed being limited by the speed of your computer.

Alan
__________________
http://www.alansmachineworks.com

Last edited by acondit; 04-08-2009 at 04:45 PM.
Reply With Quote

  #12   Ban this user!
Old 04-08-2009, 11:08 PM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

Originally Posted by 725franky View Post
Im not sure what exactly latency or base period are.
The base period is recorded in the .ini file. For example, with your screw and 10 microstepping;
BASE_PERIOD = 50,000 gives a theoretical 15 ipm
25,000 = 30 ipm
15,000 = 50 ipm
At least I think that's right. Emc evolves quickly and there's some double-step thingy I still don't quite grasp. And then there's Gecko's morphing trickery that might also have some effect ? And of course you can't demand a base period beyond the computers capabilities. Man this stuff gets confusing !

If BASE_PERIOD is a high number (like 50,000) you could try lowering the setting until the computer starts to bog. I'm guessing however you have it set considerably lower. Maybe try running stepconf again using Gecko's timing specs ? Just plugging a new scale into an existing Xylotex .ini seems like asking for trouble

You could also ask on the emc-user-mailinglist. There's been some testing with the g540.
__________________
Anyone who says "It only goes together one way" has no imagination.
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
g540 Scooby Doo Gecko Drives 62 05-17-2009 01:44 PM
g540 and over-voltage draughted Gecko Drives 32 02-05-2009 01:55 AM
can you... BOB to G540? Fixittt Gecko Drives 7 01-28-2009 06:37 AM
G540 - WOW! LaserImage Gecko Drives 6 12-04-2008 03:30 PM
Newbie- Sieg X1 retrofit with Linux EMC2, CNC Fusion retrofit kit and Gecko G540 GreenLead Benchtop Machines 31 11-26-2008 11:55 PM




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