Jump to content


- - - - -

Block Skip in Code


  • Please log in to reply
8 replies to this topic

#1 KEVCAM

KEVCAM

    Member

  • Members
  • PipPip
  • 101 posts

Posted 15 February 2005 - 06:36 AM

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..  graemlins/firebounce.gif  

So I went through it with him..  graemlins/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??

#2 Psychomill

Psychomill

    Advanced Member

  • Members
  • PipPipPip
  • 770 posts

Posted 15 February 2005 - 07:07 AM

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.  graemlins/cheers.gif

#3 Tim Johnson

Tim Johnson

    Advanced Member

  • Members
  • PipPipPip
  • 2,337 posts

Posted 15 February 2005 - 07:09 AM

In your .pst file, look in the psof post block.

#4 Derek Goodwin eapprentice.net

Derek Goodwin eapprentice.net

    Advanced Member

  • Members
  • PipPipPip
  • 715 posts

Posted 15 February 2005 - 07:09 AM

Kevin, ouch!!! 1" rougher
I am sure someone will be on soon to help you with the post. Looking at your code, i am not sure how failure to Zero return would crash machine. my code looks the same, but no zero return.

#5 Derek Goodwin eapprentice.net

Derek Goodwin eapprentice.net

    Advanced Member

  • Members
  • PipPipPip
  • 715 posts

Posted 15 February 2005 - 07:10 AM

wow that was quick   eek.gif

#6 Allan Brown

Allan Brown

    Advanced Member

  • In-House Solutions
  • PipPipPip
  • 2,168 posts

Posted 15 February 2005 - 07:20 AM

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

#7 Psychomill

Psychomill

    Advanced Member

  • Members
  • PipPipPip
  • 770 posts

Posted 15 February 2005 - 07:27 AM

Dave,

quote:



and change to

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

Don't you mean

and change to

n, sgabsinc, "G28", "Z0.", e
n, "G28", "X0.", "Y0.", e

??

#8 Fred from Université de Sherbrooke

Fred from Université de Sherbrooke

    Advanced Member

  • Members
  • PipPipPip
  • 394 posts

Posted 15 February 2005 - 08:29 AM

if you just output pbld, it will output the block delete only if set by a canned text. If you have pfbld, it'll force the output of the block delete anytime. So you can just leave it to pbld.

#9 KEVCAM

KEVCAM

    Member

  • Members
  • PipPip
  • 101 posts

Posted 18 February 2005 - 07:51 AM

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.
  graemlins/cheers.gif