Hello Guest it is July 19, 2019, 06:52:18 AM

Author Topic: spindle speed tied to feedrate speed, is it possible ?  (Read 3513 times)

0 Members and 1 Guest are viewing this topic.

spindle speed tied to feedrate speed, is it possible ?
« on: February 20, 2012, 03:09:54 PM »
I have setup a step and direction spindle, and need the spindle speed tied to the feedrate speed, so as the feedrate speed changes the spindle speed will follow
I have searched for days, and also tried writing a macro but with my limited knowledge of macros I am not getting anywhere,  anyone have any idea where to look or know if this even possible to do in Mach?
or have any suggestions on how to approach this?

thanks mini

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: spindle speed tied to feedrate speed, is it possible ?
« Reply #1 on: February 20, 2012, 04:42:38 PM »
Dont think that would be easy to do I am afraid, or at least cant think how. You can have it the other way around, ie your axis feed per rev.
Hood

Offline RICH

*
  • *
  •  7,342 7,342
    • View Profile
Re: spindle speed tied to feedrate speed, is it possible ?
« Reply #2 on: February 20, 2012, 05:11:47 PM »
I have slaved a stepper to a lathe spindle where the spindle was defined  as A ( tried both linear and angular setup) such that the feedrate was tied to the rpm or rotary motion.
I will say one thing, a stepper just plane sucks for spindle use.

RICH ;)
Re: spindle speed tied to feedrate speed, is it possible ?
« Reply #3 on: February 20, 2012, 05:20:29 PM »
Thanks for the replys

My actual application is a dispensing head which has a stepper motor,  ( mach mill )
I have been trying to acomplish this, with it  set up as a spindle, 

so it really does not mater which way the relationship is between the feedrate and spindle speed,
as long as they are tied together,

I read that the G95 command is only for lathe? could this work for mill?

my cnc router is currently using 4 axis's for motion with the y slaved to the a, so I don't have that option

Offline RICH

*
  • *
  •  7,342 7,342
    • View Profile
Re: spindle speed tied to feedrate speed, is it possible ?
« Reply #4 on: February 20, 2012, 05:24:31 PM »
Why not just move to location and feed at any rate you want to dispense?
Sort of like drilling numerous holes. There were some postings in here on a glue dispensing machine some time ago which you may want to search for.
RICH

Offline BR549

*
  •  6,874 6,874
    • View Profile
Re: spindle speed tied to feedrate speed, is it possible ?
« Reply #5 on: February 20, 2012, 05:27:44 PM »
Easy enough to do , Buld a Brain that monitors the Feerate then divide that by the starting value.

100 Ipm  Starting value feedrate
3000 RPM starting value Spindle speed

Actually feedrate 90

90/100 = .9

THen multiply the SSO by the same multiplier.

3000 rpm X.9 = 2700 rpm

This will tie you togther as a percent of change. When the feedrate changes the spindle speed will change the SAME percent of change UP or Down.

I used to have somthing similar that tied the Spindle Speed to the feedrate. IF the spindle BOGGED a bit mach would SLOW the feerate and allow it to catch back up. SOrt of a SPEED control to help keep from overloading the little steppers and loosing steps.

Just a thought(;-) TP

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: spindle speed tied to feedrate speed, is it possible ?
« Reply #6 on: February 20, 2012, 05:47:47 PM »
Yes G95 works in mill as well.
Hood
Re: spindle speed tied to feedrate speed, is it possible ?
« Reply #7 on: February 20, 2012, 06:29:20 PM »
thanks again for the replies
 
lots more to try

my main issue is with corners and radius's , I get inconsistant dispensing, ( as the motion is not consistant) even with CV turned on,  my thought was to tie spindle speed and feerate together?
Re: spindle speed tied to feedrate speed, is it possible ?
« Reply #8 on: February 21, 2012, 12:09:40 PM »
Well after a few hours of mach3 brain videos,  I managed somehow  to write some brain code  I use the blended feedrate  and terminated it to the spindle percentage, it seems to be working, as the feedrate chages the spindle speed follows, really cool to see it work, I still need to do some real world trials and adjustments, but for sure on the right track

thanks for all the help
Mini

Offline BR549

*
  •  6,874 6,874
    • View Profile
Re: spindle speed tied to feedrate speed, is it possible ?
« Reply #9 on: February 21, 2012, 02:28:12 PM »
Please let us know how it works out others might could use the function.

(;-) TP