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 05-11-2009, 06:20 PM
 
Join Date: Feb 2009
Location: USA
Posts: 31
JeLC is on a distinguished road
Mach3 wont work, going back to EMC

I've had my machine up for about a month now. I originally started out with Linux/EMC but I had latency problems. Not being proficient at Linux, I decided to try XP with the trial version of Mach3 and my machine worked OK, but I'm losing steps extremely bad on the X and Z axis. Y is not as bad, but is still losing a little. I'm running a 2.4Ghz DFI LanParty MoBO with 512Mb ram and a Matrox G450 32Mb video card. The computer is dedicated to my cnc machine, so there is no network card and no other programs running except the machine controller software. I'm using the Gecko G540 driver and Keling 378oz motors. My table is approximately 34" (x) by 25" (y) by 5" (z).

I've seen posts in this section of people who went from XP/Mach to EMC with good results. I've read the sections about disabling the SMI, and right now, don't have a clue how to do it, but I guess I'm about to spend some time learning Linux, like it or not.

Now for my questions

1. Will more memory help the latency problems? I have two open memory slots on the MoBo, so I could easily upgrade. If so, how much is recommended.

2. I installed the Matrox graphics card into the Linux system before I formatted and loaded XP, and Linux did not recognize the card. I was stuck at 600X800 resolution. Is there an open source (Linux compatible) driver for the G450 card.

3. I've read that disabling SMI can cause the MoBo to overheat. Can I use a large external fan to keep it cool and expect acceptable results.

4. What value of latency is acceptable. When I ran the latency test while still running Linux, I was getting upwards of 46uSec at idle, and when taxing the system by playing some games, moving files, etc, it would occasionally spike to 50 and 60 uSec. (and those values may be nano seconds. You people more familiar with this than me please correct me if I'm wrong).

5. What other tip/tricks are out there for me to try to minimize the latency problem. I don't want to scrap this thing, but I have just about reached my spending limit, at least until I get some better cuts than I've gotten so far.

6. Should I get the latest version of Linux/EMC or would I be better off with one of the older versions. I'm right now downloading Ubuntu 8.04 with 2.3 (I think) EMC. It looks to be just recently released. I already have an older version of Ubuntu (live cd) and if I recall correctly, it's version 6.xxx with EMC 2.2.6 (again, I hope I'm remembering correctly).

Any help and or recommendations will be appreciated.

Last edited by JeLC; 05-11-2009 at 06:24 PM. Reason: Need Help
Reply With Quote

  #2  
Old 05-11-2009, 06:34 PM
dertsap's Avatar
Gold Member
 
Join Date: Oct 2005
Location: canada
Posts: 3,668
dertsap is on a distinguished road
Buy me a Beer?

Originally Posted by JeLC View Post
I've seen posts in this section of people who went from XP/Mach to EMC with good results..
Ive had reversed results , my system runs much better and faster than i was ever able to get with emc . linux was much harder on resources .
is there any chance the accel was set too high , generally lost steps are due to accel or velocity being set too high
__________________
A poet knows no boundary yet he is bound to the boundaries of ones own mind !! http://cnctoybox.org
Reply With Quote

  #3   Ban this user!
Old 05-11-2009, 07:21 PM
 
Join Date: Feb 2009
Location: USA
Posts: 31
JeLC is on a distinguished road
Vel/Acc

On recommendation from someone at ArtSoft (Mach3), I have lowered the Acc/Vel down to a crawl on all axis. (cutting at 10 IPM) And I've also, (again from ArtSoft recommendations) added 1, 2, 3, 4 and 5uSec to the step and dir pulse widths. (It appears in the bottom right corner of the motor tuning dialog under Config in Mach3 and I've tried all of the above values).

Just for an example, I tried another test cut today. Did a V-Bit engrave on 3" letters .3" deep on MDF. I have to split my toolpaths and cut the letters separately. (500 line max on trial Mach3) I checked the z height after each cut. Just cutting a simple 3" high letter, and my Z would be about .3" high when I go back to (work) zero. And the bevel would be off in the x direction about .1".

I have threads about this in the Mach and DIY sections on here and the Mach3 group on Yahoo, so I've tried a lot of things to get this fixed.

Looks like my only alternatives is to get EMC running and work on the latency, or go with another MoBo. And I hesitate to buy another processor/MoBo in fear of ending up with the same problem. The system I'm using works great for a general purpose PC, but it just doesn't like to run real time.
Reply With Quote

  #4  
Old 05-11-2009, 07:36 PM
dertsap's Avatar
Gold Member
 
Join Date: Oct 2005
Location: canada
Posts: 3,668
dertsap is on a distinguished road
Buy me a Beer?

i honestly have a hard time believing mach could be causing the lost steps , I run 2.5d profiles that will run for hours without any trouble , youve got plenty of computer to run mach smoothly , is it possible that its a mechanical issue and not a software issue
what type of machine are you running with it ?
__________________
A poet knows no boundary yet he is bound to the boundaries of ones own mind !! http://cnctoybox.org
Reply With Quote

  #5   Ban this user!
Old 05-11-2009, 07:59 PM
 
Join Date: Feb 2009
Location: USA
Posts: 31
JeLC is on a distinguished road
My setup

I'm running a Gecko G540 with 387oz Keling motors. I have 48" (x), 36" (y) and a 12" (z) Acme lead screws (all 1/2"-10 pitch). I'm using the Fine Line Automation anti backlash nuts. I constantly check the tightness of the set screws on my couplers between the lead screws and motor shaft, so I'm confident they are not slipping. I also have gone thru the steps per unit calibration many times, and it is dead on. In other words, I tell it to travel 8 inches, and it measures 8 inches)

I built a variation of the JPGO (I think that's the name) machine from the DIY section. I'm using 1 1/2" black gas pipe with roller skate linear bearings on the x and y axis and 1" pipe on the Z. It's built out of MDF, but it's is built well and it's square and plumb in all directions. I've been a wookworker all my life, so building the wooden parts were easy. I have good woodworking equipment (table saw, router table, chop saw, radial arm, etc) so I know the table is built right.

I've watched and rewatched the Mach3 support videos until I almost know them word for word. I really don't know what else to try with Mach3.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-11-2009, 08:34 PM
 
Join Date: Apr 2009
Location: USA
Posts: 77
nikodell is on a distinguished road

I had poor latency with a G400 Matrox card on the system I am setting up so i switched it for a Nvidia card and the issue was gone.
Reply With Quote

  #7   Ban this user!
Old 05-11-2009, 08:53 PM
 
Join Date: Feb 2009
Location: USA
Posts: 31
JeLC is on a distinguished road
Been the Nvdia Route also

I bought the Millennium G450 because of a few people on here saying it would work help. I originally had a 32 Mb Nvidia, and also tried an ATI 64Mb card, and neither of them helped. All had just about the same latency under Linux. I haven't tried the two other cards on the XP system, so I guess that's something I could try. I'll do that tomorrow and see what happens.
Reply With Quote

  #8   Ban this user!
Old 05-11-2009, 09:32 PM
 
Join Date: Apr 2009
Location: USA
Posts: 77
nikodell is on a distinguished road

odd I would suspect that you may have some other issue than
Reply With Quote

  #9   Ban this user!
Old 05-12-2009, 08:02 AM
 
Join Date: Feb 2009
Location: USA
Posts: 31
JeLC is on a distinguished road
Time to troubleshoot

Before giving up on Mach, I'm going to change out some things. I'm going to try a PCI Parallel port and a new cable. I'm also going to change out the wiring from the Gecko to the motors. Try to find a higher quality shielded cable at a lower gauge. I'm right now using 22 gauge shielded, and will replace it with 18 gauge shielded.

Just start eliminating anything that could be causing problems and worry about the latency last, because that basically calls for another system. Hopefully the parallel port will help a little, and another cable can't hurt, I hope. The 18 gauge wire was really what I should have put on originally, but I had the 22 gauge laying around and decided to try it.
Reply With Quote

  #10   Ban this user!
Old 05-12-2009, 04:12 PM
solodex2151's Avatar  
Join Date: Nov 2006
Location: USA
Posts: 226
solodex2151 is on a distinguished road

You should check your nuts and see that they are properly aligned. The clue that things are misaligned there is that it gets harder to turn as the gantry approaches the end of the travel. This is because things are binding.

To get this aligned, first ensure the ACME nut is riding on the screw and that the nut sits precisely on the top of the gantry's bottom rail. I left the bearing blocks loose and rolled the gantry to the far (non-motor) end of the table. At this point, the far-end bearing block will drift into place and you can tighten that down. Then roll the gantry to the other end. With those bearings and motor mount also loose, they will want to drift into place. Let them go where they want, and then tighten everything down. The crank the gantry to the middle of the table, and using piece of plywood across the short axis of the table, ensure the height from the bottom of the ply to the drill rod is consistent. Manually cranking the drill rod using the coupler for extra leverage should reveal that the motion is smooth across the entire range of usable motion. If it's not, try again.

Note, too, that if your 8020 ends aren't perpendicular to the sides, then the end bearing can easily distort and bow the leadscrew. You'll see this if the gantry is midway and you have a gap.

Check this and your other mechanicals before you continue. You should be able to turn all of the leadscrews by hand.

Regards,

Nate
Fine Line Automation
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-12-2009, 06:27 PM
tumutbound's Avatar  
Join Date: Dec 2007
Location: Australia
Age: 59
Posts: 278
tumutbound is on a distinguished road

2. I installed the Matrox graphics card into the Linux system before I formatted and loaded XP, and Linux did not recognize the card. I was stuck at 600X800 resolution. Is there an open source (Linux compatible) driver for the G450 card.
I'm running a Matrox G450 at 1900x1200 resolution without any problems. This is with a standard Linux distribution, no additional drivers.
__________________
Regards
Geoff
Reply With Quote

  #12   Ban this user!
Old 05-12-2009, 07:06 PM
LeeWay's Avatar  
Join Date: Jun 2004
Location: USA
Posts: 2,398
LeeWay is on a distinguished road

Just for giggles, try the Sherline mode. For some reason, this has cleared up issues like yours for other with the 540.
Not sure why that fixes it, but it does in some cases.
__________________
Lee
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
Boxford 280 Turnmaster wont work flannman Machine Problems, Solutions , Wireless DNC, serial port 0 11-18-2007 04:12 AM
Why wont this work????? epineh General Electronics Discussion 7 03-18-2007 12:44 AM
just a program that wont work kangarabbit G-Code Programing 13 09-02-2006 09:38 PM
mach 2 wont run pbmann123 Mach Software (ArtSoft software) 1 08-23-2005 03:42 AM
Syntax or just wont work??? murphy625 CamSoft Products 1 04-05-2005 07:16 PM




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