5 axis mill parallel port controlled mill.

More
19 Mar 2013 02:56 #31555 by huntington
Is this even possible? If i just buy another PCI parallel port card, can i run a 5 axis trunnion type mill? I've look on the forum and was unable to find anyone doing this. Or at least providing the details. I've seen the youtube videos of people using Linuxcnc to control a 5 axis and there is an example of a 5 axis built into the software but i see no way to add the extra outputs other than another parallel port.

BH

Please Log in or Create an account to join the conversation.

More
19 Mar 2013 04:51 #31561 by andypugh

i see no way to add the extra outputs other than another parallel port.


You may not be looking carefully enough :-)

wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNC_Supported_Hardware

A second parallel port is certainly an option.

Connecting a Pico USC or a Mesa 7i43 to the existing parallel port is another option.

If you have a PCI slot, then there are very many options indeed.

Please Log in or Create an account to join the conversation.

More
19 Mar 2013 22:52 #31606 by huntington
Thank you for the reply and thank you for the link. I wonder if there is a plus side to these cards over just adding a parallel port card. I currently have the quick setup cnc4pc breakout board. If i add a para port and another one of these breakout boards could i run a five axis machine? This seems to be the cheapest route. Am i missing something with those other cards? reliability maybe? They just seem very spendy.

My current mill is using steppers in a open configuration with flash cut. I would like to use Linuxcnc very much as it seems very capable. I have purchased a d2700mud atom board and am currently trying to rebuild my mill with linuxcnc.

Also could anyone point me to a site that has some linear stages with ball screw for less than 500USD 200-300 mm travel. Ive looked everywhere without success.

Thanks again
BH

Please Log in or Create an account to join the conversation.

More
19 Mar 2013 23:47 #31613 by PCW
The advantage of 'smart' I/O cards is that they will support higher step rates
and generate smoother step signals so allow faster velocities. They also have
encoder counter, PWM generation and DAC interfaces in hardware so can
do these operations faster than the software only LinuxCNC components with
equivalent functions.

If you have a step/dir setup with basic 1/2 to 1/8 step step motor drivers, these
features will not make much difference. however if you have good high u-step ratio
drives or servo drives (or a full closed loop system) the features added by the 'smart'
I/O cards will make a big difference.

Please Log in or Create an account to join the conversation.

More
19 Mar 2013 23:57 - 19 Mar 2013 23:57 #31614 by andypugh

I wonder if there is a plus side to these cards over just adding a parallel port card.
...
They just seem very spendy."

The advantage is much faster step rates. They tend to run with a 10MHz base clock rather than the 20kHz that is possible with software step generation.
(Note, not all the cards do on-card step generation, this is only a function of the Pico and mesa systems). You don't actually need step rates over 10kHz in most machines, but there is a big advantage in "granularity". A 20kHz base-clock system can do 20kHz, 10kHz, 6.6kHz, 5kHz, 3.33khz, 2.8kHz ... The stepper motor is not physically capable of such big speed jumps, and wil stall, maybe on the 2.5 to 2.8Kz jump. With a 10Mhz base-clock the corresponding step rates are 20kHz, 19.996kHz., 19.920kHz and so on. The stepper motor _can_ follow that sort of step size.
For a fair comparison consider that the Mesa 5i25 + 7i76 combination is $200 and includes both the controller and the breakout for 5 axis of stepper motors plus a spindle control voltage output and 32 input + 16 outputs for general purpose IO. That's a lot more than 2 parallel ports and 2 breakouts, and drives/senses higher voltages and currents.
However, there is absolutely no reason not to sart off with two parports and see how things go.

Also could anyone point me to a site that has some linear stages with ball screw for less than 500USD 200-300 mm travel. Ive looked everywhere without success.

Did you try China? www.aliexpress.com/item/3-linear-rails-S...upler/633546392.html
Last edit: 19 Mar 2013 23:57 by andypugh.
The following user(s) said Thank You: huntington

Please Log in or Create an account to join the conversation.

More
26 Mar 2013 21:45 #31925 by huntington
Thank you guys very much. I am going to try the duel parallel port option for now. It sounds like mesa card is the way to go in the long run. Can anyone vouch for the reliability of this product. We currently suffer from step loss and i feel like fashcut is the culprit. With encoders i suppose the would all but be eliminated.

Brandon H

Please Log in or Create an account to join the conversation.

More
26 Mar 2013 23:21 - 26 Mar 2013 23:24 #31932 by cncbasher
Mesa products are supported by Linuxcnc and reliable .
missing steps however is usualy down to more a configuration error , of trying to run the steppers faster than they are able given the types and styles of different steppers and stepper drivers available .

there is nothing wrong on using a second parrell port to gain the extra pins needed , but you are limited to the number of pins available .

however a mesa solution will allow not only more available pins for I/O but also increased step speeds etc .
Linuxcnc supports up to 9 axis , as xyz abc uvw , subject to having the connections available
the 5i25 with 7i76 supports up to 6 axis
Last edit: 26 Mar 2013 23:24 by cncbasher.

Please Log in or Create an account to join the conversation.

More
10 Apr 2013 13:51 #32515 by huntington
Hello all,

I just wanted to thank everyone so far for the help. This forum has been great and i have been doing a lot of reading.

To bring anyone who has posted or is interested in this build. I currently have three axes of the five setup. I have a maximum limit and a home switch on each. It took me quite some time to figure out how to change the homing direction, but at last i found it in one of the many threads i have read. It makes perfect sense to negate the number. Anyway i am currently suffering from noise on my limit and home switches. I assumed this from my previous experiences working on cnc milling equipment. I have also confirmed it using the halscope (awesome little feature, took a minute to figure out and still dont think im using it to the full potential) and sure enough i get the little intermittent spikes found with electromagnetic noise. I did some research and found that many people use a feature that i am unfamiliar with called "debounce" I have yet to figure out how to implement this hal device. So my question goes, How do i apply this setting and where does it go. I assume it would be placed in the custom Hal file? Can the delay implemented by debounce cause a delay that would effect homing?

Anyway thanks again
BH

Please Log in or Create an account to join the conversation.

More
10 Apr 2013 19:03 #32523 by andypugh

I did some research and found that many people use a feature that i am unfamiliar with called "debounce" I have yet to figure out how to implement this hal device. So my question goes, How do i apply this setting and where does it go. I assume it would be placed in the custom Hal file? Can the delay implemented by debounce cause a delay that would effect homing?


Typically "debounce" runs in the base-thread and waits 5 or 6 cycles before changing state. That will cause a 100uS delay in the limits tripping or home sensing. Considering that the homing latch speed is normally fairly low, lets say 6 in/pin, or 0.1in/sec that introduces a homing inaccuracy of 0.00001 inches.

This HAL file (from my lathe) has debounce included. Note that this is a Mesa-card config, with no base-thread, so I am actually running debounce in the servo thread and I have a 5mS delay (and I don't see this as a problem).
www.bodgesoc.org/lathe/Lathe.hal

Please Log in or Create an account to join the conversation.

More
11 Apr 2013 23:10 #32575 by huntington
So if i understand this correctly. I have to create a debounce file specific to my mill. The is not a cookie cutter type file. No one size fits all. Can anyone point me to a thread on how the write a debounce file? As i have not found anything that is general, most have been for specific machines.

BH

Please Log in or Create an account to join the conversation.

Time to create page: 0.500 seconds
Powered by Kunena Forum