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:

drill cycle posting


Zbuilder
 Share

Recommended Posts

First, can anyone explain this debug info to me? I can figure out that the posted line was performed by the module printed at the beginning of the debug ivo but can't figure out what the other stuff means. Here's an example...

O0010(JUNK) pheader$ pheader$ 68.

M6 T7 ( #10-32 TAP ) psof$ ptoolcomment 70.

G90 G56 psof$ psof$ 70.

G0 X.113 Y1.0875 M3 S960 psof$ psof$ 70.

G43 H7 Z0. psof$ psof$ 70.

M98 P15 psof$ p__56:1666 70.

( CUSTOMIZABLE DRILL CYCLE - NOT CONFIGURED - NEXT HOLE ) pdrlcst_2$ p__43:1457 76.

Y-1.0865 F30. pdrlcst_2$ pdrill_2$ 76.

M98 P15 pdrlcst_2$ p__56:1666 76.

G80 pcanceldc$ pcanceldc$ 78.

M98 P15 pcanceldc$ p__56:1666 78.

M5 peof$ p__11:932 80.

G49 G53 Z0. peof$ p__11:932 80.

G53 Y0. peof$ p__11:932 80.

M6 T7 peof$ peof$ 80.

M0 peof$ peof$ 80.

M99 peof$ peof$ 80.

peof$ peof$ 80.

% peof$ peof$ 80.

 

 

I'm trying to use drill cycle #9 (which starts the custom drill cycle area drop down list, 9th position) to not output any drill cycle but only to position X & Y but I can't get the post to go to the module I copied & pasted as a new name.

Link to comment
Share on other sites

ZBuilder,

 

"...ss there any way to not make it post the G80 when using drill cycle #9?:

 

I assume you're referring to this ->

 

G80 pcanceldc$ pcanceldc$ 78

 

If so...

 

Find the postline in the pcanceldc$ that outputs the 'G80' and add a conditional statement that determines whether that postline gets executed, or not...

 

I think you need to check for '9', but it is very easy to determine if this is correct (or not).

Just add a temporary "print me" line in the pcanceldc$ postblock, like shown below.

Post your custom drill toolpath and whatever

"drillcyc$ = #" is in your NC output is the value you need to check for.

 

Something like ->

code:

pcanceldc$

"drillcyc$ = ", ~drillcyc$, e$ # TEMP!!!

if (drillcyc$ <> 9),

pcan1, pbld, n$, "G80", strcantext, e$

Link to comment
Share on other sites

"Is there a way to "goto" another postblock so it just goes somewhere else & not come back?"

 

While it is possible, I'm not telling how - 'cause you don't want to do it, as it makes Post debugging waaaay to painful.

Use conditional (logic) branching to determine what executes within a postblock and let the natural postblock flow happen.

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