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??
Block Skip in Code
Started by
KEVCAM
, Feb 15 2005 06:36 AM
8 replies to this topic
#1
Posted 15 February 2005 - 06:36 AM
#2
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
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
Posted 15 February 2005 - 07:09 AM
In your .pst file, look in the psof post block.
#4
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.
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
Posted 15 February 2005 - 07:10 AM
wow that was quick eek.gif
#6
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
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
Posted 15 February 2005 - 07:27 AM
Dave,
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
??
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
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
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
--------------------------------------------------------------------------------
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















