Bert,I thought I was about the only one here using so many pins. This makes me wonder what you are up to. What are you building that takes so much I/O?
Bert,I thought I was about the only one here using so many pins. This makes me wonder what you are up to. What are you building that takes so much I/O?
Charles Linquist
@ Jerson, I agree completly!!
Short answer - machine controller
The project is an interface between PC parallel port and up to 10 axis of stepper/servos with 2 inputs per axis for limit/home switches. Also a couple of relays for some high power stuff.
So the parallel port itself uses 12 pins, then each axis is 5 pins. so thats 62 right there. I have run out so I must have forgot some things.
It will use 2 50 pin connectors to plug into 2 5 axis cards and carry all the needed stuff to them. Full digital setup for the stepper drives on these cards.
Last edited by cncmachineguy; - 28th September 2011 at 19:29.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
That's why some clever so and so invented 'multiplexing'.....
Agree, but sometimes, multiplexing is not a solution while I/O expander are.
Conspiracy I tell you![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
This is one project I have on the back-burner as well.
But I would go a different route. Each axis does the same processing, so I would use one board (PIC) per axis. In theory it would be more efficient and would not need 100 pin PICs. Same with the limits switches, I'd put that on a separate board.
I just find it easier to work in a modular fashion. It must be the mainframe programmer in me (COBOL).
OH DARN! I just checked Mach's site for fun:
http://www.machsupport.com/32-bit version of Windows 2000, Windows XP, Windows Vista, or Windows 7 Operating System (64-bit will not work)
WOW! Gecko sure has grown since I last saw them!
http://www.geckodrive.com/
(Mach and Gecko drives were my first idea for a home CNC system)
Robert
Do yourself a huge Favor and at least read around the EMC2 forum. It is Truely the better tool. I look at it like this: Mach is like BS2, gets you up and started, but then you are finished. Thats an important thing, but I like to have a bit more power.
I am fairly certain Mach can not run my 6 axis machine, but I could be wrong. With emc2 I can slave drives and run them independently at will.
As for the modular approach, I started out that way, but when I was about to add a third parallel port just to get 17 more I/O, I decided it was time to use the port as it should be, to pass bytes of data, not single pins of I/O. Then you start to think about comms, how to interface all these modules? The updates are coming every 30uS to be able to reach 1500ipm with my setup (1000 steps per inch). So not a lot of time for talking to each module.
Gecko is hands down top shelf drives. but they themselves will tell you in low current (<4 amp) steppers, they are not much better then a linear drive. But I will never try to talk anyone out of them, they are and deserve to be called - TOP SHELF! On the other hand, in my 6 axis machine, there are actually 7 steppers, 1 axis is dual driven. so thats a lot of cash for the geckos when I can build a unipolor drive that is way happy to run from my ATX 12V power supply for ~ $15 USD each. So my entire bank of drives is the same as 1 gecko.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks