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:

Misc. int help


90rsgnuguy42
 Share

Recommended Posts

I've set up mi1 to output high speed look ahead on my milling toolpath. It outputs (G8P1) in the correct place in the toolpath.

I put the cancel high speed look ahead (G8P0) at the retract using logic statement. It works well EXCEPT...it outputs the cancel at the end of the tool BEFORE I turn it on and not at the end of the tool I turn it on for. Any ideas?

Link to comment
Share on other sites

Insert turn off code in ptoolend$

 

code:

ptoolend$        #End of tool path, before reading new tool data

!speed, !spdir2

if nextop$ = 1000, prvtpsub = virt_tlplnno

if nextop$ = 1002,

[

prvtpsub = 0

plane$ = 0

if sav_mi????? = ????, n$, add turn off code in here some where<<<<<<<<<<

n$, sgplane, e$

prv_tloffno$ = c9k

sav_mac_tloffno = 0

sav_mi6 = 0

sav_mi8 = 0

psub_end_st

subout$ = 0 #main NC program

if sav_cantext = 51 & sav_mi2 = 37, "#539=#540", e$

if vari_540_flg = 1,

[

"#539=#540", e$

vari_540_flg = 0

]

pcoolantoff

]

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