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 01-11-2012, 01:41 PM
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road
Seeking some troubleshooting advice

I've got emc up and running under the 10.04 distribution. It is running well enough (I use the mill several hours most days), but I'm occasionally getting an rtapi error, and if I don't have emc running, the machine will invariably crash within a few minutes. If I have emc up, it will run pretty much indefinitely (I've left it on for days at a time), though I do occasionally see the rtapi warning. (Not often - maybe once every 10 sessions or so.)

Another thing of note, and this maybe normal, but once I start up emc (I use Axis, so whatever bits and pieces of emc are running when Axis is going), the machine becomes largely unusable for anything else - even alt-tabbing to the calculator is slow, scrolling in gedit is painfully slow, trying to fire up Firefox or Chrome to look something up online is just about un-doable. Once emc is shut down, these apps become very reasonably responsive.

While an older machine, my setup is nothing terribly decrepit (I'm at work, and the machine is at home, so I don't have any specs in front of me.) I ran the latency test and used the numbers generated there (again, machine at home, I'm at work), so I can report those numbers back, if it helps. They weren't too far off of what my old setup on my old machine was, so I didn't consider them worrisome. (Old setup was still running the Ubuntu 6 version, and wouldn't run the 10.04 version.)

I'm not looking for major hand-holding (yet :-), but am seeking some directions in which to look that are most likely to yield results or usable information. If there are specifics that I can provide to help, please let me know.

Thanks!
Reply With Quote

  #2   Ban this user!
Old 01-12-2012, 12:42 AM
 
Join Date: Jul 2009
Location: NL
Posts: 133
CaptainVee is on a distinguished road

I think that it is probably the realtime kernel working that slows the rest down. The real time kernel gives priority to emc over anything else. So if your machine has some trouble it is not strange that other software slows down.

What kind of latency figures are we talking about here, with what kind of hardware?

What I do not understand is what you mean with the first part of your post. Have the machine running without emc "up"
__________________
Sven
http://www.puresven.com/?q=building-cnc-router
Reply With Quote

  #3   Ban this user!
Old 01-12-2012, 09:19 AM
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road

Oops, sorry, didn't get this until now (back at work, of course :-) I'll reply with latency numbers this evening.

On the 'up and running' comment - I mean just the PC itself, without the emc/axis program started - just boot up, log in and either let it sit there, or startup other apps, but not emc/axis. When I do this (ie, PC/Ubuntu running, emc/axis not running), it will crash within a few minutes. Similarly, if I use emc/axis, all is good - no crashes, but if I then shut emc/axis down and let it sit for a little while, it crashes. There's something going on, with emc/axis keeping the machine 'busy' or something, that seems to prevent the crash, but without emc/axis running, its guaranteed that its going to crash. I haven't been able to get any error messages when it happens - the screen is blank, or blank with some large vertical white blocks, but I haven't seen any text. Just curious if others have had similar behavior, or if this is some personal oddity.

Good to know that its not uncommon to have emc hog up the CPU and/or OS - its not a huge deal, I just wanted to be sure it wasn't indicative of some larger problem, especially in the context of the crashes.

Thanks for your assistance!

Jim
Reply With Quote

  #4   Ban this user!
Old 01-13-2012, 03:11 AM
 
Join Date: Jan 2007
Location: UK
Posts: 97
cncbasher is on a distinguished road

you dont say which version of EMC you are running 2.4.x or 2.5 etc
or the spec of the machine , so it's difficult to pin down exactly , but could be your missing some update.
you should have a minimum of 1gig of ram also

the crashing you describe , could indicate a possible hd / graphic failure on the horizion
or that the pc is just not up to running emc and is marginal

just so many variables to pin down
Reply With Quote

  #5   Ban this user!
Old 01-20-2012, 07:56 PM
 
Join Date: Sep 2008
Location: UK
Posts: 125
andypugh is on a distinguished road

Originally Posted by jim_stoll View Post
Another thing of note, and this maybe normal, but once I start up emc (I use Axis, so whatever bits and pieces of emc are running when Axis is going), the machine becomes largely unusable for anything else
Try a longer base-period, and see if that costs you any rapid speed. If you are hitting mechanical limits before software limits then there is no point running too short a base period.

What you might have is a slow computer with reasonable latency, so that it can handle the base period timing, but the execution time of the thread doesn't leave much time for anything else.

eg, a latency of 10,000nS but a machine which takes 9,000nS to run the base-period tasks will give fast stepping, but sluggish performance. Increasing the base period to 20,000 would massively increase performance but would have peak step rate. However if the steppers stall out at 1kHz, that's no problem.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-20-2012, 10:46 PM
 
Join Date: Nov 2011
Location: u.s.
Posts: 32
helpmeout is on a distinguished road

when i first installed ubuntu/emc2 on mine with xp as the second boot-up. i could not get it to run hardly at all. i found a video-card that was laying around in some of my junk. a decided to see if that was my problem the computer i use has an onboard video that kept emc2 from running give that a whirl and see but just use an older video card, you might have an older one lying around also.that fixed mine.had to go into bios setup and tell it to use the add-on card tho.
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
Newbie- Seeking advice on engraver/router Danskur Commercial CNC Wood Routers 2 06-07-2010 01:51 PM
Seeking advice kling8 General Business Practices and Pricing 3 05-18-2010 06:57 AM
Seeking advice on GE/Fuji AF-300 VFD jimjovan Phase Converters and VFD 2 04-04-2010 08:21 PM
Need Help!- seeking any and all advice kling8 Welding, Brazing, Soldering, Sealing 2 02-19-2010 11:39 AM
SEEKING ADVICE kling8 WoodWorking 3 11-19-2009 02:19 AM




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