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:

Can I insert saftey/stop move?


millman2002
 Share

Recommended Posts

This is what I've done to my post to make it do what you're asking.

 

pstop # Stop routine

pretract

pcom_moveb

if mi10=one, n, "X0.Y10.Z0.E0H0", e

if mi10=one, n, *sm00, comment, e

if mi10=one, n, ptoolcomm, e

 

On the parameters page activate the misc values box and set mi10 to 1, this will put an M0 before the operation.

When a manual entry is posted it will appear after the M0.

Note: You'll need to add a G54 (or whatever) to the code at start up, as you've canceled it with the E0.

pcan1, pbld, n, *sgcode, *sgabsinc, pwcs,

pfxout, pfyout, pfcout, *speed, "G54",

*spindle, pgear, strcantext, e

The above is one line.

Works well for me.

Smit

Link to comment
Share on other sites

After reading smit's post, Force tool change would do the same thing between operations. That is if the post will spit out an M1 and the optional stop is activated.

 

Smit - Very elegant solution. If you leave the E0 off the block will the Fadal retain the proper work coordinate?

Link to comment
Share on other sites

In V9 the force tool change has a bug in it that causes a program stop each depth cut when using multiple depth cuts. It has been recommended to me not to use this feature in V9. It does work well in V8. If the E0 is not included the table will move to the work offset position of X0, Y10., Z0. (set in my post). I'm not sure what the Z will do with an H0, I've never tried it. Then it will retain the original setting. When I tried to force PWCS the post gave me an error, so I settled for the "G54". It's not ideal, and you have to be aware of it if you're using multiple work offsets, but it's liveable.

Link to comment
Share on other sites

Smit -

 

Pretty Clever. I modified my Fadal post almost excatly the same way; using M10=1 to call the pstop sub-routine! We mostly use a pstop between two contours machined by the same tool, to change clamps. I put in a point at the begining of the second contour.

 

works like a champ biggrin.gif

 

Kathy

Link to comment
Share on other sites

The Standard MPFADAL2.pst has this functionality. Set Mi1 to "1" and Z will retract and the table will position out towards operator. It doesn't allow for Comments or M0. Smits solution is much nicer but this will work in a pinch. It posts with block delete on so remember to throw the "/" switch on.

 

-----read on.

------8<-----snipped ----------8<--------

[pre]

code:

 # --------------------------------------------------------------------------

# Features:

# --------------------------------------------------------------------------

# This post supports Generic FADAL (FORMAT 2) code output for 3 and 4 axis milling.

# Subprograms are also supportted. Subroutines are NOT supportted.

# It is designed to support the features of Mastercam Mill V8.

#

# Following Misc. Integers are used:

#

# mi1 - Work coordinate system

# 0 = Reference return is generated and G92 with the

# X, Y and Z home positions at file head.

#
1 = Reference return is generated and G92 with the

# X, Y and Z home positions at each tool.

# 2 = WCS of E1, E2.... based on Mastercam settings (workofs).

#

# mi2 - Absolute or Incremental positioning at top level

# 0 = absolute

# 1 = incremental

#

# mi3 - Select G28 or G30 reference point return.

# 0 = G28, 1 = G30

#

[/pre]

 

my .02

KLG

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