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:

Using Misc. Reals in a post.


MIL-TFP-41
 Share

Recommended Posts

Hey all...I know there is a easy way around this but I can't seem to figure it out.

 

One of the machines we have here is a big Horizontal boring mill. The spindle retracts out as the "W" axis. Typically, we run the "W" out to 5 or 10 inches & then drill or face or do whatever. What I would like to do is configure a Misc. Real value for the "W" retract amount. Right now I am using a variation of the MPMASTER post for this machine.

 

On a different machine, a high speed 5 axis trunion type, it has a different variation of high speed cutting. You turn on high speed by a "HONR*" command. The * is a number, 1 thru 10, dealing with the resolution or tolerance of your cut....for example, if you are roughing, the command might be "HONR2" and for finishing it might be "HONR8". I would like to configure a Misc. Real to put in the number 1~10. The post on this machine is the MPGEN5X.

 

Thanks all for you help

Link to comment
Share on other sites

here is what i did for a quill extenion on our bridge mill, close to what you want anyway ?

 

# mi4 - 0 = Quill home position, M80 Output

# 1 = Quill extend by entering 81, 82, 83 in mi4, Output, M81, M82, or M83

 

 

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

# Quill Extention with mr4

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

 

pquillext

 

if mi4 = 1,

[

sav_mr4 = mr4,

*sav_mr4, e

]

mi4 = 0

 

in psof and ptlchg add in pquillext (or your name used)

 

pcan1, pbld, n, *sgcode, *sgabsinc, pfxout, pfyout,

*speed, *spindle, pgear, pwcs, pquillext, strcantext, e

Link to comment
Share on other sites

in your post.txt change this area so you see it in your tool parm page

 

[misc reals]

1. "Misc. real [1]"

2. "Misc. real [2]"

3. "Misc. real [3]"

4. "Extend - 81 = 7.88, 82 = 13.79, 83 = 19.7"

5. "Misc. real [5]"

6. "Misc. real [6]"

7. "Misc. real [7]"

8. "Misc. real [8]"

9. "Misc. real [9]"

10. "Misc. real [10]"

Link to comment
Share on other sites

JMC,

 

We added a "mr5" to our horizontals.

 

This is what we changed or added in four areas of the post. As Mayday stated, ,we changed our .txt file that corresponds with the post to say spindle w-axis extension.

 

fmt W 18 mr5 #W position output

 

 

ptlchg_com #Tool change common blocks

pcom_moveb

c_mmlt #Multiple tool subprogram call

#pn, ";", peob, e #9/18/03

#ptoolcomment

 

pwcs

ptoolcomm

#G51 stages tool

#pbld, pn, "G51", *t, peob, e

#pbld, pn, "M06", peob, e

#pn, ";", peob, e

pcan

#if zretr > 0, pbld, pn, *sgcode, *zretr, *sccomp, pfmax, peob, e

#else, pbld, pn, *sgcode, "Z+0", *sccomp, pfmax, *sm92, peob, e

#pbld, pn, *sgcode, pfzout, next_tool, *sccomp, pfmax, scoolant, peob, e

if t > 0, pbld, pn, "TOOL DEF ", *t, peob, e

pbld, pn, "TOOL CALL ", *t, *sgplane, *speed, peob, e

pcan1, pbld, pn, *sgcode, mr5, pgear, strcantext, *sccomp,

 

 

205. Default miscellaneous real variable 5 (mr5)? -4.0

 

 

1605. Default miscellaneous real variable 5 (mr5) (metric)? -101.6

 

HTH,

Greg

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