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:

Hass Post Mod ?


Recommended Posts

open the PST file in the editor, and find the following lines. They are in the pheader section.

 

sopen_prn, sspace, "MCX FILE - ", *smcpath$, *smcname$, *smcext$, sspace, sclose_prn, e$

sopen_prn, sspace, "NC FILE - ", *spathnc$, *snamenc$, *sextnc$, sspace, sclose_prn, e$

sopen_prn, sspace, "MATERIAL - ", *stck_matl$, sspace, sclose_prn, e$

 

Erase the lines, or modify so that they start with "#" (as shown below)

 

# sopen_prn, sspace, "MCX FILE - ", *smcpath$, *smcname$, *smcext$, sspace, sclose_prn, e$

# sopen_prn, sspace, "NC FILE - ", *spathnc$, *snamenc$, *sextnc$, sspace, sclose_prn, e$

# sopen_prn, sspace, "MATERIAL - ", *stck_matl$, sspace, sclose_prn, e$

 

That will get rid of the comments.

 

to get rid of ALL of the rotary axis moves, modify the Machine Definition to remove or disable the rotary / 4th axis.

 

To remove only the A0 at end of file, find and modify the following.

 

if nextop$ = 1003 | tlchg_home, pbld, n$, *sg28ref, "X0.", "Y0.", protretinc, e$

change to:

if nextop$ = 1003 | tlchg_home, pbld, n$, *sg28ref, "X0.", "Y0.", e$

 

 

 

 

Link to comment
Share on other sites

NO NO NO

--------------------------------------

...Erase the lines....................

--------------------------------------

 

YES YES YES

------------------------------------

.....or modify so that they start with "#"...

--------------------------------------

 

and +1

---------------------------------------

.... in the Machine Definition, Axis Combinations. Take out the A-axis to leave it a 3 axis machine.

---------------------------------------

 

HTH

Link to comment
Share on other sites
  • 2 weeks later...
  • 1 month later...

Our Haas alarmed out also from all the text in the header. I narrowed it down to the path and filename of the mcx file. There can be too many characters on that line which the machine doesn't like. The solution to keep the text at the header and still get it into the machine without an alarm is to eliminate the "*smcpath$," from this line:

 

sopen_prn, sspace, "MCX FILE - ", *smcpath$, *smcname$, *smcext$, sspace, sclose_prn, e$

 

This may also be a problem for you in the line that displays the path and name of the NC file. Yours doesn't look too long. Mine always posts to a USB stick so it's never too long.

 

Matt.

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