Advice needed linuxcnc servo driver interface
- alan_3301
- Offline
- Elite Member
Less
More
- Posts: 258
- Thank you received: 33
24 Jul 2014 00:39 #49058
by alan_3301
Advice needed linuxcnc servo driver interface was created 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
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!
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
The motor encoder is a "12 bit absolute" encoder, which connects to the drive.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 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.
- alan_3301
- Offline
- Elite Member
Less
More
- Posts: 258
- Thank you received: 33
24 Jul 2014 01:19 #49060
by alan_3301
Replied by alan_3301 on topic Advice needed linuxcnc servo driver interface
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.
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.
- alan_3301
- Offline
- Elite Member
Less
More
- Posts: 258
- Thank you received: 33
24 Jul 2014 17:54 #49082
by alan_3301
Replied by alan_3301 on topic Advice needed linuxcnc servo driver interface
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.
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.
- jmelson
- Offline
- Moderator
Less
More
- Posts: 817
- Thank you received: 151
24 Jul 2014 21:43 #49088
by jmelson
per axis. See pico-systems.com/osc2.5/catalog/product_...ath=4&products_id=30
for more info.
Jon
Replied by jmelson on topic Advice needed linuxcnc servo driver interface
Yes, you can get to 50 KHz with the parallel port and software stepping, but that is about it.
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?
There is also the Pico Systems Universal Stepper Controller. It can go to 300K steps/second
Is a mesa 5i25 + 7i77/7i76 my only option?.
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: PCW, jmelson
Time to create page: 0.113 seconds