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:

Post modify 101


Tony
 Share

Recommended Posts

I give up....

All I want to do is Have my

Drill "Cycle"(Custom 4) have a drop down that says

"Rigid tap" and the Page description to say

"Rigid tap,feed in,reverse spindle feed out"

and (Custom 7) Cycle to say "Peck tap",

and at the top "Peck tap"

Also My coolant to say Air not Mist....

 

I have Gotten bits and pieces to come in.

But not the whole scheme of things.

Any help would be appreciated

Thanks Tony

(I cannot upload my post to the ftp.

E mail is o.k. though)

Link to comment
Share on other sites

The texts you need to edit are in the postname. txt file, not in the postname.pst file, you should be able to find the entries needed for the drill cycle names by looking there.

 

Changeing the coolant names is a little trickier, as the entries are not in the postname.txt file by default, you will have to find the correct sections in the mill9.txt file and copy them to the postname.txt fil. Or you can copy them from here, they are:

 

[old text]

8330. "Off"

8331. "Flood"

8332. "Mist"

8333. "Tool"

 

[deftool]

100. "Off"

101. "Flood"

102. "Mist"

103. "Tool"

 

[change_at_point]

20. "Off"

21. "Flood"

22. "Mist"

23. "Tool"

 

[toolpath editor]

40. "Off"

41. "Flood"

42. "Mist"

43. "Tool"

 

[coolants]

10. "Off"

11. "Flood"

12. "Mist"

13. "Tool"

 

You only need to include the coolant types you wish to change in the postname.txt file, but you must include the bracketed headings, and the lines must have the correct numbers.

 

HTH.

Link to comment
Share on other sites

FIRST - MAKE BACKUPS OF ANY FILE YOU ARE GOING TO TOUCH!

 

Yes, I did mean to SHOUT that !

 

You alter the TXT file that goes with your PST file.

 

I altered the MPFAN.TXT for this example ->

 

code:

[drill cycle 12]

1. "RIGID TAP"

2. "Feed rate"

3. "Dwell"

4. "Clearance..."

5. "Retract..."

6. "Depth..."

7. ""

8. ""

9. ""

10. ""

11. ""

 

... and further down in the TXT file ...

 

[drill cycle descriptions]

1. "Simple drill - no peck"

2. "Peck drill - full retract"

3. "Chip break - incremental retract"

4. "Tapping - feed in, reverse spindle - feed out"

5. "Boring #1 - feed out"

6. "Boring #2 - stop spindle - rapid out"

7. "Misc #1 Drill"

8. "Misc #2 Drill"

9. "Custom drill cycle #9"

10. "Custom drill cycle #10"

11. "Custom drill cycle #11"

12. "RIGD TAP - feed in, reverse spindle - feed out""

13. "Custom drill cycle #13"

Link to comment
Share on other sites

code:

 .TXT

----

[drill cycle descriptions]

1. "Simple drill - no peck"

2. "Peck drill - full retract"

3. "Chip break - incremental retract"

4. "Tapping - feed in, reverse spindle - feed out"

5. "Boring #1 - feed out"

6. "Boring #2 - stop spindle - rapid out"

7. "Misc #1 Drill"

8. "DG's Rigid Tap" <-------- Shows Up in param page title bar and "page tab"

9. "Custom drill cycle #9"

........

 

[misc2]<-------- where my cycle was placed

1. "DG's Rigid Tap (IPR from tool)" <---- DropDown List

2. "Feed rate"

3. ""

4. "Clearance..."

5. "Retract..."

6. "Depth..."

7. ""

8. ""

9. ""

10. ""

11. ""

 

 

.PST

----

 

pmisc2 #Canned Misc #2 Cycle - RIGID <---Corresponding post section

 

pdrlcommonb

rt_feed = (1 / n_tap_thds)

"G93", e

pbld, n, *sgdrill, *sgdrlref, pxout, pyout, pfzout, pcout,

prdrlout, *rt_feed, e

pcom_movea

 

Yada Yada Yada

eyie me' cut 'n past'ns a we bit slow taday

 

[ 05-08-2003, 05:32 PM: Message edited by: CAMmando ]

Link to comment
Share on other sites

Wait, Caitlan.. *scratch head* .. is that his last name? The servant that always attacked the Pink Panther?

 

I named one of my cats that because that's what she does... you come around a corner and WHAM! she's attached to your shoe.

 

'Rekd teh damn cats..

Link to comment
Share on other sites

Thanks to Everyone!

 

The only error left is when I open a drill

operation "Message 1 in misc1 not found"

When I pick on the blank space where Misc1

used to be It errors message 4-11?

 

[Peck Tap]

1. "Peck Tap"

2. "Feed rate"

3. "Dwell"

4. "Clearance..."

5. "Retract..."

6. "Depth..."

7. "1st peck (Z)"

8. ""

9. ""

10. ""

11. ""

 

[drill cycle descriptions]

1. "Simple drill - no peck"

2. "Peck drill - full retract"

3. "Chip break - incremental retract"

4. "Rigid tap - feed in, reverse spindle - feed out"

5. "Boring #1 - feed out"

6. "Boring #2 - stop spindle - rapid out"

7. "Peck tap"

8. "Misc #2 Drill"

 

pmisc1 # Canned Misc #1 Cycle (Peck Tap)

peck1rt = peck1

n, "M29" , e

pdrillref

n, *drillref, *sgdrill, pdrlxyrot, *depth, *peck1rt, *refht, *frplunge, pdwell, e

 

confused.gif

Link to comment
Share on other sites

I am not certain what you mean by "it errors message 4-11", but you must never change the bracketed headers, they are used by Mastercam to find the text strings, so you must change your [peck tap] to [misc1] for your text file to work.

 

I might add, that I usually leave the 'name' strings empty for unused drill cycles, e.i. in [drill cycle descriptions] you might want text strings 8 to 20 to read "", and text string 1 under each corresponding cycle heading ([misc2] to [drill cycle 20]) also set to "". Then there will be empty lines in the dropdown menu and no text on the tab or in the operations manager for unused drill cycles.

Link to comment
Share on other sites

Tony,

 

You CAN NOT change the text inside the brackets []. According to your text below you have [Peck Tap] which I assume was [Misc1]. Text item #1 changes the text displayed in the drop down box.

 

[Peck Tap]

1. "Peck Tap"

2. "Feed rate"

3. "Dwell"

4. "Clearance..."

5. "Retract..."

6. "Depth..."

7. "1st peck (Z)"

8. ""

9. ""

10. ""

11. ""

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