Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Force a feedrate out at operation change

Recommended Posts

Good morning.

I've been searching the forums, can't seem to find anything on this...

I would like to force a feedrate output, in my NC code, at every operation change, ---even--- if the feedrates from the previous operation and the current operation are the same, in Mastercam...

Is there a way to do this through the post?


Mastercam 2022, using a hacked up old post that was here before I ever got here...(typical, right...?)


Thank you...

Link to comment
Share on other sites

result = force (feed) #This will force a single variable

result = force (xout, zout)  #This will force a 'range' of variables

That will force the output of the "variable range", between the start and end "index variables". In this case, we're only giving it a single variable in the range, so only the 'feed' variable gets forced.

Now, this is assuming that your Post is setup to use 'feed' as the Feedrate Output variable. Otherwise, you'd need to use a different 'variable name' as the start/end index variable in the 'force' function.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

  • Create New...