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:

5 Axis Alignments


cincy k
 Share

Recommended Posts

for parts we do with .02mm true position if its not at a0c0 I use a sub without the twp and pick it up with the probe.

the ruby will build up with aluminum after a while. we ordered an m4-m5 adapter so we can use the silicon nitrate probes from the cmm(Renishaw silicon nitrate really expensive )

Link to comment
Share on other sites
17 minutes ago, Leon82 said:

for parts we do with .02mm true position if its not at a0c0 I use a sub without the twp and pick it up with the probe.

the ruby will build up with aluminum after a while. we ordered an m4-m5 adapter so we can use the silicon nitrate probes from the cmm(Renishaw silicon nitrate really expensive )

Talk to Qmark they make the Silicon Nitrate tips much cheaper and just as good.

  • Like 1
Link to comment
Share on other sites
19 hours ago, Zbuilder said:

Hey Cincy K, did you ever figure it out? We also have the MX520 but got the EZ-5 Retrofit kit from Matsuura. What we do is set the gauge ball at the 1:30 position on the table (back right corner) as far away from center (for best precision) without over traveling. We have the Marposs probe and not the Renishaw so Matsuura had to make/modify macros for us so the Marposs probe talked to the EZ-5 part of the control correctly. The program checks the ball 3 times (120° apart) on the C axis while A0.0, Then it tilts at A-45 (I think) and does it again at 3 positions around C axis.

EZ-5.jpg

FYI, it's NOT really a do it all set and forget kind of alignment. I'd treat it more as a nice reference start point, but not something that will get you aligned to a really tight specs ))

Link to comment
Share on other sites

If anyone cares, I created a similar program to find the -Y- and -Z- centerline based on 3 points. 

Basically, store the following variables then run the below code. It will set your 19700's. 

#750= 1st Y position

#751= 1st Z position

#752= 2nd Y position

#753= 2nd Z position

#754= 3rd Y position

#755= 3rd Z position

 

 

(MATH TO CALCULATE CL OF Y IS WITH 3 POINTS) 
#101=[[#750*#750]+[#751*#751]]*[#753-#755] 
#102=[[#752*#752]+[#753*#753]]*[#755-#751] 
#103=[[#754*#754]+[#755*#755]]*[#751-#753] 
#104=#101+#102+#103
#105=#750*[#753-#755]
#106=#751*[#752-#754]
#107=#752*#755 
#108=#754*#753 
#109=2*[#105-#106+#107-#108] 
#763=#104/#109( CALCULATE Y CENTERLINE)
#763=#763*100000 

(MATH TO CALCULATE CL OF Z IS WITH 3 POINTS) 
#101=[[#750*#750]+[#751*#751]]*[#754-#752] 
#102=[[#752*#752]+[#753*#753]]*[#750-#754] 
#103=[[#754*#754]+[#755*#755]]*[#752-#750] 
#104=#101+#102+#103
#105=#750*[#753-#755]
#106=#751*[#752-#754]
#107=#752*#755 
#108=#754*#753 
#109=2*[#105-#106+#107-#108] 
#764=#104/#109( CALCULATE Z CENTERLINE)
#764=#764*100000 
 
M00( PRESS START AGAIN TO UPDATE 19700 ETC)
( PRESS START AGAIN TO UPDATE 19700 ETC) 
(UPDATE 19700) 
G10G90L52
N19701R#763
G11
G10G90L52
N19702R#764
G11

 

  • Like 4
Link to comment
Share on other sites
On ‎3‎/‎6‎/‎2018 at 8:24 AM, Ray D said:

If anyone cares, I created a similar program to find the -Y- and -Z- centerline based on 3 points. 

Basically, store the following variables then run the below code. It will set your 19700's. 

#750= 1st Y position

#751= 1st Z position

#752= 2nd Y position

#753= 2nd Z position

#754= 3rd Y position

#755= 3rd Z position

 

 


(MATH TO CALCULATE CL OF Y IS WITH 3 POINTS) 
#101=[[#750*#750]+[#751*#751]]*[#753-#755] 
#102=[[#752*#752]+[#753*#753]]*[#755-#751] 
#103=[[#754*#754]+[#755*#755]]*[#751-#753] 
#104=#101+#102+#103
#105=#750*[#753-#755]
#106=#751*[#752-#754]
#107=#752*#755 
#108=#754*#753 
#109=2*[#105-#106+#107-#108] 
#763=#104/#109( CALCULATE Y CENTERLINE)
#763=#763*100000 

(MATH TO CALCULATE CL OF Z IS WITH 3 POINTS) 
#101=[[#750*#750]+[#751*#751]]*[#754-#752] 
#102=[[#752*#752]+[#753*#753]]*[#750-#754] 
#103=[[#754*#754]+[#755*#755]]*[#752-#750] 
#104=#101+#102+#103
#105=#750*[#753-#755]
#106=#751*[#752-#754]
#107=#752*#755 
#108=#754*#753 
#109=2*[#105-#106+#107-#108] 
#764=#104/#109( CALCULATE Z CENTERLINE)
#764=#764*100000 
 
M00( PRESS START AGAIN TO UPDATE 19700 ETC)
( PRESS START AGAIN TO UPDATE 19700 ETC) 
(UPDATE 19700) 
G10G90L52
N19701R#763
G11
G10G90L52
N19702R#764
G11

 

So what three points are you taking? 

Ive tried to get Methods to help us setup these parameters on a robodrill with basically no help at all.

Link to comment
Share on other sites
1 minute ago, JMahon said:

So what three points are you taking? 

Ive tried to get Methods to help us setup these parameters on a robodrill with basically no help at all.

I am using this to work on a robodrill right now. Our table is mounted to the left side of the machine, so B tilts positive around the Y axis.

Just playing with the math in this macro, I believe the first point would be taken at B0, the second at B45, the third at B90

So....you can get X and Y zero by just probing the bore or indicating while the table is at B zero.

You will likely get a different X value using this macro with a probe.

The difference between the value you get with the macro and the value you get while at B zero would be what you put in 19703

  • Like 1
Link to comment
Share on other sites
1 hour ago, JMahon said:

So what three points are you taking? 

Ive tried to get Methods to help us setup these parameters on a robodrill with basically no help at all.

 

I start with the ball at 12 o'clock position and the table at -A- zero, -B- zero and take the first Y and Z. 

Then I tilt to A45 deg and take the second set of numbers. 

Then I tilt to A90 and take the third set. 

The actual -A- angle doesn't matter. Of course the further apart the angles, the more accurate your solution will turn out.  But it is important NOT to move you -B- axis. That must stay at the same -B- as you started or else the math will not work.

 

Let me know if you need a better explanation. 

  • Like 1
Link to comment
Share on other sites

BTW, if you have Vericut, you can preload the variables for #750 thru #755 and run the code. That's what I did. I drew a circle in MasterCam going through 3 points, and used the point locations for my variable. Then ran it and the solution should come out the Z and Y of the center of the circle that intersects the 3 points. 

Link to comment
Share on other sites

Here is the complete code for our Makino NX51. Keep in mind that this particular one is for a horizontal, but the math is the same no matter if you want to find the centerline of -A-, -B-, or -C-

The #900 is the size of the ball being probed.

 

(*************************)
N4 
( THIS PROGRAM WILL MEASURE ROTARY CENTERLINE AND ADJUST ) 
( YOU SHOULD ALWAYS CALIBRATE PROBE FIRST AT N2) 
( SET B AXIS BALL TOWARDS SPINDLE )
( SET G10 LINE TO CENTERLINE OF TOOLING BALL)
M00(CHANGE G10 LINE) 
G10G90L2P1X-.025Y11.125Z5.475B90.
G11
T90000000M6
( PROBE )
G0G90G54 
G65P9999A1.B0. 
X0.Y0. 
G43H1D2Z5. 
IF[#900LT.499]GOTO900
IF[#900GT1.40]GOTO901
G65P9532 
G65P9510Z[#900]
G65P9514D[#900]Z0.S1.
G65P9510X0.Y0. 
G90
G65P9511Z[#900/2]S1. 
G01G90Z5.F100. 
G65P9999A1.B0. 
X0.Y0. 
G65P9510Z[#900]
G65P9514D[#900]Z0.S2.
G1G91X-[#135]Y-[#136]
G90
G65P9511Z[#900/2]S2. 
G01G90Z5.F100. 
( STORE G55 XYZ AT B0 )
#750=#5241 
#751=#5243 
( NOW ROTATE 270 DEGREES ) 
() 
 
G65P9999A1.B270. 
X0.Y0. 
G65P9510Z[#900]
G65P9514D[#900]Z0.S2.
G1G91X-[#135]Y-[#136]
G90
G65P9511Z[#900/2]S2. 
G65P9510Z20. 
( STORE G55 XYZ AT B270 )
#752=#5241 
#753=#5243 
( NOW ROTATE 90 DEGREES )
() 
G65P9999A1.B90.
X0.Y0. 
G65P9510Z[#900]
G65P9514D[#900]Z0.S2.
G1G91X-[#135]Y-[#136]
G90
G65P9511Z[#900/2]S2. 
G65P9510Z20. 
( STORE G55 XYZ AT B90 ) 
#754=#5241 
#755=#5243 
 
G65P9533 
M98P8800 
 
#761=[#752+#754]/2 
#761=#761*100000 
 
 
M00( PRESS START TO UPDATE X CENTER) 
G10G90L52
N19700R#761
G11
 
M00
 
 
N20
 
(MATH TO CALCULATE CL OF X WITH 3 POINTS)
#101=[[#750*#750]+[#751*#751]]*[#753-#755] 
#102=[[#752*#752]+[#753*#753]]*[#755-#751] 
#103=[[#754*#754]+[#755*#755]]*[#751-#753] 
#104=#101+#102+#103
#105=#750*[#753-#755]
#106=#751*[#752-#754]
#107=#752*#755 
#108=#754*#753 
#109=2*[#105-#106+#107-#108] 
#763=#104/#109( CALCULATE X CENTERLINE)
#763=#763*100000 
 
#101=[[#750*#750]+[#751*#751]]*[#754-#752] 
#102=[[#752*#752]+[#753*#753]]*[#750-#754] 
#103=[[#754*#754]+[#755*#755]]*[#752-#750] 
#104=#101+#102+#103
#105=#750*[#753-#755]
#106=#751*[#752-#754]
#107=#752*#755 
#108=#754*#753 
#109=2*[#105-#106+#107-#108] 
#764=#104/#109( CALCULATE Z CENTERLINE)
#764=#764*100000 
 
M00( PRESS START AGAIN TO UPDATE 19700 ETC)
(UPDATE 19700) 
G10G90L52
N19700R#763
G11
G10G90L52
N19702R#764
G11
M30
 

 

  • Like 1
Link to comment
Share on other sites
4 minutes ago, Ray D said:

BTW, if you have Vericut, you can preload the variables for #750 thru #755 and run the code. That's what I did. I drew a circle in MasterCam going through 3 points, and used the point locations for my variable. Then ran it and the solution should come out the Z and Y of the center of the circle that intersects the 3 points. 

You can also do the poor mans version with the macro calc found here : http://www.ncplot.com/freetools.htm

  • Like 1
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...