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:

post for haas vf-2


jprobst
 Share

Recommended Posts

i have mastercam x and a brand new vf-2, the post doesn't put in a g54 code, actually it did it once(very strange), and it has some extra things in there i don't need, also at the end of the program i would like it to return to the middle of the table, i write it in now but its a time waster, and in the beginning of the program it gives me some things i don't need

Link to comment
Share on other sites

Well, the lack of the G54 that was but now is not in the post is likely an error occurred when updating the post.

 

I would look in the tool change section of the post, ptl_chg and look for pwcs, make sure it is stilll there and there is no error preventing it from outputting.

 

On the end of the program how do you want your coode to center the table to look?

 

It will go into the peof section of the post.

 

What extra stuff is in that you don't want in?

Link to comment
Share on other sites

in the peof section before the M30

 

plces this

 

code:

pbld, n$, , sg00, sg90, "G53", "X-12.0", "Y0.0", "A0.", e$ 

 

pbld, n$, "M30", e$

Also on the update if you renamed your file at the bottom of the post there may be 2 cntl defs being referenced.

 

You can delete the one that you do not use.

Link to comment
Share on other sites

this is what it says for the g54

pwcs #G54+ coordinate setting at toolchange

if mi1$ > one,

[

sav_frc_wcs = force_wcs

if sub_level$, force_wcs = zero

if workofs$ <> prv_workofs$ | (force_wcs & toolchng),

[

if workofs$ < 6,

[

g_wcs = workofs$ + 54

]

else,

[

g_wcs = workofs$ + 104

]

if workofs$ >= 0 & workofs$ <= 25, *g_wcs

else, "ERROR - Invalid Work Coordinate System", e$

]

force_wcs = sav_frc_wcs

!workofs$

]

this right?

Link to comment
Share on other sites

Yes, it should be two. I put this in all of my mill posts:

 

# --------------------------------------------------------------------------

# Start of File and Toolchange Setup

# --------------------------------------------------------------------------

psof0 #Start of file for tool zero

psof

 

psof #Start of file for non-zero tool number

mi1=2 # Force G5X WOFS output (cdm) <======

 

so that I don't have to sweat this

 

C

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