motion.adaptive-feed range problem

More
2 years 3 weeks ago #311797 by BaxEDM
Hi,
I am using the motion.adaptive-feed to control my feedrate. The linuxcnc manual states:
"When adaptive feed is enabled with M52 P1, the commanded velocity is multiplied by this value. This effect is multiplicative with the NML-level feed override value and motion.feed-hold. Negative values are valid and will run the G-code path in reverse."

While trying this out, it only seems to work for the range -1...1 any values above or below that are clipped to 1 or -1.

I need to be able to set the value to greater than -1, e.g. -10 or greater. Is this possible and how can that be done?

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

More
2 years 3 weeks ago #311801 by Aciera
use 'halui.feed-override pins' together with motion.adaptive-feed

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

More
2 years 3 weeks ago - 2 years 3 weeks ago #311803 by BaxEDM
I considered doing that, however the halui component runs on a much lower frequency that the motion component.
I am running a real time component that very quickly needs to change the feedrate. motion.adaptive-feed can do that, but only from -1...1 I cannot use halui.feed-override unfortunately because it would be too slow, not real-time like the motion component.

Some context here. The application is wire EDM. During normal cutting my software calculates the feedrate and controls motion.adaptive-feed to get the right speed, which normally lies in the -1...1 range of the feedrate. However, there are occasional shorts, for which the machines needs to retract fast in order to prevent wire breaks. Retraction is now performed at -1*feedrate due to the limitation. However this is not fast enough, I need that to be faster.
Last edit: 2 years 3 weeks ago by BaxEDM.

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

More
2 years 3 weeks ago #311804 by tommylight

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

More
2 years 3 weeks ago #311805 by BaxEDM
yes, just modified my comment to include the context

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

More
2 years 3 weeks ago - 2 years 3 weeks ago #311808 by Aciera
I'm afraid I'm not aware of a faster way to set feed-override than halui.
If you feel like experimenting you could try and remove the value clipping for 'motion.adaptive-feed' in 'src/emc/motion/control.c' (you would need to build linuxcnc on your local machine to do that though):

 
Last edit: 2 years 3 weeks ago by Aciera.

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

Time to create page: 0.327 seconds
Powered by Kunena Forum