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:

4th axis machining problem


rolland78
 Share

Recommended Posts

Hi guys.

 

 i have a really strange issue and i didn't found a solution for this until now. 

For a better understanding i will tried to explain in pictures :

post-58834-0-40422800-1423054735_thumb.jpg . In this pictures i'ts the hole what i like to make and also where is the wcs

post-58834-0-46415600-1423054880_thumb.jpg the same part from a different view and also the rotation axis for the 4th axis (TOP)

post-58834-0-80346200-1423055030_thumb.jpg The simulation with the toolpath and also the CNC program :

 

MPF0000(D1-RE55-00)
( T18 | Combined drill D7.43 | H8 )
N100 G00 G90 G17 G95 G40 G80
N110 G53 Z0. D0
N120 T18 D18 M06
N130 G00 G90 G54 X-104.2 Y-5.99 B25. S10500 M03
N140 G00 Z96.594
N150 G81 R2=96.594 R3=65.894 R10=96.594 F.2
N160 G80
N170 G90 G53 Z0. D0 M95 
N180 G53 X0. Y0.
N190 M30
%
 
Now the issue ; in the reality the Y axis value i need to put in the CNC machine Y24.29 and also for the Z axis positioning to Z95.34 , otherwise the position of the hole it will be in wrong position made.
A make also a simulation in Briscad post-58834-0-48344900-1423055108_thumb.jpg to check myself and the simulation show me that i'm making something wrong in mastercam but the fact is that i don't know what. 
I tried also to make different WCS or to combined Tool planes but the result is the same. Another think is that the rotation axis is not in the same place with the WCS of the part because the device has one rotation axis and i have 4 parts in different position and also with different offsets . G54 i'ts in B0(i'm machining some holes in this position) and i like to use the same offset to machine the hole in 25 degree without to change the offset.
And the CNC program with the right Z and Y  must be like this :
 
MPF0000(D1-RE55-00)
( T18 | Combined drill D7.43 | H8 )
N100 G00 G90 G17 G95 G40 G80
N110 G53 Z0. D0
N120 T18 D18 M06
N130 G00 G90 G54 X-104.2 Y-24.29 B25. S10500 M03
N140 G00 Z95.34
N150 G81 R2=95.34 R3=64.64 R10=95.34 F.2
N160 G80
N170 G90 G53 Z0. D0 M95 
N180 G53 X0. Y0.
N190 M30
 
any ideas ?
Thanks
Link to comment
Share on other sites

Rolland I read this and reread this many times and I cannot wrap my brain around your problem. You are not giving enough information to help. Here are some questions I have:

 

#1 Got a file to share? Maybe just do same some with the holes and fixture plate.

#2 What kind of machine is this for?

#3 Does the machine have work offset offsetting ability?

#4 How is your post setup? Are you using the pivot point from the trunnion or head? Again where the type of machine helps.

#5 What other parts have you done like this that have worked?

#6 Have you use the same WCS for all the parts and then used the C-T Planes to control your indexes? If you are using a WCS at each part location you do understand that is a unique Work Offset for each part?

#7 Have you brought in anyone from the outside to give their advise or opinions on the work you are doing? A second set of eyes so to speak?

 

I am known to stick my neck out here and have it cut off so if I am out in left field I am good with that. I want to help, but need more information so myself to help.

Link to comment
Share on other sites

Rolland I read this and reread this many times and I cannot wrap my brain around your problem. You are not giving enough information to help. Here are some questions I have:

 

#1 Got a file to share? Maybe just do same some with the holes and fixture plate.

#2 What kind of machine is this for?

#3 Does the machine have work offset offsetting ability?

#4 How is your post setup? Are you using the pivot point from the trunnion or head? Again where the type of machine helps.

#5 What other parts have you done like this that have worked?

#6 Have you use the same WCS for all the parts and then used the C-T Planes to control your indexes? If you are using a WCS at each part location you do understand that is a unique Work Offset for each part?

#7 Have you brought in anyone from the outside to give their advise or opinions on the work you are doing? A second set of eyes so to speak?

 

I am known to stick my neck out here and have it cut off so if I am out in left field I am good with that. I want to help, but need more information so myself to help.

 

 

#2 - The machine it's a Chiron12W with Sinumerik 840 D Control, Vertical Machine an the 4th axis it is in the table of the machine and  the rotaxis it's paralel with the X axis.

#3 - Yes , but i'm not using.

#4 - From the trunnion , It's like in this video : 

#5 - Similar part like i have posted. In this moment i'm machining 12 types of similar parts and when i made the CNC program i had the same issues.

#6 - Because i have 4 part in the device i have G54, G55, G56 and G57 ( what i have posted before it was only for one work station), The rotation axis is not in the same place with G54,G55..., So i will  explain more detailed .

post-58834-0-25590100-1423124679_thumb.jpg

post-58834-0-64549500-1423124685_thumb.jpg

post-58834-0-04713100-1423124692_thumb.jpg

 

In  mastercam i have  defined  the TOP the axis of the rotation , and like in the attached pictures for each part i defined one WCS .The wcs it was created at the begining for one part and copy for each part (work station) . In B0 where i have defined the WCS the position of the holes and milling operation is in the right place, but i want to use the same wcs after rotation (because the hole is in 25 dgr.). And i saw that the mastercam dont keep the WCS in the same location after rotating the 4th axis (not in the simulation don't understand me wrong, only just in the CNC program ). It's like this

post-58834-0-53001000-1423125903_thumb.jpg the part in B0 and with the offset G54 (this example only for one part)

post-58834-0-20138000-1423125909_thumb.jpg and after the rotation of the 4th axis . with the red color is the right value for Z and Y ,and with the white color is What give or make mastercam. I dont know why in post processed program it is moved the offset for the part. And also i tried to post process with another post processors . This is the reason that i'm thinking that something i'm doing wrong.

 

in case if the rotation axis is in the same place with the WCS (another reference) i dont have this problems  . 

 

#7 - Yes ,and until now nobody can't give me an answer for this. I have also some friends in programming with mastercam and even they have no ideas .

Link to comment
Share on other sites

Rolland I read this and reread this many times and I cannot wrap my brain around your problem. You are not giving enough information to help. Here are some questions I have:

 

#1 Got a file to share? Maybe just do same some with the holes and fixture plate.

#2 What kind of machine is this for?

#3 Does the machine have work offset offsetting ability?

#4 How is your post setup? Are you using the pivot point from the trunnion or head? Again where the type of machine helps.

#5 What other parts have you done like this that have worked?

#6 Have you use the same WCS for all the parts and then used the C-T Planes to control your indexes? If you are using a WCS at each part location you do understand that is a unique Work Offset for each part?

#7 Have you brought in anyone from the outside to give their advise or opinions on the work you are doing? A second set of eyes so to speak?

 

I am known to stick my neck out here and have it cut off so if I am out in left field I am good with that. I want to help, but need more information so myself to help.

 

 

#2 - The machine it's a Chiron12W with Sinumerik 840 D Control, Vertical Machine an the 4th axis it is in the table of the machine and  the rotaxis it's paralel with the X axis.

#3 - Yes , but i'm not using.

#4 - From the trunnion , It's like in this video : 

#5 - Similar part like i have posted. In this moment i'm machining 12 types of similar parts and when i made the CNC program i had the same issues.

#6 - Because i have 4 part in the device i have G54, G55, G56 and G57 ( what i have posted before it was only for one work station), The rotation axis is not in the same place with G54,G55..., So i will  explain more detailed .

post-58834-0-25590100-1423124679_thumb.jpg

post-58834-0-64549500-1423124685_thumb.jpg

post-58834-0-04713100-1423124692_thumb.jpg

 

In  mastercam i have  defined  the TOP the axis of the rotation , and like in the attached pictures for each part i defined one WCS .The wcs it was created at the begining for one part and copy for each part (work station) . In B0 where i have defined the WCS the position of the holes and milling operation is in the right place, but i want to use the same wcs after rotation (because the hole is in 25 dgr.). And i saw that the mastercam dont keep the WCS in the same location after rotating the 4th axis (not in the simulation don't understand me wrong, only just in the CNC program ). It's like this

post-58834-0-53001000-1423125903_thumb.jpg the part in B0 and with the offset G54 (this example only for one part)

post-58834-0-20138000-1423125909_thumb.jpg and after the rotation of the 4th axis . with the red color is the right value for Z and Y ,and with the white color is What give or make mastercam. I dont know why in post processed program it is moved the offset for the part. And also i tried to post process with another post processors . This is the reason that i'm thinking that something i'm doing wrong.

 

in case if the rotation axis is in the same place with the WCS (another reference) i dont have this problems  . 

 

#7 - Yes ,and until now nobody can't give me an answer for this. I have also some friends in programming with mastercam and even they have no ideas .

Link to comment
Share on other sites

#2 - The machine it's a Chiron12W with Sinumerik 840 D Control, Vertical Machine an the 4th axis it is in the table of the machine and  the rotaxis it's paralel with the X axis.

#3 - Yes , but i'm not using.

#4 - From the trunnion , It's like in this video : 

#5 - Similar part like i have posted. In this moment i'm machining 12 types of similar parts and when i made the CNC program i had the same issues.

#6 - Because i have 4 part in the device i have G54, G55, G56 and G57 ( what i have posted before it was only for one work station), The rotation axis is not in the same place with G54,G55..., So i will  explain more detailed .

attachicon.gifmastercam issue5.jpg

attachicon.gifmastercam issue6.jpg

attachicon.gifmastercam issue7.jpg

 

In  mastercam i have  defined  the TOP the axis of the rotation , and like in the attached pictures for each part i defined one WCS .The wcs it was created at the begining for one part and copy for each part (work station) . In B0 where i have defined the WCS the position of the holes and milling operation is in the right place, but i want to use the same wcs after rotation (because the hole is in 25 dgr.). And i saw that the mastercam dont keep the WCS in the same location after rotating the 4th axis (not in the simulation don't understand me wrong, only just in the CNC program ). It's like this

attachicon.gifmastercam issue8.jpg the part in B0 and with the offset G54 (this example only for one part)

attachicon.gifmastercam issue9.jpg and after the rotation of the 4th axis . with the red color is the right value for Z and Y ,and with the white color is What give or make mastercam. I dont know why in post processed program it is moved the offset for the part. And also i tried to post process with another post processors . This is the reason that i'm thinking that something i'm doing wrong.

 

in case if the rotation axis is in the same place with the WCS (another reference) i dont have this problems  . 

 

#7 - Yes ,and until now nobody can't give me an answer for this. I have also some friends in programming with mastercam and even they have no ideas .

 

I suspect no one has been able to give you an answer because even after reading the 5 times I still don't quite understand the issue and as such I can't give you an answer either...

 

You might try sharing your file so someone can see what it is you're seeing

Link to comment
Share on other sites

Does this look correct?

%
O0000(D1-RE55-00)
(DATE=DD-MM-YY - 05-02-15 TIME=HH:MM - 07:53)
(MCX FILE - C:\USERS\JPARIS\DESKTOP\D1-RE55-0011\D1-RE55-0011.MCX-8)
(NC FILE - C:\USERS\JPARIS\DOCUMENTS\MY MCAMX8\MILL\NC\D1-RE55-00.nc)
(MATERIAL - ALUMINUM MM - 2024)
( T18 | COMBINED DRILL D7.43 | H18 )
( T9 | COMBINED DRILL D12 | H2 )
N100 G21
N110 G0 G17 G40 G49 G80 G90
N120 T18 M6
N130 G0 G90 G54 X-104.2 Y-5.99 A25. S10500 M3
N140 G43 H18 Z100.594
N150 G99 G81 Z65.894 R100.594 F.2
N160 G80
N170 Z150.594
N180 G55 X-104.2 Y-5.99 Z100.594 A25.
N190 G99 G81 Z65.894 R100.594 F.2
N200 G80
N210 Z191.949
N220 G57 X104.2 Y5.99 Z96.594 A-25.
N230 G99 G81 Z65.894 R96.594 F.2
N240 G80
N250 Z160.206
N260 G56 X104.2 Y5.99 Z100.594 A-25.
N270 G99 G81 Z65.894 R100.594 F.2
N280 G80
N290 M5
N300 G91 G28 Z0.
N310 A0.
N320 M01
N330 T9 M6
N340 G0 G90 G56 X0. Y0. A0. S10000 M3
N350 G43 H2 Z116.
N360 G99 G81 Z-4.2 R116. F.2
N370 G80
N380 G57 X0. Y0. Z116. A0.
N390 G99 G81 Z-4.2 R116. F.2
N400 G80
N410 G55 X0. Y0. Z116. A0.
N420 G99 G81 Z-4.2 R116. F.2
N430 G80
N440 G54 X0. Y0. Z116. A0.
N450 G99 G81 Z-4.2 R116. F.2
N460 G80
N470 X-131.601 Y10.351 Z115.
N480 Z17.
N490 G1 Z3.5
N500 G42 D2 X-131.209 Y15.335 F.1
N510 G2 X-126.602 Y10.351 I-.392 J-4.984
N520 X-126.617 Y9.959 I-4.999 J0.
N530 X-132.503 Y4.518 I-5.886 J.463
N540 X-132.966 Y4.535 I0. J5.904
N550 G1 X-134.96 Y4.692
N560 G2 X-140.401 Y10.578 I.463 J5.886
N570 X-134.497 Y16.482 I5.904 J0.
N580 X-134.034 Y16.465 I0. J-5.904
N590 G1 X-132.04 Y16.308
N600 G2 X-126.599 Y10.422 I-.463 J-5.886
N610 X-126.617 Y9.959 I-5.904 J0.
N620 X-131.601 Y5.352 I-4.984 J.392
N630 X-131.993 Y5.366 I0. J4.999
N640 G1 G40 X-131.601 Y10.351
N650 X-131.502 Y10.343
N660 G42 D2 X-131.11 Y15.327
N670 G2 X-126.503 Y10.343 I-.392 J-4.984
N680 X-126.517 Y9.951 I-4.999 J0.
N690 X-132.503 Y4.417 I-5.986 J.471
N700 X-132.974 Y4.436 I0. J6.005
N710 G1 X-134.968 Y4.592
N720 G2 X-140.502 Y10.578 I.471 J5.986
N730 X-134.497 Y16.583 I6.005 J0.
N740 X-134.026 Y16.564 I0. J-6.005
N750 G1 X-132.032 Y16.408
N760 G2 X-126.498 Y10.422 I-.471 J-5.986
N770 X-126.517 Y9.951 I-6.005 J0.
N780 X-131.502 Y5.343 I-4.985 J.392
N790 X-131.894 Y5.358 I0. J5.
N800 G1 G40 X-131.502 Y10.343
N810 G0 Z115.
N820 G55 X-131.601 Y10.351 Z115. A0.
N830 Z17.
N840 G1 Z3.5 F.2
N850 G42 D2 X-131.209 Y15.335 F.1
N860 G2 X-126.602 Y10.351 I-.392 J-4.984
N870 X-126.617 Y9.959 I-4.999 J0.
N880 X-132.503 Y4.518 I-5.886 J.463
N890 X-132.966 Y4.535 I0. J5.904
N900 G1 X-134.96 Y4.692
N910 G2 X-140.401 Y10.578 I.463 J5.886
N920 X-134.497 Y16.482 I5.904 J0.
N930 X-134.034 Y16.465 I0. J-5.904
N940 G1 X-132.04 Y16.308
N950 G2 X-126.599 Y10.422 I-.463 J-5.886
N960 X-126.617 Y9.959 I-5.904 J0.
N970 X-131.601 Y5.352 I-4.984 J.392
N980 X-131.993 Y5.366 I0. J4.999
N990 G1 G40 X-131.601 Y10.351
N1000 X-131.502 Y10.343
N1010 G42 D2 X-131.11 Y15.327
N1020 G2 X-126.503 Y10.343 I-.392 J-4.984
N1030 X-126.517 Y9.951 I-4.999 J0.
N1040 X-132.503 Y4.417 I-5.986 J.471
N1050 X-132.974 Y4.436 I0. J6.005
N1060 G1 X-134.968 Y4.592
N1070 G2 X-140.502 Y10.578 I.471 J5.986
N1080 X-134.497 Y16.583 I6.005 J0.
N1090 X-134.026 Y16.564 I0. J-6.005
N1100 G1 X-132.032 Y16.408
N1110 G2 X-126.498 Y10.422 I-.471 J-5.986
N1120 X-126.517 Y9.951 I-6.005 J0.
N1130 X-131.502 Y5.343 I-4.985 J.392
N1140 X-131.894 Y5.358 I0. J5.
N1150 G1 G40 X-131.502 Y10.343
N1160 G0 Z115.
N1170 G57 X131.601 Y-10.351 Z115. A0.
N1180 Z17.
N1190 G1 Z3.5 F.2
N1200 G42 D2 X131.209 Y-15.335 F.1
N1210 G2 X126.602 Y-10.351 I.392 J4.984
N1220 X126.617 Y-9.959 I4.999 J0.
N1230 X132.503 Y-4.518 I5.886 J-.463
N1240 X132.966 Y-4.535 I0. J-5.904
N1250 G1 X134.96 Y-4.692
N1260 G2 X140.401 Y-10.578 I-.463 J-5.886
N1270 X134.497 Y-16.482 I-5.904 J0.
N1280 X134.034 Y-16.465 I0. J5.904
N1290 G1 X132.04 Y-16.308
N1300 G2 X126.599 Y-10.422 I.463 J5.886
N1310 X126.617 Y-9.959 I5.904 J0.
N1320 X131.601 Y-5.352 I4.984 J-.392
N1330 X131.993 Y-5.366 I0. J-4.999
N1340 G1 G40 X131.601 Y-10.351
N1350 X131.502 Y-10.343
N1360 G42 D2 X131.11 Y-15.327
N1370 G2 X126.503 Y-10.343 I.392 J4.984
N1380 X126.517 Y-9.951 I4.999 J0.
N1390 X132.503 Y-4.417 I5.986 J-.471
N1400 X132.974 Y-4.436 I0. J-6.005
N1410 G1 X134.968 Y-4.592
N1420 G2 X140.502 Y-10.578 I-.471 J-5.986
N1430 X134.497 Y-16.583 I-6.005 J0.
N1440 X134.026 Y-16.564 I0. J6.005
N1450 G1 X132.032 Y-16.408
N1460 G2 X126.498 Y-10.422 I.471 J5.986
N1470 X126.517 Y-9.951 I6.005 J0.
N1480 X131.502 Y-5.343 I4.985 J-.392
N1490 X131.894 Y-5.358 I0. J-5.
N1500 G1 G40 X131.502 Y-10.343
N1510 G0 Z115.
N1520 G56 X131.601 Y-10.351 Z115. A0.
N1530 Z17.
N1540 G1 Z3.5 F.2
N1550 G42 D2 X131.209 Y-15.335 F.1
N1560 G2 X126.602 Y-10.351 I.392 J4.984
N1570 X126.617 Y-9.959 I4.999 J0.
N1580 X132.503 Y-4.518 I5.886 J-.463
N1590 X132.966 Y-4.535 I0. J-5.904
N1600 G1 X134.96 Y-4.692
N1610 G2 X140.401 Y-10.578 I-.463 J-5.886
N1620 X134.497 Y-16.482 I-5.904 J0.
N1630 X134.034 Y-16.465 I0. J5.904
N1640 G1 X132.04 Y-16.308
N1650 G2 X126.599 Y-10.422 I.463 J5.886
N1660 X126.617 Y-9.959 I5.904 J0.
N1670 X131.601 Y-5.352 I4.984 J-.392
N1680 X131.993 Y-5.366 I0. J-4.999
N1690 G1 G40 X131.601 Y-10.351
N1700 X131.502 Y-10.343
N1710 G42 D2 X131.11 Y-15.327
N1720 G2 X126.503 Y-10.343 I.392 J4.984
N1730 X126.517 Y-9.951 I4.999 J0.
N1740 X132.503 Y-4.417 I5.986 J-.471
N1750 X132.974 Y-4.436 I0. J-6.005
N1760 G1 X134.968 Y-4.592
N1770 G2 X140.502 Y-10.578 I-.471 J-5.986
N1780 X134.497 Y-16.583 I-6.005 J0.
N1790 X134.026 Y-16.564 I0. J6.005
N1800 G1 X132.032 Y-16.408
N1810 G2 X126.498 Y-10.422 I.471 J5.986
N1820 X126.517 Y-9.951 I6.005 J0.
N1830 X131.502 Y-5.343 I4.985 J-.392
N1840 X131.894 Y-5.358 I0. J-5.
N1850 G1 G40 X131.502 Y-10.343
N1860 G0 Z115.
N1870 M5
N1880 G91 G28 Z0.
N1890 G28 X0. Y0. A0.
N1900 M30
%

You  have the wrong axis checked if so

 

2015-02-05_7-54-48_zps224e96ad.png[/url

 

Also, I am not partial to the way you made this rotation.  I prefer to use and set planes to generate my rotation instead of relying on the geometry and that switch]

Link to comment
Share on other sites

If you're saying the simulation looks good but the code is bad, then the problem is probably how your post is calculating the rotation. Just by looking at your pictures it seems that neither the default Mastercam world origin nor your created plane origins actually lie on the center of rotation. Someone correct me if I'm wrong, but in my experience the axis of rotation should lie along a world origin axis, especially if you're doing 3+1 toolpath and not using mult-axis.

Link to comment
Share on other sites

Does this look correct?

%
O0000(D1-RE55-00)
(DATE=DD-MM-YY - 05-02-15 TIME=HH:MM - 07:53)
(MCX FILE - C:\USERS\JPARIS\DESKTOP\D1-RE55-0011\D1-RE55-0011.MCX-8)
(NC FILE - C:\USERS\JPARIS\DOCUMENTS\MY MCAMX8\MILL\NC\D1-RE55-00.nc)
(MATERIAL - ALUMINUM MM - 2024)
( T18 | COMBINED DRILL D7.43 | H18 )
( T9 | COMBINED DRILL D12 | H2 )
N100 G21
N110 G0 G17 G40 G49 G80 G90
N120 T18 M6
N130 G0 G90 G54 X-104.2 Y-5.99 A25. S10500 M3
N140 G43 H18 Z100.594
N150 G99 G81 Z65.894 R100.594 F.2
N160 G80
N170 Z150.594
N180 G55 X-104.2 Y-5.99 Z100.594 A25.
N190 G99 G81 Z65.894 R100.594 F.2
N200 G80
N210 Z191.949
N220 G57 X104.2 Y5.99 Z96.594 A-25.
N230 G99 G81 Z65.894 R96.594 F.2
N240 G80
N250 Z160.206
N260 G56 X104.2 Y5.99 Z100.594 A-25.
N270 G99 G81 Z65.894 R100.594 F.2
N280 G80
N290 M5
N300 G91 G28 Z0.
N310 A0.
N320 M01
N330 T9 M6
N340 G0 G90 G56 X0. Y0. A0. S10000 M3
N350 G43 H2 Z116.
N360 G99 G81 Z-4.2 R116. F.2
N370 G80
N380 G57 X0. Y0. Z116. A0.
N390 G99 G81 Z-4.2 R116. F.2
N400 G80
N410 G55 X0. Y0. Z116. A0.
N420 G99 G81 Z-4.2 R116. F.2
N430 G80
N440 G54 X0. Y0. Z116. A0.
N450 G99 G81 Z-4.2 R116. F.2
N460 G80
N470 X-131.601 Y10.351 Z115.
N480 Z17.
N490 G1 Z3.5
N500 G42 D2 X-131.209 Y15.335 F.1
N510 G2 X-126.602 Y10.351 I-.392 J-4.984
N520 X-126.617 Y9.959 I-4.999 J0.
N530 X-132.503 Y4.518 I-5.886 J.463
N540 X-132.966 Y4.535 I0. J5.904
N550 G1 X-134.96 Y4.692
N560 G2 X-140.401 Y10.578 I.463 J5.886
N570 X-134.497 Y16.482 I5.904 J0.
N580 X-134.034 Y16.465 I0. J-5.904
N590 G1 X-132.04 Y16.308
N600 G2 X-126.599 Y10.422 I-.463 J-5.886
N610 X-126.617 Y9.959 I-5.904 J0.
N620 X-131.601 Y5.352 I-4.984 J.392
N630 X-131.993 Y5.366 I0. J4.999
N640 G1 G40 X-131.601 Y10.351
N650 X-131.502 Y10.343
N660 G42 D2 X-131.11 Y15.327
N670 G2 X-126.503 Y10.343 I-.392 J-4.984
N680 X-126.517 Y9.951 I-4.999 J0.
N690 X-132.503 Y4.417 I-5.986 J.471
N700 X-132.974 Y4.436 I0. J6.005
N710 G1 X-134.968 Y4.592
N720 G2 X-140.502 Y10.578 I.471 J5.986
N730 X-134.497 Y16.583 I6.005 J0.
N740 X-134.026 Y16.564 I0. J-6.005
N750 G1 X-132.032 Y16.408
N760 G2 X-126.498 Y10.422 I-.471 J-5.986
N770 X-126.517 Y9.951 I-6.005 J0.
N780 X-131.502 Y5.343 I-4.985 J.392
N790 X-131.894 Y5.358 I0. J5.
N800 G1 G40 X-131.502 Y10.343
N810 G0 Z115.
N820 G55 X-131.601 Y10.351 Z115. A0.
N830 Z17.
N840 G1 Z3.5 F.2
N850 G42 D2 X-131.209 Y15.335 F.1
N860 G2 X-126.602 Y10.351 I-.392 J-4.984
N870 X-126.617 Y9.959 I-4.999 J0.
N880 X-132.503 Y4.518 I-5.886 J.463
N890 X-132.966 Y4.535 I0. J5.904
N900 G1 X-134.96 Y4.692
N910 G2 X-140.401 Y10.578 I.463 J5.886
N920 X-134.497 Y16.482 I5.904 J0.
N930 X-134.034 Y16.465 I0. J-5.904
N940 G1 X-132.04 Y16.308
N950 G2 X-126.599 Y10.422 I-.463 J-5.886
N960 X-126.617 Y9.959 I-5.904 J0.
N970 X-131.601 Y5.352 I-4.984 J.392
N980 X-131.993 Y5.366 I0. J4.999
N990 G1 G40 X-131.601 Y10.351
N1000 X-131.502 Y10.343
N1010 G42 D2 X-131.11 Y15.327
N1020 G2 X-126.503 Y10.343 I-.392 J-4.984
N1030 X-126.517 Y9.951 I-4.999 J0.
N1040 X-132.503 Y4.417 I-5.986 J.471
N1050 X-132.974 Y4.436 I0. J6.005
N1060 G1 X-134.968 Y4.592
N1070 G2 X-140.502 Y10.578 I.471 J5.986
N1080 X-134.497 Y16.583 I6.005 J0.
N1090 X-134.026 Y16.564 I0. J-6.005
N1100 G1 X-132.032 Y16.408
N1110 G2 X-126.498 Y10.422 I-.471 J-5.986
N1120 X-126.517 Y9.951 I-6.005 J0.
N1130 X-131.502 Y5.343 I-4.985 J.392
N1140 X-131.894 Y5.358 I0. J5.
N1150 G1 G40 X-131.502 Y10.343
N1160 G0 Z115.
N1170 G57 X131.601 Y-10.351 Z115. A0.
N1180 Z17.
N1190 G1 Z3.5 F.2
N1200 G42 D2 X131.209 Y-15.335 F.1
N1210 G2 X126.602 Y-10.351 I.392 J4.984
N1220 X126.617 Y-9.959 I4.999 J0.
N1230 X132.503 Y-4.518 I5.886 J-.463
N1240 X132.966 Y-4.535 I0. J-5.904
N1250 G1 X134.96 Y-4.692
N1260 G2 X140.401 Y-10.578 I-.463 J-5.886
N1270 X134.497 Y-16.482 I-5.904 J0.
N1280 X134.034 Y-16.465 I0. J5.904
N1290 G1 X132.04 Y-16.308
N1300 G2 X126.599 Y-10.422 I.463 J5.886
N1310 X126.617 Y-9.959 I5.904 J0.
N1320 X131.601 Y-5.352 I4.984 J-.392
N1330 X131.993 Y-5.366 I0. J-4.999
N1340 G1 G40 X131.601 Y-10.351
N1350 X131.502 Y-10.343
N1360 G42 D2 X131.11 Y-15.327
N1370 G2 X126.503 Y-10.343 I.392 J4.984
N1380 X126.517 Y-9.951 I4.999 J0.
N1390 X132.503 Y-4.417 I5.986 J-.471
N1400 X132.974 Y-4.436 I0. J-6.005
N1410 G1 X134.968 Y-4.592
N1420 G2 X140.502 Y-10.578 I-.471 J-5.986
N1430 X134.497 Y-16.583 I-6.005 J0.
N1440 X134.026 Y-16.564 I0. J6.005
N1450 G1 X132.032 Y-16.408
N1460 G2 X126.498 Y-10.422 I.471 J5.986
N1470 X126.517 Y-9.951 I6.005 J0.
N1480 X131.502 Y-5.343 I4.985 J-.392
N1490 X131.894 Y-5.358 I0. J-5.
N1500 G1 G40 X131.502 Y-10.343
N1510 G0 Z115.
N1520 G56 X131.601 Y-10.351 Z115. A0.
N1530 Z17.
N1540 G1 Z3.5 F.2
N1550 G42 D2 X131.209 Y-15.335 F.1
N1560 G2 X126.602 Y-10.351 I.392 J4.984
N1570 X126.617 Y-9.959 I4.999 J0.
N1580 X132.503 Y-4.518 I5.886 J-.463
N1590 X132.966 Y-4.535 I0. J-5.904
N1600 G1 X134.96 Y-4.692
N1610 G2 X140.401 Y-10.578 I-.463 J-5.886
N1620 X134.497 Y-16.482 I-5.904 J0.
N1630 X134.034 Y-16.465 I0. J5.904
N1640 G1 X132.04 Y-16.308
N1650 G2 X126.599 Y-10.422 I.463 J5.886
N1660 X126.617 Y-9.959 I5.904 J0.
N1670 X131.601 Y-5.352 I4.984 J-.392
N1680 X131.993 Y-5.366 I0. J-4.999
N1690 G1 G40 X131.601 Y-10.351
N1700 X131.502 Y-10.343
N1710 G42 D2 X131.11 Y-15.327
N1720 G2 X126.503 Y-10.343 I.392 J4.984
N1730 X126.517 Y-9.951 I4.999 J0.
N1740 X132.503 Y-4.417 I5.986 J-.471
N1750 X132.974 Y-4.436 I0. J-6.005
N1760 G1 X134.968 Y-4.592
N1770 G2 X140.502 Y-10.578 I-.471 J-5.986
N1780 X134.497 Y-16.583 I-6.005 J0.
N1790 X134.026 Y-16.564 I0. J6.005
N1800 G1 X132.032 Y-16.408
N1810 G2 X126.498 Y-10.422 I.471 J5.986
N1820 X126.517 Y-9.951 I6.005 J0.
N1830 X131.502 Y-5.343 I4.985 J-.392
N1840 X131.894 Y-5.358 I0. J-5.
N1850 G1 G40 X131.502 Y-10.343
N1860 G0 Z115.
N1870 M5
N1880 G91 G28 Z0.
N1890 G28 X0. Y0. A0.
N1900 M30
%

You  have the wrong axis checked if so

 

 

[url=http://s8.photobucket.com/user/jmparis/media/2015-02-05_7-54-48_zps224e96ad.png.html]2015-02-05_7-54-48_zps224e96ad.png[/url

 

Also, I am not partial to the way you made this rotation.  I prefer to use and set planes to generate my rotation instead of relying on the geometry and that switch]

To rotate in Z ,no i didn't tried .

And the CNC Program it's NOK , because in the line N130 the Y axis value it must be Y-24.29  instead of Y-5.99

In N140 the Z95.34 , instead of Z100.594

In N150 the Z64.64 instead of Z65.894

Link to comment
Share on other sites

If you're saying the simulation looks good but the code is bad, then the problem is probably how your post is calculating the rotation. Just by looking at your pictures it seems that neither the default Mastercam world origin nor your created plane origins actually lie on the center of rotation. Someone correct me if I'm wrong, but in my experience the axis of rotation should lie along a world origin axis, especially if you're doing 3+1 toolpath and not using mult-axis.

 

I tried with multiaxis also . 

Link to comment
Share on other sites

Well, I don't know where you are getting your numbers but your origin is on the hole and the measured distance to the hole is 5.99mm

 

Perhaps you need to check your setup again becase what you have laid out and the numbers you "think" you should be seeing are not correct in your setup

 

The numbers don't lie

 

Even if I measure from the centerline of rotation, I get 17.99mm

 

2015-02-05_8-16-18_zps4ea3decd.png

Link to comment
Share on other sites

Does this look correct?



You  have the wrong axis checked if so

 

2015-02-05_7-54-48_zps224e96ad.png[/url

 

Also, I am not partial to the way you made this rotation.  I prefer to use and set planes to generate my rotation instead of relying on the geometry and that switch]

 

@JParis , i make a mistake in last post .Yes i have tried to put also in Z and before i have Posted the File i forgot to put back to X

Link to comment
Share on other sites

Well, I don't know where you are getting your numbers but your origin is on the hole and the measured distance to the hole is 5.99mm

 

Perhaps you need to check your setup again becase what you have laid out and the numbers you "think" you should be seeing are not correct in your setup

 

The numbers don't lie

 

Even if I measure from the centerline of rotation, I get 17.99mm

 

2015-02-05_8-16-18_zps4ea3decd.png

 

@JParis , i make one simulation in Briscad and the problem is that mastercam move also the G54 with the rotation. But in the reality that offset point doesn't move. So try to imagine B0 you have defined a WCS (a theoretical point) after the rotation of the 4th axis that point remain in the same place . And from that point if you taking some dimensions you will able to see that you different value of Y and Z 

Link to comment
Share on other sites

Like stated above, You need to create a Plane for that toolpath.  Much more reliable IMHO.  Dynamic Planes is so Easy to use.  Just leave the toolpath set to no rotation.

ok . I tried with dynamic rotation(i rotated the whole device) ,and the CNC program almost it's ok

%
MPF0000(D1-RE55-00)
( T18 | COMBINED DRILL D7.43 | H18 )
N100 G00 G90 G17 G95 G40 G80
N110 G53 Z0. D0
N120 T18 D18 M06
N130 G00 G90 G54 X-104.2 Y-24.29 B0. S10500 M03
N140 G00 Z99.344
N150 G81 R2=99.344 R3=64.644 R10=99.344 F.2
N160 G80
N170 Z149.344
N180 G90 G53 Z0. D0 M95 
N190 G53 X0. Y0.
N200 M30
%
 
But , because i didn't use rotation of the 4th axis the B will B0 instead of B30
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...