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:

Probing


councill_oak
 Share

Recommended Posts

We are using a Renishaw H-2000-5000 MP1 Probe with cross-hair pucks on our CMS PF2 for aligning bordered dining room tops and desk tops on the table using 2-point and 4-point cycles. These cycles and cordinates are manually inserted into each program. These cycles are not very versatile causing extensive setup time. I would like to have some cycles that I could incorporate into the post processor so I could pick the cordinates in mastercam and generate the cycle in the program when posting. Most of the information I find is for milling /lathe applications. Help

 

Machine: CMS PF2

Post: MP_EZ Generic 3-axis

Mastercam 9.1 SP2(a)

 

Gregg Everhart

Product Engineer

Councill

gregeverhart@councill

firebounce.gifbanghead.gif .com

Link to comment
Share on other sites
Guest CNC Apps Guy 1

In the Post I have this,

code:

pdrlcst         #Custom drill cycles 8 - 19 (user option)

#Use this postblock to customize drilling cycles 8 - 19

pdrlcommonb

if drillcyc = 9,

[

"(*** BEGIN PROBING CYCLE ***)", e

pdrlcommonb

"(G320 AUTO CENTERING CYCLE)", e

n, pfxout, pfyout, pfzout, e

n, *sgdrill, *drl_prm1, *drl_prm4, *drl_prm5, *drl_prm6, "R3.", *drl_prm9, e

]

pcom_movea

 

pdrlcst_2 #Custom drill cycles 8 - 19, additional points (user option)

#Use this postblock to customize drilling cycles 8 - 19

pdrlcommonb

if drillcyc = 8,

[

sub_prg_call = peck1

pcan1, pbld, n, *sg00, *sgabsinc, pfxout, pfyout, strcantext, e

pbld, n, "M98", *sub_prg_call, e

]

n, pfxout, pfyout, pfzout, e

n, *sgdrill, *drl_prm1, *drl_prm4, *drl_prm5, *drl_prm6, *drl_prm8, *drl_prm9, e

pcom_movea

 

#Probing Variables

drl_prm1 : 0 # Custom Drill Parameter 1 - Diameter D

drl_prm2 : 0 # Custom Drill Parameter 2 -

drl_prm3 : 0 # Custom Drill Parameter 3 -

drl_prm4 : 0 # Custom Drill Parameter 4 - Absolute Z Point where Measurement is Taken Z

drl_prm5 : 0 # Custom Drill Parameter 5 - Approach Amount E

drl_prm6 : 0 # Custom Drill Parameter 6 - Fixture Offset #'s 1-48 Ext., 54-59 Std. W

drl_prm7 : 0 # Custom Drill Parameter 7 -

drl_prm8 : 0 # Custom Drill Parameter 8 - Number of Hits R

drl_prm9 : 0 # Custom Drill Parameter 9 - Number of Points S

drl_prm10 : 0 # Custom Drill Parameter 10 -

 

# Probing Cycle Formatting

fmt D 2 drl_prm1 # Custom Drill Parameter 1 - D - Diameter

fmt 2 drl_prm2 # Custom Drill Parameter 2 -

fmt 2 drl_prm3 # Custom Drill Parameter 3 -

fmt Z 2 drl_prm4 # Custom Drill Parameter 4 - Z - Absolute Z Point where Measurement is Taken

fmt E 2 drl_prm5 # Custom Drill Parameter 5 - E - Approach Amount

fmt W 2 drl_prm6 # Custom Drill Parameter 6 - W -Fixture Offset No.

fmt 2 drl_prm7 # Custom Drill Parameter 7 -

fmt R 2 drl_prm8 # Custom Drill Parameter 8 - R - Number of Hits

fmt S 2 drl_prm9 # Custom Drill Parameter 9 - S - Number of Points

fmt 4 drl_prm10 # Custom Drill Parameter 10 -


In the Post Text File

 

code:

   

[drill cycle 10]

1. "G320 Probing Cycle"

2. "Feed rate"

3. ""

4. ""

5. ""

6. ""

7. ""

8. ""

9. ""

10. ""

11. ""

 

[drill cycle descriptions]

1. "G81/G82 - Drill/Counterbore"

2. "G83 - Peck Drill"

3. "G73 - Chip Break"

4. "G84 Rigid Peck Tap"

5. "G85/G89 - Bore (feed out)"

6. "G86 - Bore (stop, rapid out)"

7. "G76 - Fine Bore (shift)"

8. "Misc #2 Drill"

9. "Subprogram Call"

10. "G320 Auto Centering Cycle"

11. "Custom drill cycle #11"

12. "Custom drill cycle #12"

13. "Custom drill cycle #13"

14. "Custom drill cycle #14"

15. "Custom drill cycle #15"

16. "Custom drill cycle #16"

17. "Custom drill cycle #17"

18. "Custom drill cycle #18"

19. "Custom drill cycle #19"

20. "Custom drill cycle #20"

31. "5 axis"

 

 

[drill custom param 10]

1. "Ø To Measure - D"

2. ""

3. ""

4. "Absolute - Z"

5. "Approach - E"

6. "Fixture Offset - W"

7. ""

8. ""

9. "No. Of Hits - R"

10. "No. Of Points - S"

11. "G320 Auto Centering Cycle"


This works for me in our machine.

 

HTH

Link to comment
Share on other sites

I set up my post to read my job set up values

_______________

M117

T40

M06

G10L50

N20R1

N21R1

G11

G54X0Y0

(X)G65P9110R5.X0Y0Z-.2U11.5C1.S0W0Q0.0002F0

(Y)G65P9110R5.25X0Y0Z-.2U12.5C1.S0W0Q0.0002F0

(Z)G65P9130Z0I0J0K.5S0Q0.0002F0

G10L50

N20R5

N21R5

G11

M117

T5

M06

_______________

 

"M117"

"T40"

"M06"

"G10L50"

"N20R1"

"N21R1"

"G11"

pwcs, "X0Y0"

 

"(X)G65P9110", stck_ht , "X0Y0Z-.2U11.5C1.S0W0Q0.0002F0"

 

"(Y)G65P9110", stck_wdth , "X0Y0Z-.2U12.5C1.S0W0Q0.0002F0"

 

"(Z)G65P9130Z0I0J0K.5S0Q0.0002F0"

 

I just hard coded the rest of the callout.

 

PEACE biggrin.gif

Link to comment
Share on other sites

I use custom drill parameters Renishaw Inspection Plus

 

A samlpe of my post text file.

 

9. "Single Surface Measurement(X)"

10. "Single Surface Measurement(Y)"

11. "Single Surface Measurement(Z)"

12. "Web Pocket Measurement"

13. "Bore Boss 4 Point Measurement"

14. "Internal Corner Measurement"

15. "External Corner Measurement"

16. "Angle Single Surface Measurement"

17. "Angle Web or Pocket Measurement"

18. "Bore Boss 3 Point Measurement"

19. "4th Axis X Measurement"

20. "4th Axis Y Measurement"

 

A samlpe of my post file.

 

pdrlcst_8 #Single Surface Measurement (X) O9811

 

probeclear = initht

probeout = refht

probestart = depth

nomx = peck1

wnum = peck2

tol = drl_prm1

tptol = drl_prm2

potd = drl_prm3

tonum = drl_prm4

prnt = drl_prm5

 

 

pdrlcommonb

if spinprobe = 1, pbld, n, "G65P9832", e

pbld, n, "M19", e

if protecpos = 0, pbld, n, "G0", probeout, feed, e

if protecpos = 1, pbld, n, "G65P9810", probeout, feed, e

if protecpos = 0, pbld, n, "G0", probestart, *feed, e

if protecpos = 1, pbld, n, "G65P9810", probestart, *feed, e

pbld, n, "G65P9811", *nomx, *wnum, tol, tptol, potd, tonum, prnt, e

if protecpos = 0, pbld, n, "G0", *probeout, *feed, e

if protecpos = 1, pbld, n, "G65P9810", *probeout, *feed, e

pbld, n, "G0", probeclear, e

pcom_movea

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Tim, that was my first idea but as you said it takees up a lot of MI's and MR's so I opted for the Drilling Cycles. Seeing other's work thouugh has got my propeller spinning for some new things I want to add adnd it looks to be a cleaner way than my way. Thanks for the ideas Craig. cheers.gif

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