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 10-30-2007, 02:29 PM
 
Join Date: Oct 2007
Location: US
Posts: 7
slizynski is on a distinguished road
CNC Mill with EMC2

My teacher has a Lab Volt 5600 CNC Mill and asked me to hook it up to a linux box. I installed the Ubuntu 6.10 distribution with EMC2 pre-installed and I have it connected via serial port. Upon starting the EMC2 software I was asked to choose a default configuration. I have no idea what to do, I've never worked with any sort of CNC machinery and I have some limited experience with Linux. Can anyone point me in the right direction?
Reply With Quote

  #2   Ban this user!
Old 10-30-2007, 03:20 PM
 
Join Date: Jul 2005
Location: UK
Age: 29
Posts: 441
daedalus is on a distinguished road

Do you mean serial port there, or printer port?
Reply With Quote

  #3   Ban this user!
Old 10-30-2007, 07:03 PM
 
Join Date: Oct 2007
Location: US
Posts: 7
slizynski is on a distinguished road

It's a serial port. He already had it connected to the mill, so I just used that.
Reply With Quote

  #4   Ban this user!
Old 10-30-2007, 09:31 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

slizynski,

Generally speaking, EMC2 is really not setup to run via serial port. If you really want to convert this mill to run with EMC2, you will need to determine what signals are needed to activate its drives, bypass its on board computer and interface (through a parallel port) to its drives, switches, etc. It is probably not an overnight job.

Does it use servo drives or steppers?

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

  #5   Ban this user!
Old 10-31-2007, 12:32 PM
 
Join Date: Jul 2005
Location: UK
Age: 29
Posts: 441
daedalus is on a distinguished road

acondit is right, to be honest unless you want to stick with the software that comes with it you will need to do some rewiring. Worst case you may have to upgrade the drives.

If you can open the casing and take some photos of the controller / drives and post them here, we might be able to help identify whats involved.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-31-2007, 02:23 PM
 
Join Date: Oct 2007
Location: US
Posts: 7
slizynski is on a distinguished road

The mill has a parallel port connection so I could ask my teacher if he has a cable and hook it up to the printer port. Would that work?

Edit:
I was mistaken, the mill doesn't have a parallel port. I found a serial to parallel adapter so I connected it to the printer port on the computer. Will this work.

Last edited by slizynski; 10-31-2007 at 03:08 PM.
Reply With Quote

  #7   Ban this user!
Old 10-31-2007, 04:09 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by slizynski View Post
The mill has a parallel port connection so I could ask my teacher if he has a cable and hook it up to the printer port. Would that work?

Edit:
I was mistaken, the mill doesn't have a parallel port. I found a serial to parallel adapter so I connected it to the printer port on the computer. Will this work.
The quick answer is no.

The reasons that the parallel port is required relate to the speed of actions and reactions that is required and the number of signals that must set by the computer (outputs) and monitored by the computer (inputs). For a stepper driven system the computer must flip signals for each step that a stepper takes (on, pause (very short), off or off, pause, on depending on the polarity that the driver requires. So on a three axis mill that potentially means three different signal pins being flipped up to several thousand times a second. If it is servo driven the signals can be even more complicated. Most of the guys who work on emc2 say that a serial protocol just can't handle the load (although there is an ongoing discussion about the possibility of doing down the road with ethernet).

Most serial to parallel converters won't even come close to generating the signals needed to emulate a parallel port for this use. You don't want to have a mill hit a limit switch at high speed and not have the controller respond immediately.

And, finally, if the machine expects serial input to communicate with an on board processor, you would need to know what the software interface between LabVolts software and the on board processor is like. This would basically require a serial line monitor to trap the communications stream and reverse engineer the protocol. I have done this before and believe me it is not an easy task.

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

  #8   Ban this user!
Old 11-01-2007, 10:07 AM
 
Join Date: Jul 2005
Location: UK
Age: 29
Posts: 441
daedalus is on a distinguished road

Acondit is right, it isn't practical to use the current serial port protocol in EMC or mach, you need to interface to the mill in a different way. This doesnt have to be an expensive change, but you will need to assemble / buy a few pcbs, and do some wiring.

The safest way to proceed would be to build a seperate controller, with 3 stepper drives and a parallel interface. That way you would just plug the stepper motors into the new controller to use emc/mach, and if you ever want to go back you can just hook the motors into the mills internal controller again.

To do this you will need:
a parallel port breakout pcb
3 stepper drives
a power supply for the steppers

Assuming you need to do this on a tight budget, and you have the ability to etch some simple pcbs, then i would look at the following places for parts.
http://www.cnc4pc.com breakout board
http://www.fromorbit.com/projects/picstep/index.php stepper drives
Reply With Quote

  #9   Ban this user!
Old 11-01-2007, 11:16 AM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by daedalus View Post
Acondit is right, it isn't practical to use the current serial port protocol in EMC or mach, you need to interface to the mill in a different way. This doesnt have to be an expensive change, but you will need to assemble / buy a few pcbs, and do some wiring.

The safest way to proceed would be to build a seperate controller, with 3 stepper drives and a parallel interface. That way you would just plug the stepper motors into the new controller to use emc/mach, and if you ever want to go back you can just hook the motors into the mills internal controller again.

To do this you will need:
a parallel port breakout pcb
3 stepper drives
a power supply for the steppers

Assuming you need to do this on a tight budget, and you have the ability to etch some simple pcbs, then i would look at the following places for parts.
http://www.cnc4pc.com breakout board
http://www.fromorbit.com/projects/picstep/index.php stepper drives
I looked at the LabVolts site. If the mill is a new mill then I would not convert it to steppers if it already has servos. You do need to find out what kind of motors and drives that it has on it before making any other decisions.

It may be an extremely easy matter to convert to EMC2 or it may take some serious work. You need to determine what kind of motors and drives it has to have a clue about what is required.

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

  #10   Ban this user!
Old 11-01-2007, 11:30 AM
 
Join Date: Jul 2005
Location: UK
Age: 29
Posts: 441
daedalus is on a distinguished road

Alan,
From looking at the site i was under the impression that the Lab Volt 5600 CNC Mill was stepper driven. http://www.labvolt.com/display_left....84&view=topics mentions this in the description.

If that isnt the case i did not mean to suggest changing to steppers.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-01-2007, 02:10 PM
 
Join Date: Oct 2007
Location: US
Posts: 7
slizynski is on a distinguished road

The mill is stepper driven, so that means I have to make a seperate controller?
Reply With Quote

  #12   Ban this user!
Old 11-01-2007, 03:29 PM
 
Join Date: Jul 2005
Location: UK
Age: 29
Posts: 441
daedalus is on a distinguished road

You might not HAVE to make a seperate controller, but it would be the easiest route to take, as you dont have to spend any time figuring out how the old one works.

If the mill has discrete stepper drives inside it, you could reuse them, but without a photo or two of the insides i have no way of telling. If the mills current controller is just a big pcb with 3 stepper drivers integrated and a microprocessor, then the only thing you will be able to salvage is the power supply (i suspect this is how it will have been built).

The other issue is that if this mill is currently working (with the old software), building a seperate controller means you dont do anything irreversable.
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
EMC2 to diy CNC dakiller322 LinuxCNC (formerly EMC2) 11 10-05-2007 12:16 AM
EMC2 on Dahlih knee mill stustev LinuxCNC (formerly EMC2) 0 08-13-2007 06:23 PM
new Taig 4-axis mill and EMC2 nickydubs LinuxCNC (formerly EMC2) 3 02-23-2007 09:09 AM
Emc2 sdantonio Mach Mill 2 02-05-2007 02:26 PM
emc2 -hal*? essa LinuxCNC (formerly EMC2) 3 05-27-2006 12:06 PM




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