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:

adding transfer to post


desmotom
 Share

Recommended Posts

I want to know if its possible to add a transfer sequence from main spindle to sub spindle in a post. I have a mori sl-403 and a mori nl 2500mc which have the same post output except for the transfer sequence which I want to add into the post so I don't have to paste it in every time.

Link to comment
Share on other sites

if you wanted to use mr10$ or any open variable.

 

you could do it something like this in the ptoolend$ section of the post.

 

if mr10$ = 1, then add your code here.

 

 

on your misc ints page, if you place a 1 in mr10 it should output at the end of the tool where you want the transfer.

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Yeah it's doable. I'd say from the limited knowledge I have of what you want to accomplish, this would be a task a Novice/Intermediate post geek could handle.

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Sure.

 

Novice Post Geek: Programmer that knows how to turn switches on and off, and can add simple literal text output at various sections in the post. biggrin.gif

Link to comment
Share on other sites

if you use the stock xfer operation in Mastercam there is a predefined postblock where you can output values from the stock xfer toolpath.

 

code:

 pstck_trans$     #NCI code = 900 available variables:

#stck_spindle, stck_init_z, stck_final_z,

#stck_chuk_st_z, stck_chuk_st_x,

#stck_chuk_end_z, stck_chuk_end_x,

#stck_chuk_st_dz, stck_chuk_st_dx,

#stck_chuk_end_dz, stck_chuk_end_dx

if toolchng <> two, ptoolend$

toolend_flg = zero #Do not execute ptoolend again after xfer

[

!spaces$

spaces$ = zero

pbld, n$, "M00",e$

if prv_spaces$ > 0, " ",e$

if stck_spindle$ = 0, "(Xfer Part from Left Spindle)", e$

if stck_spindle$ = 1, "(Xfer Part from Right Spindle)", e$

spaces$ = prv_spaces$

]

HTH

Link to comment
Share on other sites

Thanks for all the ideas, I think I can make it work. One more question. My NL-2500 has a main and sub spindle, will I be able to use the modified mori sl 403 post with the transfer sequence(that I will insert) which has the same output format I want with the NL and be able to control both spindles through mastercam

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