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 07-10-2007, 09:42 AM
 
Join Date: May 2005
Location: USA
Posts: 16
IMSlo is on a distinguished road
Parallel Port Question

I just bought a new laptop. It is equiped with a 160 GB harddrive and of course Vista. I am toying around with installing Ubuntu and EMC2 as a dual boot system because I think the harddrive is big enough to handle it. I built JRGO's machine a couple years ago. I have always wanted some type of graphical display but can not justify buying software because there is no return and I only run the machine occasionally.

I have two gnawing questions that I must resolve before taking the plunge.

I am running a Hobby CNC 4aup (or what ever number) chopper board and of course it is connected to the computer via parallel port. My new laptop has nothing but usb ports. I saw a usb to parallel port cable where I purchase my computer. It was very overpriced ($50). I was just trying to find out if there was such a thing. I could probably get one much cheaper with a little research.

Now after all that blabber question #1.
Will this usb to parallel port work with EMC and my chopper board?

Question #2
All of my G Gode will be generated by Windows applications.
Will Windows generated G Code work with EMC2?

Thank You.
Reply With Quote

  #2   Ban this user!
Old 07-10-2007, 10:01 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

First I would download the live cd from http://www.linuxcnc.org/content/view/21/4/lang,en/
and run the latency test on it.
http://wiki.linuxcnc.org/cgi-bin/emc...I_Latency_test
to even see if your portable will work.. Newer portables, well portables in general, have issues with realtime.

A usb to parrallel conveter will not work..
You might be able to get a pcmcia card (pccard) to parallel converter although I don't know 100% if that would work.

Yes - gcode made in windows will work in linux. (you may have to edit the post to work with the emc2's ngc format. It is similar to fanuc)
Reply With Quote

  #3   Ban this user!
Old 07-10-2007, 12:09 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Right now your options is usb and proprietary software, or a parallel port card and windows software like Mach3 or Linux and EMC2 with the parallel port card.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #4   Ban this user!
Old 07-10-2007, 12:11 PM
 
Join Date: May 2005
Location: USA
Posts: 16
IMSlo is on a distinguished road

Thanks Samco

I guess your reply pretty well killed this idea.

I won't go to a lot of trouble to do this and I'm certainly not going to screw up my shiny new computer trying to do it.
Reply With Quote

  #5   Ban this user!
Old 07-10-2007, 01:24 PM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,341
neilw20 is on a distinguished road

Welcome to the wonderful world of no backward compatibility!!, driven by the BIG HUNGRY manufacturers. I use win98 and XP junkbox computers. Join em all together with network cables, so you can use the best platform for whatever software/hardware (that still plugs in).
Interrupt latency is a real issue with real time control. More horsepower (=$) usually wins, but do we hit a golf ball with a cricket bat?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-10-2007, 02:08 PM
 
Join Date: Sep 2006
Location: Sweden
Posts: 26
Meduza is on a distinguished road

http://www.superlogics.com/parallel/...-961.htm#fdesc

I belive this one would work, tough i have not tried it.
Reply With Quote

  #7   Ban this user!
Old 07-10-2007, 03:06 PM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

There are a couple more potential issues that one can face with a laptop and LPT port.

The laptops tend to use low power 3.3 or so volt LPT's. These can cause problems if the BOB that you're using are looking for higher power, 5volt digital "HIGH's".

The next issue involves real time interfacing to/with the LPT port. The power conservation programs used in some laptops can result in power being interrupted to the LPT port when the uP thinks it is ok to do so.

In any number of prior instances (do a "laptop" search on the site) these and other reasons why laptops should NOT be used for machine control have been cited. You are more than welcome to ignore this suggestion and/or recommendation, at your own peril of course.
Reply With Quote

  #8   Ban this user!
Old 07-10-2007, 10:20 PM
 
Join Date: May 2005
Location: USA
Posts: 16
IMSlo is on a distinguished road

I appreciate all the replys.

I am now running an old HP 166mhz with 32k ram and Windows 98 that I actually dug out of a dumpster. It has proven to be the most dependable machine that I have.

I guess the laptop thing is over with.
Reply With Quote

  #9  
Old 07-10-2007, 10:33 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,456
ger21 is on a distinguished road
Buy me a Beer?

You can run Mach3 under Vista with an ncPod through USB. http://ncpod.oemtech.com/
__________________
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

  #10   Ban this user!
Old 07-11-2007, 09:12 AM
 
Join Date: Mar 2004
Location: USA
Posts: 548
cnczoner is on a distinguished road

Most (but not all-) USB-to-parallel converters are designed for just printers, so do not connect all the signals. You need a "True EPP" or "True Parallel" converter. Google should find it for you. Verify that it produces proper 5V signals.

On the SW side, FTDI makes a chip that allows electronics tinkerers to use USB ports. Not suggesting that you fiddle with electronics, but they apparently provide a driver that acts as a parallel port on the PC side (so the application "talks parallel") then converts it to USB signals out the USB port, and their specialized chip converts the USB signals to parallel signals (for interfacing to a microcontroller, etc). I know they make a USB-to-serial converter, but perhaps a USB-to-parallel also, and I'd think this would solve your problem. You can contact/ask them here... http://www.ftdichip.com/Products/FT245R.htm

Cheers,
-Neil.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-11-2007, 09:16 AM
 
Join Date: Mar 2004
Location: USA
Posts: 548
cnczoner is on a distinguished road

BTW, this statement is interesting as it suggests that Ubuntu requires tremendous harddrive space, which is contradictory to my Linux experience. I've always felt that Linux needs much less resources that Windows, though I'm not sure of what's in the Ubuntu distrib. I actually have a bootable linux distrib running on a 64mb flashdrive!

Or were you suggesting that you had enough space for a dual-boot system? If so, I should point out that I'm currently running Suse and Win2k on a 30GB HD currently with lots of space leftover for my data/photos/etc.

Cheers,
-Neil.



Originally Posted by IMSlo View Post
I just bought a new laptop. It is equiped with a 160 GB harddrive and of course Vista. I am toying around with installing Ubuntu and EMC2 as a dual boot system because I think the harddrive is big enough to handle it. ...
Reply With Quote

  #12   Ban this user!
Old 07-11-2007, 09:33 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

The issue isn't as much usb-> parallel... It is that Emc2 dosn't have a realtime usb driver. Usb doesn't lend itself very well to realtime so none of the developers have wrote one. The ncpod is a motion controller.. The motion gets downloaded to it from mach - and it runs from the ncpod. This would not be a good match for emc also.

Equipment that moves the motion outside of emc isn't a good match. EMC is a closed-loop motion controller, unlike anything else that's affordable by hobbyists. Steppers work because EMC fakes itself out with a made-up position value for the loop control.


The
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
C++, Win XP, Parallel Port Zumba Coding 7 03-29-2012 01:12 PM
2nd PCI Parallel Port sunmix Mach Software (ArtSoft software) 8 11-22-2006 02:17 PM
Second parallel port? essa LinuxCNC (formerly EMC2) 11 04-12-2006 02:18 AM
Parallel Port / Relay Control Question Verboten Computers and Networking 7 12-21-2004 04:17 PM
Parallel Port Shanghyd Computers and Networking 1 11-22-2004 11:56 AM




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