I/O Electronics Ordered!
Mesa Electronics
5i25 $89.00
7i76 $119.00
10' DB25M to DB25M IEEE-1284 cable $12.50
The 5i25 is fairly new. The goal is a product that's more optimized specifically for CNC applications, so it has the features we need, not a lot of capability we don't need, and the cost is a bit less because we aren't paying for features and added flexibility in excess of what we need. It's a solution that's a bit more integrated, and down the road that should translate into less complexity getting it to run with EMC2 or the controller of your choice.
Basically, the 5i25 plugs into the PC bus and has a DB25F port on the back of the computer. The cable connects the 5i25 in the PC to the 7i76, which will be in the electronics panel, which in my case is in the big drawer in the bottom of a roll around cart. The PC and monitor and keyboard are on the top of the cart, and lathe tooling, manuals and measuring tools are in the other drawers. There will be connectors on the bottom back of the cart with cables running to the lathe. The cables power the X, Z and spindle motors, carry encoder signals back to the CNC electronics, carry the end and home limit switch signals for X and Z, etc. The 7i76 card has screw terminals so making connections should be easy.
I've designed a lot of machines, including some big systems with a lot of PC based I/O (Opto 22, etc.), and I don't remember fretting over the hardware decision like I did this time. I entered this thinking EMC2 liked bit banging on the parallel port and the I/O would be easy. Just get one or two inexpensive optically isolated breakout boards for one or two parallel ports and program the EMC2 configuration file to know what hardware was where. Not so.
I probably made it harder than it needed to be. I'm glad I finally have the I/O hardware on order. That's the last big unknown checked off the list. All that's remaining are many little details - custom motor mounts, sensor brackets, lots of wiring, and later on, some ball screws... PLUS, all the big gotchas that I can't see from here.
Lots of work left to do, but I'm well under way. Thanks to Peter at Mesa Electronics for some hand holding and pre-sales technical advice in a couple of phone calls. Thanks also to those online who took time to help me.
I'm meticulously documenting this project, so hopefully I can provide a step-by-step guide that will save those attempting CNC retrofits some effort and a lot of the head scratching I did. I may not produce the very most optimal solution, but hopefully it'll be a good solution that others can emulate if they like.
The 5i25 I/O board is brand new, and Andy is apparently just finishing up the drivers. Thank you Andy! I'll need to do a little double clutching to get EMC2 to like it. I'll need to upgrade from 2.4.3 as installed on the live CD to the new version 2.5, but I'm fairly comfortable with Linux. I wasn't going to network the EMC2 machines, but in anticipation of the need for EMC2 version 2.5 and probably a couple of profile downloads, I ordered a three pack of Ubuntu friendly USB WiFi dongles from eBay last night. Those have gotten cheap while I wasn't paying attention. They're about $5 each! The next live CD version of EMC2 should support the 5i25 board without any upgrade hassles.
I need to devote some serious time to this project. I've been piddling around an hour or two a day, and adding more to the To Do list than I'm crossing off the list. At this rate, I'll never finish.