AFAIK most Mach3 compatible motion controllers have parallel port outputs “just like” an old PC to they can connect directly to the BoB of an existing installation. I think from Win 10 onwards the parallel port stopped being supported and modern PC hardware doesn’t have one at all. Actually my old Win7 machine didn’t have one either. Trying to keep old XP machines going when all you want to do is cut metal makes no sense to me. Also keeping on with Mach3 isn’t a great idea either, though I still use it, as it hasn’t been supported since at least 2016. That doesn’t just mean bug fixes but also compatibility with Windows releases, which only get fixed thanks to support from the user community. Sooner or later MS will change something that stops it working completely and is unfixable.
DMR made much the same point when he said “From answers so far, you are at a tipping point of updated/updating tech and all that involves.” He’s right!
Peter has been happily running Mach3 on an old machine, presumably using old software, and an old motion controller. Now the evil day has arrived because his old computer has failed, and he finds the whole shebang is out of date! The easy answer is to raid the bank and upgrade the computer, operating system, Mach, and motion controller together. No problem, apart from the cost.
The alternative can get complicated. I think the cheapest answer is to find a replacement computer of similar vintage, and hope that it lasts another 5 years!
The problems are:
- Parallel printing was the de facto method for nearly 30 years, and every computer came with a parallel port. They’re easy to program for devices other than printers, and straightforward to connect to external electronics. All smiles before the millennium.
- Parallel printing went rapidly out of fashion after USB2.0 arrived in 2000. Parallel is too slow, and can’t support the range of different devices that USB can. For a while new computers still came with parallel sockets, then, as customers didn’t use them, they weren’t fitted.
- Even though parallel sockets weren’t installed, motherboards still had the wherewithal, even today.
- If a computer has a PCI interface, it’s still possible to buy plug-in parallel boards; not for laptops though. Unfortunately, PCI came to an end in 2007, making it unlikely that a new computer bought in 2024 will support it.
- My computer has a non-standard parallel socket tucked away on the motherboard. To use it I would have to wire it up myself. Worryingly, the motherboard manual warns that the electronics are delicate; in other words, meant to be buffered, not connected directly to the outside world. Get it wrong, and the motherboard is toast!
- Whether or not the operating system connects to the port as it did in the past is moot. Before Windows7 the Operating System exposed a 16bit read/write variable. Since then, operating systems tend to abstract Input/Output away from application programmers, and the operating system may not support direct access to the parallel port at all. For a long time the device LPT1: was a direct connection, not now. Instead LPT1: is abstracted such that writing to it connects to the USB sub-system, which knows what, if any devices, are plugged in. These days the programmer can’t simply write to LPT1:
- USB2 isn’t fast enough for a motion controller, they need USB3. There are USB3 to parallel converters, see Roderick’s example. But though these probably work with a new computer, they probably won’t work with old software on a new machine. Well worth trying though, only £112…
- The above assumes old software will install and run correctly on a new computer. Trouble is, there’s been an endless list of small and large changes between XP and Windows 11. The gap is now enormous. John notes Mach3 is out of support since 2016…
The CNC / Parallel method started to tip from easy to difficult over 10 years ago. Now it’s “challenging” and maybe parallel should be avoided. If money is no object, the answer is easy – just upgrade everything! Otherwise, apart from replacing a clapped out computer with a working equivalent, there doesn’t seem to be a straightforward simple answer. Necessary to chop and change both hardware and software to get it to work. Much depends on exactly what the set up is. Lucky chaps might get parallel working without fuss, whilst unlucky wights might fail miserably after wasting a lot of time and money. The devil is in the details.
Seven years ago I dithered about trying CNC. It was apparent then that the cheapest option was Mach or LinuxCNC running on an old-school computer with a parallel port connected to a basic motion controller. Also apparent that the parallel way in was far from future proof. USB motion controllers were taking over, and parallel ports on computers were disappearing rapidly, at least in easy to use form. An option that looked good then was a second-hand Industrial PC. These are solidly made to provide process control in rough environments, and are often rack-mounted. They are weak on graphics, have no screen or keyboard, bit slow, and run older stable versions of Windows. Though they make poor desktop computers, they come with loads of interfaces and are built to last. Worth checking out, though a quick look on ebay this morning shows even conservative Industrial PCs seem to have dumped parallel ports. Why is nothing ever easy?
Dave