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 Editing Question


RDub
 Share

Recommended Posts

I recently updated an old Mori post to be used in X2 MR2. I used the updatepost chook. The problem is that after updating, the post now outputs the drill cycle between pheader and psof when it is the first tool, subsequent tools it puts it before the tool change but after toolend. Any ideas how to move it back? Please and Thank you in advance! Here is a snippet of the posted code...

 

% pheader$ pheader$ 50.

O0000(PROGRAM NAME - FIX MORI POST) pheader$ pheader$ 50.

(PROGRAMMED 01-27-10 @ 15:15) pheader$ pheader$ 50.

(T27) pdrill$ pcomment2 56.

N10G28G91Z0 pdrill$ psafez 56.

N20G90G54.1P7B-90. pdrill$ ppos_cax_lin2 56.

N30G43H27Z3. pdrill$ pdrill$ 56.

N40G98G81X-.73Y-2.7725Z-.7689R-.3689F10. pdrill$ pdrill$ 56.

N50G80 pcanceldc$ pcanceldc$ 58.

T27( 1/4 CENTERDRILL , D27, ) psof$ ptoolcomment 60.

M6 psof$ psof$ 60.

T27 psof$ psof$ 60.

N60G8P1 psof$ psof$ 60.

N70G0G17G40G49G80G90 psof$ psof$ 60.

N80G28G91Z0 psof$ psafez 60.

N90G90G54.1P7B-90. psof$ psof$ 60.

N100G90X-.73Y-2.7725S1800M3 psof$ psof$ 60.

N110M8 psof$ psof$ 60.

N120G43H27Z3. psof$ psof$ 60.

N130M9 peof$ ptoolend_t 60.

N140G91G28Z0.M5 peof$ ptoolend_t 60.

N150G325 Q.01 peof$ ptoolend_t 60.

N160G90 peof$ peof$ 60.

N170M30 peof$ peof$ 60.

% peof$ peof$ 60.

Link to comment
Share on other sites

Robert,

 

My guess would be that you have a call to the pdrill$ post block somewhere in pheader.

 

I noticed that you are getting the "bug 2" output that shows you the first and last postblock on each NC code line.

 

If you set the bug 2 to a negative value, you will get all the postblocks labels that have been called in the post even if output did not

occur as a result of executing the instructions in that postblock. This can be useful to see what is getting called.

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