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 08-31-2007, 09:23 AM
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road
EMC2 under VMWare?

Will EMC2 run under VMWare on Windows, does anyone know?

I don't necessarily have to actually drive a machine with it, but for the purpose of toolpath simulation, program testing, etc, it'd be nice to be able to do this on my Windows box (where I have my CAD/CAM package...)

Thanks!
Reply With Quote

  #2   Ban this user!
Old 08-31-2007, 10:24 AM
Seb Seb is offline
 
Join Date: Jan 2006
Location: USA
Posts: 58
Seb is on a distinguished road

I think it should. I've run it in Qemu under Linux (Qemu is another virtual machine similar to VMWare). I did not run any realtime code, but the Axis GUI in simulation mode worked fine for previewing the machine motions.
Reply With Quote

  #3   Ban this user!
Old 08-31-2007, 08:10 PM
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road

Hot Diggety Dog!!

Downloaded the free VMWare server and set that up (on my Windows box). Downloaded the Ubuntu/EMC ISO file and installed that in the virtual machine.

Am now running EMC2 in the VM, and am able to do the toolpath simulation, enter/test gcode, etc.

This is very cool - I can now do my Windows-based CAD/CAM and NC generation, and then test them out in EMC all on the same machine! (In fact, I have a decent-sized NC program running in EMC right now, under Linux, as I type this message in my Windows web browser... :-)

This was very straightforward to do, so I'd definitely recommend giving it a try!!

Jim
Reply With Quote

  #4   Ban this user!
Old 09-16-2007, 11:43 AM
 
Join Date: Aug 2007
Location: Canada
Posts: 5
AdamM is on a distinguished road

The only problem with VMware is that only hardware usable on the host machine is usable on the virtual machine. Also it only supports standard computer hardware nothing like the fancy I/O cards that would be needed for a cnc retrofit with EMC.


If you want to use windows and linux on the same machine and still have full functionality I suggest Dual-booting. Generally use install windows first then make a drive partition or install a 2nd HD, reboot with linux install cd and install on the empty partition or drive. You will then have the option of choosing your operating system at startup.

What I did was to install linux only then VMware in linux, so Windows was my virtual machine. I run mastercam and solidworks from it without problems. It then gives me fully hardware functionality within linux where you need it.



AdamM
Reply With Quote

  #5   Ban this user!
Old 09-16-2007, 07:28 PM
 
Join Date: Oct 2003
Location: AR
Posts: 5
jrcrane is on a distinguished road
Talking

Jim,

I too was wandering if I could run EMC on VMW and about 2 months ago I gave it a try and was successful on the first try. Very easy and straight forward to setup and test.

Reg
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-17-2007, 08:29 AM
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road

AdamM - luckily, I'm not trying to actually drive my hardware from the VMWare instance - I just wanted to have a co-habitant Linux environment that I could simulate my gcode on with EMC. I do my CAD/CAM steps on Windows (Using Dolphin Partmaster), then transfer the gcode files to my Linux box to do the actual driving w/ EMC. Its a bit of an iterative process, and EMC sometimes complains about something that Dolphin produces, or doesn't do what I expected (user error), so I'm just trying to avoid the hassle of having to physically transfer files, switch between machines, etc on each iteration. I can do my CAD/CAM stuff, alt-tab to my Ubuntu VMWare session, open and simulate the file in EMC, see what happens, alt-tab back to Dolphin, make a change, go back to EMC and test it out, etc. Then, when its all set, I copy it to my actual Linux box, crank up EMC and there are (hopefully!) no surprises! :-) Plus, w/ Dolphin and VMWare on my laptop, I can play with stuff wherever I'm at, whenever I have a few free minutes.

If I didn't have a dedicated machine for my cnc setup though, you're right, I'd have to setup a dual-boot system. I've had no luck driving my CNC setup reliably from windows, thus the switch to EMC on Linux. (Which has worked flawlessly!!)
Reply With Quote

  #7   Ban this user!
Old 09-17-2007, 08:33 AM
 
Join Date: Dec 2006
Location: USA
Posts: 62
jim_stoll is on a distinguished road

jrcrane - isn't technology wonderful?!? :-) The very fact that I, a small-time hobbiest, can have a CNC setup in my basement, can do my design in one operating system, can simulate it in another OS on the same machine, can wirelessly transfer files to my dedicated CNC computer, can actually cut metal as a result, etc is a little mind-boggling!! :-) This is way-cool stuff!!!!!
Reply With Quote

  #8   Ban this user!
Old 09-17-2007, 06:09 PM
 
Join Date: Sep 2007
Location: US
Posts: 20
stratcat50 is on a distinguished road

It *MIGHT* work slowly in simulation mode. Never as a real controller though.
EMC requires the RT kernel and wouldn't get near enough of the CPU.
Possibly run from the live CD and open files from your HD and save your ini files there too. Might have to have a FAT32 partition for that. That's what I was going to do when I started with EMC. After playing with it less than 6 hours,
there was one less windows machine in the world. I clicked "Install". The CNC machine plays well with our windows network for file xfer. It's just an IBM Celeron 800 with 256MB. You should be able to find one in the $50 range at a local PC shop or yard sale.
HTH, Emory
Reply With Quote

  #9   Ban this user!
Old 11-29-2007, 01:04 PM
 
Join Date: May 2007
Location: US
Posts: 55
flyon is on a distinguished road

I tried last night to run EMC2 in VMware and it runs fine. But when I when to "simulation" the program it was very slow. It was probably trying to send the control signals to the port, as it should be doing.

Is there a way to simulation a run but not to send the signals to the port? Or is the problem the RT kernel, and thus there is no way for it get enough cpu time?

EMC2 runs fine as a real controller for my cnc machine. I just wanted to simulation in VMware on my windows machine first.
Reply With Quote

  #10   Ban this user!
Old 11-29-2007, 05:43 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Flyon,

There is a sim version of emc2 that sends signals to the speaker instead of the parallel port.

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

Sponsored Links
  #11   Ban this user!
Old 11-29-2007, 11:44 PM
 
Join Date: May 2007
Location: US
Posts: 55
flyon is on a distinguished road

Thanks Acondit,
I used one of the sim configs and now it works fine under VMware when trying to 'run' any GCode.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
dvenna
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
EMC2 to diy CNC dakiller322 LinuxCNC (formerly EMC2) 11 10-05-2007 12:16 AM
VMWare Fusion for MAC WayneHill Computers and Networking 3 07-24-2007 04:58 PM
Emc2 sdantonio Mach Mill 2 02-05-2007 02:26 PM
emc2 -hal*? essa LinuxCNC (formerly EMC2) 3 05-27-2006 12:06 PM
emc2 heilcnc LinuxCNC (formerly EMC2) 2 05-23-2006 05:03 PM




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