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:

Block Skip in Code


KEVCAM
 Share

Recommended Posts

Hi all,

Recently I had an operator have the block skip switch turned on, and so the machine did not home itself before excuting program. frown.gif Unfortuanlty he had a G92 Z0 set on the machine.(Not knowing the true repercussions of his actions went ahead to run program thus ..... U all know what crashes sound like.. firebounce.gif

 

So I went through it with him.. rtfaq.gif

 

What I want to know is how or where in the MPMaster post I can tell the code to not put in block skips.

 

 

O0001

(MASTERCAM - V9.)

(MC8 FILE - SWABUT CABLE TUBE)

(POST - C:MCAM9MILLPOSTSMPMASTER USED.PST)

(MATERIAL - NONE)

(PROGRAM - crash.NC)

(DATE - FEB-15-05)

(TIME - 11:23)

N1 G20

N3 G00 G17 G40 G49 G80 G90

/ N5 G91 G28 Z0.

/ N7 G28 X0. Y0.

N9 T14 M06 (1" 3FLT COURSE PITCH ROUGHER)

N11 G00 G90 X14.8928 Y-6.2036 S1200 M03

 

Any sugestions??

Link to comment
Share on other sites

You can change a switch in your post to shut off block skips. Should look something like this under the "common user-defined variable" :

 

bld : 1 #Block delete active

 

Change the '1' to a '0' and it should shut off the block skip function. Assuming your post is V8 or newer and not an updated V6 or 7. Let me know if that doesn't work. cheers.gif

Link to comment
Share on other sites

Thanks everyone for all of your help. cool.gif

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

You'd need to search the post - maybe the psof postblock for lines like these:

 

pfbld, n, sgabsinc, "G28", "Z0.", e

pfbld, n, "G28", "X0.", "Y0.", e

 

and change to

 

pbld, n, sgabsinc, "G28", "Z0.", e

pbld, n, "G28", "X0.", "Y0.", e

 

Dave, I changed psof postblock like you sugested and it worked awsome first time around.

 

I appreciate everyone's input.

cheers.gif

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