Outputting different feedrates for x and y axis movements in pocket nc generic post

Started by byte, July 18, 2021, 09:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

byte

Hi, I was to set a maximum feedrate of 20 Inches per minute on the Y Axis of my machine, It wouldn't necessarily need to be set as a parameter, it could be a constant value. What would I need to do to add this functionality please?

Tim Johnson

I would think this would be a machine builder question or a look in the machine parameters book. On angled feeds the machine would need to know when to also cap the the X and/or Z values once the max Y feed is achieved in order to maintain a correct programmed path.
FJB

neurosis

When I read that I figured that would have to be a James (or someone with his knowledge) question.  Is it possible to limit the feed on a single axis on a machine?  How would that even work?
Donald Trump: "second amendment people' could stop Democrat choosing undesirable supreme court justices if she is elected"

Tim Johnson

Quote from: neurosis post_id=13794 time=1627739793 user_id=49When I read that I figured that would have to be a James (or someone with his knowledge) question.  Is it possible to limit the feed on a single axis on a machine?  How would that even work?


It would work approximately the same way as setting the dogleg/straight line rapid parameter.
FJB

byte

Yes it's possible. I got the solution from Jeff,

I defined a function to use most to limit the feedrate
p_limit_feed_rate(motion_Test_Sum,max_Feed_Rate)
  if and(motst$, motion_Test_Sum) & (feed > max_Feed_Rate),
  [
  feed = max_Feed_Rate
  result = force(feed)
  ]

then call it in
-> plinout
&
-> cirout
p_limit_feed_rate(18,20)