586,106 active members*
3,036 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Mastercam > Simple 5 axis positional not correct.
Results 1 to 15 of 15
  1. #1
    Join Date
    Jan 2009
    Posts
    245

    Simple 5 axis positional not correct.

    I have a simple 5 axis positional part. I have attached the some screen shots and the actual mcx5 file. I have the part positioned correctly in that the WCS is at the center of rotation of my rotary and tilt table. I can cut the 45 deg section ok, and it positions correct with a B90 and a C-45. The problem is that I then have another compound angle of 2.199 deg more so it should output a C-47.199 and it also has another 6.061 deg from the B90. So it should output a B96.061 which that is out putting correct. The problem is the C is getting output at -42.801 instead of -47.199. So it is taking into account the extra 2.199 degrees but it is not putting it correctly.

    If someone could open up my MCX files, and check everything out and look at the misc values page, and make sure I am not missing something, that would be great.

    Here is the code

    N102 G20
    N104 G0 G17 G40 G80 G90 G94 G98
    N106 G0 G28 G91 Z0.
    N108 G0 G28 X0. Y0.
    N110 ( 3/4 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - .75 )
    N112 T1 M6
    N114 G0 G54 G90 X-4.415 Y8.466 C-45. B90. S1000 M3-<<<<<<<<< this position output is correct
    N116 G43 H1 Z5.4906
    N118 M8
    N120 Z4.0906
    N122 G1 Z3.5406 F1.
    N124 X-9.7769 F7.
    N126 Y7.9495
    N128 X-4.415
    N130 Y7.433
    N132 X-9.7769
    N134 Y6.9165
    N136 X-4.415
    N138 Y6.4
    N140 X-9.7769
    N142 Y5.8835
    N144 X-4.415
    N146 Y5.367
    N148 X-9.7769
    N150 Y4.8505
    N152 X-4.415
    N154 Y4.334
    N156 X-9.7769
    N158 Y3.8175
    N160 X-4.415
    N162 G0 Z3.9906
    N164 Z4.0906
    N166 Y8.466
    N168 G1 Z3.4906 F1.
    N170 X-9.7769 F7.
    N172 Y7.9495
    N174 X-4.415
    N176 Y7.433
    N178 X-9.7769
    N180 Y6.9165
    N182 X-4.415
    N184 Y6.4
    N186 X-9.7769
    N188 Y5.8835
    N190 X-4.415
    N192 Y5.367
    N194 X-9.7769
    N196 Y4.8505
    N198 X-4.415
    N200 Y4.334
    N202 X-9.7769
    N204 Y3.8175
    N206 X-4.415
    N208 G0 Z5.4906
    N210 S713 M3
    N212 C-42.801 B96.061-<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<this should read C-47.199
    N214 X1.077 Y1.4101
    N216 Z.8267
    N218 Z.7767
    N220 G1 Z0. F6.42
    N222 Y-.3345
    N224 G2 X-1.0319 Y-.84 I-1.115 J.0001
    N226 G1 Y-.0697
    N228 X-1.0383 Y.0232
    N230 X-1.0539 Y.1058
    N232 X-1.077 Y.182
    N234 Y1.1994
    N236 X1.077 Y1.4101
    N238 G0 Z.25
    N240 Z.7767
    N242 X1.087 Y1.4211
    N244 G1 Z0.
    N246 Y-.3345
    N248 G2 X-1.0419 Y-.8424 I-1.125
    N250 G1 Y-.0701
    N252 X-1.0482 Y.0219
    N254 X-1.0636 Y.1034
    N256 X-1.087 Y.1805
    N258 Y1.2085
    N260 X1.087 Y1.4211
    N262 G0 Z.8267
    N264 M9
    N266 M5
    N268 G0 G28 G91 Z0.
    N270 G0 G28 X0. Y0.
    N272 G28 C0. B0.
    N274 M30

    Thanks in advance

  2. #2
    Join Date
    Dec 2008
    Posts
    3109
    Sorry, can't check your file ( Mcam not on home PC )

    Re-check your actual view (42.801 + 47.199 = 90 ) strange that it adds to 90, seems your problem is this view you created

    your view should be as seen by the tool, WCS is your initial setup on the machine & is used in all ops that require machining with that setup


    A quick check is to set that questionable view as your WCS, then go to it's TOP view....Is this the scene that you expect the tool to cut ??

  3. #3
    Join Date
    Jan 2009
    Posts
    245
    Yes when I set the compound view I created off of solid face to WCBS and view top it is correct machining orientation. When creating tool path wcs is set to top of primary initial wcs with the construction and tool plane set to the compound plane.

  4. #4
    Join Date
    Apr 2003
    Posts
    3578
    this is more of what you should have.

    N100 G20
    N102 G0 G17 G40 G80 G90 G94 G98
    N104 G0 G28 G91 Z0.
    N106 G0 G28 X0. Y0.
    ( 3/4 FLAT ENDMILL |TOOL - 1|DIA. OFF. - 1|LEN. - 1|TOOL DIA. - .75)
    N108 T1 M6
    N110 M8
    N112 G0 G54 G90 X-5.6973 Y7.3382 C-42.801 B96.061 S713 M3
    N114 G43 H1 Z4.
    N116 Z2.8673
    N118 G1 Z2.1561 F6.42
    N120 X-7.8512 Y7.1276
    N122 Y6.1117
    N124 X-7.8505 Y6.1101
    N126 X-7.8267 Y6.0283
    N128 X-7.8097 Y5.9269
    N130 X-7.8061 Y5.8545
    N132 Y5.0882
    N134 G3 X-5.6973 Y5.5936 I.9938 J.5054
    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
    Cadcam
    Software and hardware sales, contract Programming and Consultant , Cad-Cam Instructor .

  5. #5
    Join Date
    Jan 2009
    Posts
    245
    The part has to roll past 45 deg. So the 42.801 would not be correct. Correct?

  6. #6
    Join Date
    Dec 2008
    Posts
    3109
    Quote Originally Posted by blakemachine View Post
    The part has to roll past 45 deg. So the 42.801 would not be correct. Correct?
    I'm finding it hard to understand ( from the drawing images ) why it is going past B90°
    - are you sure you are not 180° out in both your 45 & 47.199 views
    ( put a item to indicate your holding fixture below the part, then view the TOP of each of the views, that fixture should be in the Y+ area in relation to the part )

    It is the tool that is to be programmed to move ( not the part ).

  7. #7
    Join Date
    Apr 2003
    Posts
    3578
    I am sorry with this axis config this would be correct to introduce the part to the spindal. Please review picture.
    Attached Thumbnails Attached Thumbnails Caxis rotation.jpg  
    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
    Cadcam
    Software and hardware sales, contract Programming and Consultant , Cad-Cam Instructor .

  8. #8
    Join Date
    Jan 2009
    Posts
    245
    Ok, so I attached a jpeg of the spindle normal photo without any B or C rotation. So we can assume that for the correct C Rotation, in Z normal situation to the part that if the C rotates correctly, that the plane to be cut would be coincident with Y correct? Meaning the plane to cut would be going straight up and down. Please see picture so show this. If you roll in the C- direction to the 42.8 deg it will not be at the correct position is what I am getting at. I actually cut the part and started measuring is how I found this.

  9. #9
    Join Date
    Jan 2009
    Posts
    245
    Lets just say we are at top WCS. Then lets transform rotate 42.8 deg. That is what the code is outputing, therefore the correct plane should be coincident with the Y plane. But it is not. You have to transform rotate 47.2 deg from z normal at wcs to get it to be. The 42.8 is the remainder, but the 47.2 is the driven. Here is another photo showing.
    Attached Thumbnails Attached Thumbnails with circle and xform.PNG  

  10. #10
    Join Date
    Jan 2009
    Posts
    245
    If I xform rotate the whole WCS 47.2 deg it puts the plane I want to cut coincident with Y. But when I post it is giving a C of 90 deg now. I dont get it. It shouldnt output any C move right? Because it should just roll B to the 96.061 deg right?

  11. #11
    Join Date
    Apr 2003
    Posts
    3578
    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
    Cadcam
    Software and hardware sales, contract Programming and Consultant , Cad-Cam Instructor .

  12. #12
    Join Date
    Jan 2009
    Posts
    245
    Ok, watched your sim video. Very aweseom BTW. Ok, first thing I noticed is you are cutting the 45 deg face, not the compound face that is 47.2 and 6.061 face. Also you have your 5th setup as a A and a C correct? A is coincident with Y?. But its the other two angle faces that I am trying to cut. Thanks so much for your time to look at this problem (which I am sure is all me but I am trying to see how).

  13. #13
    Join Date
    Apr 2003
    Posts
    3578
    if you look at the file you shared those are paths that you created just up dated for the face setup from the pivot point as you had it. I fixed your contour as you were conventional instead of climb cutting you profile.if there are other faces you are trying to cut then the ones you shared please mark them as another color so I can do those as a reference.
    Hope I am being somewhat helpful.

    Jay (Aka cadcam)
    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
    Cadcam
    Software and hardware sales, contract Programming and Consultant , Cad-Cam Instructor .

  14. #14
    Join Date
    Jan 2009
    Posts
    245
    Sorry, I should of been more clear, my fault. And yes you are being helpful, I appreciate it. Here is a new mcx file with the orange face and I have a pocket toolpath on it.
    Attached Files Attached Files

  15. #15
    Join Date
    Jan 2009
    Posts
    245
    What it looks like it is doing is making the part normal to the Y axis when It is positioning. I don't get it, but that is what it is doing.

Similar Threads

  1. X axis miasaligment. Can screwmapping correct it?
    By tcop in forum Mach Software (ArtSoft software)
    Replies: 0
    Last Post: 08-26-2013, 10:55 PM
  2. Replies: 14
    Last Post: 02-28-2012, 03:59 AM
  3. Replies: 3
    Last Post: 04-29-2011, 07:12 AM
  4. Positional 5-Axis Machining
    By PrecisionD in forum Surfcam
    Replies: 1
    Last Post: 10-06-2008, 10:25 PM
  5. Z axis depth not correct
    By jtriggs in forum Mach Mill
    Replies: 4
    Last Post: 12-27-2006, 06:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •