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:

help with a haas post


steve pilkington
 Share

Recommended Posts

This is from the MPLFAN.pst:

 

pl_retract #Retract tool based on next tool gcode, lathe (see ptoolend)

cc_pos$ = zero

if home_type = one,

[

pmap_home #Get home position, xabs

ps_inc_calc #Set inc.

pbld, n$, psccomp, e$

pcan1, pbld, n$, *sgcode, pfxout, pfyout, pfzout,*toolno,e$

pbld, n$, pnullstop, strcantext, e$

]

else,

[

#Retract to reference return

pbld, n$, `sgcode, psccomp, e$

if home_type = m_one, pbld, n$, *toolno, e$

pcan1, pbld, n$, *sg28ref, "U0.", [if y_axis_mch, "V0."], "W0.",

pnullstop, strcantext, e$

if home_type > m_one, pbld, n$,*toolno, e$

]

 

Strip out the *toolno,

Link to comment
Share on other sites

I did mine like this. Try "drop_offset"

 

code:

 #Retract to reference return

pbld, n$, `sgcode, psccomp, e$

if home_type = m_one & drop_offset, pbld, n$, *toolno, e$

if css_actv$ & css_end_rpm & not(lathe_stop | synch_flg | n1_gcode = 1003 | n1_posttype <> posttype$ | n1_spindle_no <> spindle_no$),

[

pspindle

############ prpm

]

pcan1, pbld, n$, *sg28ref, "U0.", "Z90.", *toolno, strcantext, e$ #[if y_axis_mch, "V0."],JV

if lathe_stop | synch_flg | n1_gcode = 1003 | n1_posttype <> posttype$ | n1_spindle_no <> spindle_no$,

John

 

 

==================

Link to comment
Share on other sites

I tried Reece and bigjohn and it didnt work I tried to change it back and now it doesnt post at all All I get is this

quote:

Combined Mill and Lathe Post Processor Version 9.19 © Copyright 1992-2004 CNC Software, Inc.

Processing file with HAAS...

The post version does not match the executable version, Run UPDATEPST9 !

Program execution halted due to error(s) running .pst

Sometimes I wish I would leave things alone but I cant stop myself from tring to make it better

Can U help with this

I wont give up the ship banghead.gif

Link to comment
Share on other sites

You must use also "*toolno," in the following line, the postblock.

code:

  pcan1, pbld, n$, *sg28ref, "U0.", "Z90.", *toolno, strcantext, e$ #[if y_axis_mch, "V0."],JV  

Are you using the debug?

 

fastmode$ : yes$ #CD_VAR Enable Quick Post Processing, (set to no for debug)

bug1$ : 2 #0=No display, 1=Generic list box, 2=Editor

bug2$ : 30 #Append postline labels, non-zero is column position?

 

If you are no using it you are banging your head on the wall.

 

 

John

 

 

==============

Link to comment
Share on other sites

I'd like to help you if y could.

If that didn't work for you. Can you send me a copy of your post and a very simple geo file and nc file fragment showing output you want.

 

Are you using the Mplmaster post?

 

I'm not the best but, being retired, I have a lot of time in y hands and I like a good challenge.

 

Pm me if you like.

 

John

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