Advice needed linuxcnc servo driver interface

More
24 Jul 2014 00:39 #49058 by alan_3301
Hi, I am currently building a cnc lathe.
I am using 2 steppers driven by a gecko g540 for the X and Z axis
I have purchased a DMM dyn3-h drive and 92M-DHT-72 750w servo motor to drive the lathe spindle.
I want to be able to program spindle speed for turning, but also use it as a C axis for other operations.

From the manual the drive accepts

Pulse direction input: CMOS/TTL compatible +5V line drive or open collector, Max pulse frequency 500kHz
Analog input:: -10V to +10V, Input resistor 25k(ohm), input RC filter 20kHz, 12bits AD converter

The motor encoder is a "12 bit absolute" encoder, which connects to the drive.
The drive has encoder output A+/A- B+/B- Z+/Z- to connect to the control.
if this means 16,384 ppr has to pass to linuxcnc, I'm guessing the parallel port isn't fast enough @ 3000rpms (49 mhz?)

The machine will only use the 1 servo, and the g540's 4 inputs should be all I ever need, so I don't require any extra I/O.
Can anyone recommend a card that does what I need? I prefer something simple to setup
I have read a little on the mesa cards, but there are some many options, I don't know where to start.
If it's not apparent, I have no experience with servo's, so if something isn't clear I will try to clarify.
Thanks!

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

More
24 Jul 2014 01:19 #49060 by alan_3301
I guess i was calculating for 3000 revolutions per second.
so at 3000rpm the encoder counts would be coming in at 819khz?
That is probably more reasonable.

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

More
24 Jul 2014 17:54 #49082 by alan_3301
Ok after some searching, and finishing the manual for the servo drive, i understand a little more.
The servo "electronic gearing" is adjustable from 2000 steps/rev to 16384 steps/rev.
Also encoder output is adjustable from 500 - 2048 or 2000 - 8056, depending on if I am counting output pulses, or quadratures per revolution.

so at 3000rpm which will be my max speed, it would need (at lowest resolution settings) 100khz output
and to sample the encoder signals, would be the same? 100khz samplng for 2000 samples per rev @ 3000 rpm.

I'm guessing that is too fast for the parallel port?

Is a mesa 5i25 + 7i77/7i76 my only option?. This seems like mega overkill, but looks like it will do the job.
Should I have any preference for the 7i76 or 7i77. AKA is it preferable to use analog or pulse/direction input?
Any problems interfacing either of those cards with the g540? Will one of the mesa cards have a parallel port output to go to the g540?

Thanks for any help. I'm starting to figure it out, but I have a long way to go.

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

More
24 Jul 2014 21:43 #49088 by jmelson


so at 3000rpm which will be my max speed, it would need (at lowest resolution settings) 100khz output
and to sample the encoder signals, would be the same? 100khz samplng for 2000 samples per rev @ 3000 rpm.

I'm guessing that is too fast for the parallel port?

Yes, you can get to 50 KHz with the parallel port and software stepping, but that is about it.


Is a mesa 5i25 + 7i77/7i76 my only option?.

There is also the Pico Systems Universal Stepper Controller. It can go to 300K steps/second
per axis. See pico-systems.com/osc2.5/catalog/product_...ath=4&products_id=30
for more info.

Jon

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

Moderators: PCWjmelson
Time to create page: 0.069 seconds
Powered by Kunena Forum