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-20-2011, 12:14 AM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road
need a bit of help setting up emc2 on my router

so im thoroughly fed up with mach3. it hates me, or my gecko g540, or maybe its suicidal. in any case its stalling during contouring programs and im about to give up.

ive downloaded the latest emc2 live cd. id like to install it and try it out on my machine today. the hitch is, that the machine in in no internet land, so i need to have everything ready ahead of time. can someone give me a comprehensive list of things i might need to download ahead of time to get this working?

ive got:

- amd athlon dual core PC (very new)
- pci express paralell card.
- gecko g540 drive set.
- colombo spindle with delta inverter which in theory connect to the gecko pwm but has never worked right.

its a pretty basic setup, and i think theres linux drivers for everything hardware wise.

thanks
Reply With Quote

  #2   Ban this user!
Old 01-20-2011, 05:43 AM
GaryCorlew's Avatar  
Join Date: Jan 2006
Location: Usa
Age: 55
Posts: 347
GaryCorlew is on a distinguished road

From your list the only thing I see that you may need a driver for is your parallel card, Most likely you have usb ports and if you have a usb key/jump drive then you can put the driver on that and just install it. I would suggest that you boot the computer from the live cd and check the latency, I am no expert by any means but I am heading down the same road for other reasons, and I am nearly at the end of it. You may also want to dual boot so that if you change your mind you can go back to mach
Reply With Quote

  #3   Ban this user!
Old 01-20-2011, 07:22 AM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road

Originally Posted by GaryCorlew View Post
From your list the only thing I see that you may need a driver for is your parallel card, Most likely you have usb ports and if you have a usb key/jump drive then you can put the driver on that and just install it. I would suggest that you boot the computer from the live cd and check the latency, I am no expert by any means but I am heading down the same road for other reasons, and I am nearly at the end of it. You may also want to dual boot so that if you change your mind you can go back to mach
merci.

my home computer uses the same mobo, so ive tried the live cd on it. seems to work. i picked g540 in the wizard and its all set up. of course this machine has no parallel card. the os will be installed on its own hard drive, so it wont interfere with my old mach installation.

so by the look all i need is the parallel driver, and some "instructions" written down for settings i might need that ive swiped from the net.

fun fun! maybe. haha.

this computer is giving me a max latency of 13700 if im reading it right. its a quad core 2.9ghz. does that seem poor or good? to me it seems bad as it only allows a 45khz pulse rate which is at the lower limit of the speed id like this machine to run. the other machine is an underclocked 2.1ghz dual core.
Reply With Quote

  #4   Ban this user!
Old 01-20-2011, 12:45 PM
GaryCorlew's Avatar  
Join Date: Jan 2006
Location: Usa
Age: 55
Posts: 347
GaryCorlew is on a distinguished road

I think that latency is good, again I'm no expert. I have read somewhere that there is a version of ubuntu for multiple processors and if I remember correctly people were saying some very positive things about it! I assume your going to copy your ini , and hal files from one machine to the other? Linux is case senesitive, so keep that in mind! There is a lot of good stuff on the Linux wiki
EMC Documentation Wiki: Latency-Test
Reply With Quote

  #5   Ban this user!
Old 01-20-2011, 01:15 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

You don't need a driver for the pci printer port. You probably want to this wiki page for finding out your printer port address for the step config wizard. (it probably isn't 0x378)

EMC Documentation Wiki: Hooking Up A MPG Pendant

(using lspci -v)

as far as what to have on hand. I think you can get the latest emc debs from the website to install. (but it is really nice to have internet on the machine to be able to get help troubleshooting though IRC or internet searches.) (it isn't like mach - you can acutally use the computer for other things while it is running the machine)

this is an extreme - but look at the task bar
http://www.electronicsam.com/images/...nt4-26ghz1.png

sam
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-20-2011, 01:24 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

You should get them from here.

Index of /lucid/dists/lucid/emc2.4/binary-i386

(the latest there is emc2_2.4.6_i386.deb)


I think the latest deb is here.

Latest Stable

(emc2_2.4.6-21-gdaf7991_i386.deb seems to be the current one.)

sam

(ps - I have not done that before)

Last edited by samco; 01-20-2011 at 03:14 PM.
Reply With Quote

  #7   Ban this user!
Old 01-20-2011, 06:55 PM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road

i got it running, was fairly painless. but already its seeming useless to me.

the ui is so basic it commical. but thats not really where my problem is. my gecko g540 as well as my g203 machines dont work well with standard microstepping. when the axis is moving slowly, like at the top of a circle the motors wont turn. so you get losts steps and flattened circles. the way you fix this is enabling sherline mode in mach3.

i do not see any equivelant in emc2 (i dont see much of ANYTHING in emc2). this means it wont work with my machines.

its a shame too, cause it blasts through my programs at 500ipm with no hint of stalling. i could live with the useless UI if i could get the geckos running correctly.
Reply With Quote

  #8   Ban this user!
Old 01-20-2011, 07:59 PM
GaryCorlew's Avatar  
Join Date: Jan 2006
Location: Usa
Age: 55
Posts: 347
GaryCorlew is on a distinguished road

You could get on the irc chat and they could probably help you quickly, You could try setting your parallel reset time higher, I'm not sure exctally what it does but its worth a try rather than just giving up, It will be in your hal file just make a copy of your hal in case things go wrong.
setp parport.0.reset-time 5000
Reply With Quote

  #9   Ban this user!
Old 01-20-2011, 08:20 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

go back through the stepper configuration utility and try these timing numbers. (it is on the 'basic machine information page')

EMC Documentation Wiki: Stepper Drive Timing

what ui are you using? useless is a pretty strong word.

sam

Last edited by samco; 01-20-2011 at 08:28 PM. Reason: used the wrong word ;)
Reply With Quote

  #10   Ban this user!
Old 01-21-2011, 03:38 AM
 
Join Date: Jun 2007
Location: canada
Posts: 2,339
ihavenofish is on a distinguished road

Originally Posted by samco View Post
go back through the stepper configuration utility and try these timing numbers. (it is on the 'basic machine information page')

EMC Documentation Wiki: Stepper Drive Timing

what ui are you using? useless is a pretty strong word.

sam
ooh, thanks. that might be useful, as my understanding is that sherline mode doubles the pulse time or something. ill need to poke at those settings. when you pick "g540" they are all greyed out so i overlooked them.

as for the ui, i tried them all actually, but i guess axis is the main one. useless is a strong word, but i think its accurate. it runs the program, but seems to have virtually no other functionality. even things as simple assetting the coordinates to a specific point it seems not to be able to do. i dont see a way to pick a line in the program and run from there.

but a weak ui is better than a stalling piece of junk mach3 though, so we'll see if i can get this working. (im very bitter today, i wasted 7 hours and got nothing useful done)

im also curious about CV mode. its working, but it seems to be kinda low performance compared to mach. for example if i command a 500ipm speed, and set the cv tolerance to 1mm, its only hitting 300ipm, and a tolerance of 1mm is huge. if i raise the tolerance to 2mm, it gets closer to the commanded speed, but 2mm seems far too much path deviation for my liking. is there a setting for look ahead lines in emc? maybe it needs more lines to keep it up to speed.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-21-2011, 06:40 AM
GaryCorlew's Avatar  
Join Date: Jan 2006
Location: Usa
Age: 55
Posts: 347
GaryCorlew is on a distinguished road

As far as the UI goes you need to look into pyvcp, you can add/make it most anything you want as far as looks/usefulness, and also check out gladevcp(coming soon) glade looks like it will be even better and probably easier. In my opinion axis is a minimal UI after that you have to make what you want
Reply With Quote

  #12  
Old 01-21-2011, 06:56 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

Can you try a PCI parallel port, or a different PC?

I thought it was determined that if you need to run MAch3 in Sherline mode for the G540 to work, then the problem lies in the PC, basically a substandard parallel port. Sherline mode uses 40us pulse width, and the G540 is designed to run with 2us.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
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
Need Help!- Setting Up EMC2 electric2u LinuxCNC (formerly EMC2) 0 03-21-2010 07:55 PM
How setting tools and setting offset John246 Sharp CNC 9 03-17-2010 09:31 PM
setting machine to go home on a gantry style router chipmassa Mach Mill 0 07-18-2009 03:06 PM
EMC2 to diy CNC dakiller322 LinuxCNC (formerly EMC2) 11 10-05-2007 12:16 AM
CNC Router setting up the PC KP23 General CNC (Mill and Lathe) Control Software (NC) 0 06-13-2005 01:05 AM




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