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:

Manual Entry for M0 program stop??


ddelauter
 Share

Recommended Posts

I have been looking for a way to add a program stop through the Operations List, but when I do it allways puts parenthesis "()" around the codes, and the machine won't read it as a command.

I basically want to have the program stop and table movement automatically entered into the NC code every time I post, rather than entering it manually every time.

This is the code I would like to have automatically entered:

G28Y0

M0

I would like to put that before or after whatever operation I want, through the operations list.

Any help is greatly appreciated. Thanks in advance..

Don

Link to comment
Share on other sites

I've got one set up using misc values. It only goes before the operation that it is assigned to. It will also prompt you for a comment to place with the M0. It has the tool change info, that works with null tool changes as well as normal tool changes. Changing the Y move will be easy.

Here's a sample of the code:

N244 G00 Z1.

N245 M05

N246 G49 Z0.

N247 G59 Y-4.

N248 G54

N249 M00 ( ENTER COMMENT HERE )

N250 (FINISH POCKET)

N251 T2 M06 (3/4 FLAT ENDMILL 0.75)

If you're interested, let me know and I'll send you the post data.

Rekd

Link to comment
Share on other sites

thanks for the help, but I think I have found what the problem was.

In my post, the code for manual entry was as follows:

pcomment # Manual Entry - COMMENTS (on a block by itself) 1005,1006

"(", scomm, ")"

I just took out the quotes and parenthesis.

BTW, if anyone knows if this will cause a problem please let me know ASAP!!!

Link to comment
Share on other sites

as long as you dont put any thing eles you should be fine.

but now mastercam puts coments in the comments window for you so you need to watch every time you write a program, that it did not post some thing for you.

all it takes is the wrong letter and BOOM the machine CRASHS..

so i suggest you follow REKD and look at what he is offering.

truefulyu i would like to see it, if he do's not mind.

then if he would like i can put on my FTP to share if he would like.

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

jay/ aka cadcam

Precision Programming

cnc programming &

Predator reseller

email: [email protected]

web: www.ppcadcam.com

Link to comment
Share on other sites

Jay,

I emailed you the code I use for the program stop. I think I got everything..! eek.gif If not, lemme know.

The post I made for this has a few other 'goodies' that you could prolly live without, but I find very useful. Like a drill cycle made for a drop-stop; really useful if you ever use a dowel pin in the spindle to locate parts, does it automatically, just like drilling holes.

Haven't figured out how to safely get rid of the G80, but it's not gonna hurt anything there.

N2 G00 G17 G40 G49 G80 G90

N3 (LOCATE X0)

N4 T3 M06 (.250 TOOL STOP)

N5 (DEPTH: Z-.25)

N6 G00 G90 G54 X-.125 Y1.

N7 G43 H3 Z1.

N8 X-.125 Y1.

N9 Z-.25

N10 M00

N11 Z1.

N12 G80

N13 M05

Enjoy!

Rekd

Link to comment
Share on other sites

Hi,

I have a pstop sequence in my posts that I tag with using Misc Variable 10. If I want to stop a tool between contours, I break the contours into a definate start / stop, and place a point on the start of the second contour. In the point's parameter, I eval MV 10 = 1. This inserts a pstop sequence (retracts and stops tool, moves table forward to home, and add tools start stuff after pstop) from my post(example Fadal):

pstop # program stop

n, "G00 G49 M47 Z0 M5", e

n, "E0 X0 Y0", e

n, "M00( PROGRAM STOP)", e

pss, e

n, "E1", *xr, *yr, e

n, ptllncomp,e

mi10=0

I also use a similar sequence when pstoping at a tool change.

Kathy

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