![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I've been starting to design the electronic system which will control my CNC mill and already I have hit a potential problem. My problem it seems is the number of inputs and outputs available through a parrallel port. I'm designing a four axis machine so that will be 1 limit switch for each end of each axis = 8 limit switches !. 8 inputs just for limits seems a little excessive, even for a 3 axis, by my reaconing 6 would be required. Is there an error in my thinking here or is this normal and accepted ?
__________________ Dom http://www.ukrobotics.com/projects |
|
#2
| |||
| |||
| here a link to a Bobcad thread kind of on the same line as your question http://216.117.147.20/bobcadsupport/...read.php?t=799 |
|
#3
| |||
| |||
| Thanks for the quick reply but are you sure that is the right link ? " RS-232 Communications and Pinout" - I've had a read through and I cant find anything relevent.
__________________ Dom http://www.ukrobotics.com/projects |
|
#4
| |||
| |||
If your machine limits out it will stop no matter which axis overtravelled. Then you can look at the position display to determine which axis it was. This would only take 5 inputs for a 4-axis. Another option is of course to add another parallel port. Nikolas |
|
#5
| |||
| |||
| dom: actually you probably want three inputs per axis, two limits and a home. Now if your running out of io you could always add a second parallel port card, and use that. What software are you running? Things like rs232 input depend on your package, and how much work you want to put into it. PS: it really is a small world, just checked your webpage out, didnt expect to find anyone else from reading uni here. |
| Sponsored Links |
|
#6
| |||
| |||
Do you have msn messenger or anything like that ? CNCGR - I'm running Mach 3 through a parrallel port. My plan was already to have x-, y- and z+ as combined home and limits. As for having + and - limits for each axis also on the same pin, it is a possibility but I would have liked to have done it 'properly'. Do you know if mach has an option to automatically reverse off a limit once hit or does it always have to be done manually. If the former is true then it would make sense to have separate inputs for + and - otherwise i might was well stick +, - and home all on one pin. I have already considered another parrallel port card but even with that I worry about running out of inputs and outputs. In addition to the limit switches I also need inputs and outputs for charge pump, VDF, spindle reverse, estop, x,y,z,a axis motor encoders, x,y,x,a step/dir, an MPG, switches to jog each axis, power drawbar, ATC, suds pump, auto lube system, lights, vacuum table and no doubt more things I havent thought of.
__________________ Dom http://www.ukrobotics.com/projects |
|
#7
| |||
| |||
| Keep in mind that you can AND some of the limits together - that's what they do on my NC lathe. My Bridgeport mill has softcoded limits in the program and only home switches on the X, Y and Z axis. Or you could always add another parallel port.... (creative thought, no???) |
|
#8
| ||||
| ||||
| Most software I have run across either relies on the limits being wired in an "AND" or "OR" configuration. Here is one example of switch wiring: http://www.pminmo.com/wiki/index.php...limit_switches
__________________ Phil, Still too many interests, too many projects, and not enough time!!!!!!!! Vist my websites - http://pminmo.com & http://millpcbs.com Last edited by pminmo; 08-01-2006 at 10:04 AM. |
|
#9
| |||
| |||
| OK, So lets suppose that I need 4 pins for limt switches and one pin for an e-stop. How many pins will I need for each servo drive/encoder ? Is there some sort of wiring standard which suggests which pins should be used for which axis and which purpose or does it not matter at all . I would be interested to see what pins/wiring setups other people on here have used successfully for a 3 or 4 axis machine.
__________________ Dom http://www.ukrobotics.com/projects |
|
#10
| |||
| |||
|
| Sponsored Links |
|
#11
| |||
| |||
Two // ports will give you 24 outputs and 10 input, I think they should cover it, and you can still add a third. You can use a keyboard controller to make a pendant instead of using up I/Os for jogging. Also, I don't think you'll ever need all these at the same time, you could reconfigure I/Os as needed. As for wiring the motors, it's best that each motor has it's step and dir on the same port, preferably the data port (pin 2 to 9). Nikolas |
|
#12
| |||
| |||
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |