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 Feed Rate After An Index change


dmaier
 Share

Recommended Posts

In MPMaster under ptlchg0$ I want to have a null tool change repost the spindle speed, spindle start code, and federate after an index change without doing a forced tool change. I have the spindle speed and spindle start codes posting the way I want. I am not able to identify what triggers the feed rate to post correctly. I was playing with the plinout post block but was not getting the results I was looking for. Been at this all morning, can someone point me in the right direction?

Link to comment
Share on other sites

Run it through the debugger to find where the feed is being set for this (tho my suspicion is that it is also controlled by a gcode (rapid or feed so be prepared for some hunting) call, then Leon82's method should work (there is logic for index and not index in ptlchg0)......If you have never used the debugger, now is the time to learn. There is some good documentation, and it will help you immensely now and in the future.......Or Colin might turn up and just give you the skinny......even then run it through the debugger so you understand what's going on....I would stay and help you do it but am on my way out the door for my long weekend (no gloating intended).....

Link to comment
Share on other sites

you can also use the force function to output the variables without changing the previous value (as you can never be too sure that the prv_ value isn't used somewhere else in the post)

For the spindle m-code we force out the selector variable because a string select table is used when outputting spindle.

result = force(speed,speed)

result = force(spdir2,spdir2)

result = force(feed,feed)

 

Alternatively you can also call pfspindleout instead of pspindleout to force the speed and spindle output. but you will still need to force out the feed rate.

  • Thanks 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.

Guest
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.

 Share

  • 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...