4 axes + pwm spindle

More
05 Nov 2010 13:25 #5099 by billykid
Hello everyone.
my 4-axis CNC (Xyza) dc motors and encoder-controlled step / dir
more pwm spindle driven by another drive + encoder
total 5 axes controlled by 2 parallel port.
To use a PCI card model do you recommend? without sacrificing the spindle pwm?
best regards Mauro

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

More
05 Nov 2010 15:10 #5100 by andypugh
Replied by andypugh on topic Re:4 axes + pwm spindle
The Mesa cards (with the right firmware) typically offer at least 8 encoders, stepgens and PWM generators.
(With the advantage that PWM frequency can be hundreds of kHz.)
The 5i23 has a bigger FPGA than the otherwise similar 5i20 and might be a sensible bit of future-proofing for not a lot more expense.

This is also true of the 7i43 (which isn't a PCI card, it connects to the parallel port). I have a 7i43 running my mill/lathe which has 4 axes and a spindle PWM for the milling and the lathe spindles.

Both the PCI cards and the P-Port card can also drive brushless DC motors using the right daughter-cards.

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

More
05 Nov 2010 20:22 #5104 by billykid
Replied by billykid on topic Re:4 axes + pwm spindle
good!
5i23 is fully supported, or better 5i20 as ease of configuration?
I use the inputs as they are putting protection diodes and resistors or take cards already made such 7i37 / 7i42?
in the previous post i forgot two 128 cpr encoder for feedrate override
and spindle override plus one 100 cpr for mpg pendant.
total 8 encoder input.
I have problems getting around with 5i20 how it works now with 2 parallel ports?
Regards Mauro

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

More
07 Nov 2010 21:43 #5145 by andypugh
Replied by andypugh on topic Re:4 axes + pwm spindle
billykid wrote:

5i23 is fully supported, or better 5i20 as ease of configuration?

There are versions of all the 5i20 firmwares for the 5i23 too, and several more too.

I use the inputs as they are putting protection diodes and resistors or take cards already made such 7i37 / 7i42?

That is up to you. My system is wired directly, with some buffers for the high current signals.

total 8 encoder input.

There are a number of firmware files for both cards which will handle 8 encoders (I think there is even one for 12 encoders).
Configuration instrructions are here:
www.linuxcnc.org/docview/html//man/man9/hostmot2.9.html
Especially the section entitled "Config Modparam"

I have problems getting around with 5i20 how it works now with 2 parallel ports?

It doesn't. It is a PCI card.

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

More
07 Nov 2010 22:15 #5148 by billykid
Replied by billykid on topic Re:4 axes + pwm spindle
thanks. At the very least supports the way step / dir or just pwm?
trying a closed loop with the parallel port I used an h bridge, and 2 IRFP250 ir2184. enable forward reverse signals. these bridges are going well?
Regards Mauro

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

More
07 Nov 2010 22:24 #5149 by andypugh
Replied by andypugh on topic Re:4 axes + pwm spindle
SVST8_8.bit is an 8-encoder / 8 PWM / 8 stepgen firmware.

You might need to look through the files in /lib/firmware/hm2 to see what suits you best (the xms files are human-readable).
Bear in mind that you can always use less than the max number of function, and any pins that releases can be used for general IO functions.

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

More
10 Nov 2010 20:15 #5203 by billykid
Replied by billykid on topic Re:4 axes + pwm spindle
Thanks Andy, I ordered a 5i23 and 7i43 because I want to put up even a small plasma.
now I'm using this drive: elm-chan.org/works/smc/report_e.html
in a step / dir, are fine but I wanted to make a closed-loop system.
I can use them in speed mode by connecting the encoder also 5i23
or simply use H bridges enable command cw ccw no CPU
encoder directly on the 5i23?
I hope you understand this bad English
Mauro

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

More
10 Nov 2010 21:31 #5204 by andypugh
Replied by andypugh on topic Re:4 axes + pwm spindle
billykid wrote:

now I'm using this drive: elm-chan.org/works/smc/report_e.html

You should be able to re-use much of that, in effect it is doing much of what EMC2 can do, the difference being that EMC2 does it where you can see what is happening and in more complex ways.

or simply use H bridges enable command cw ccw no CPU
encoder directly on the 5i23?


That would be my solution. The 5i23 can drive the H bridge directly on the basis of the encoder feedback.

Mesa make drives which plug directly into the headers on their cards, if you have not already found them:
www.mesanet.com/motioncardinfo.html (especially the 7i30)

It does not say it there, but I am fairly sure that that will work with 5i23 or 7i43. (Check with Mesa). That would also simplify encoder connection as it includes connnectors and signal conditioning.

However, I have connected encoders direct to the Mesa card header with no problems.

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

More
23 Nov 2010 20:06 #5573 by billykid
Replied by billykid on topic Re:4 axes + pwm spindle
I saw that the firmware hostmot2. has the configuration for 4, 8, 12 axes
I served 4 axes + spindle, all with encoder and index, up down mode + enable
then 2 encoder. spindle and feed override to 128 pulse / rev no index, + 1 encoder 100 pulse / rev for mpg pendant.
I would like to have an ini file and a hal as a starting point, waiting for the arrival 5i23 :-)
Regards
Mauro

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

More
23 Nov 2010 20:32 #5574 by andypugh
Replied by andypugh on topic Re:4 axes + pwm spindle
pncconf should get you started, it is a "wizard" which builds Mesa-card configs.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum