1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. There are some site issues which I am working on. There may be reduced functionality in some modules while I do. Thank you for your patience.

    Dismiss Notice

Mach3 Or Cambam Problem

Discussion in 'CNC IN THE HOME SHOP' started by TomS, Nov 3, 2016.

  1. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    Yesterday I ran a job and the mill worked fine. Today I started it up and my tool paths are mirror's of what is displayed on the screen.

    This is the Cambam screenshot showing the tool path. If the image was flipped down that is the gcode tool path generated. Something has changed but I'm not sure what it is. I reviewed my configuration files/screenshots and and the settings are as they have been for weeks.

    What do I need to change to get the correct tool path?

    Thanks - Tom S.
    Screen Shot 11-03-16 at 12.09 PM.PNG
     
  2. cs900

    cs900 United States maker of chips Active Member

    Likes Received:
    147
    Trophy Points:
    43
    City:
    binghamton
    State:
    New York

    -Return to Top-

    First thing I would do is check the Gcode itself. it'll be very obvious if it's a post issue or mach3 from the code.

    If it is mach3, check the "scale dro" on the main screen in Mach3. it should be set to 1.0 and not -1.0.
     
  3. jbolt

    jbolt United States Active User H-M Supporter-Premium

    Likes Received:
    709
    Trophy Points:
    93
    City:
    Mountain View
    State:
    California

    -Return to Top-

    Possibly the Z direction of the coordinate system in the CAM?
     
  4. JimDawson

    JimDawson Global Moderator Staff Member Director

    Likes Received:
    3,429
    Trophy Points:
    113
    City:
    Sandy
    State:
    Oregon

    -Return to Top-

    Is it possible that there is a G68 or G69 (rotate work coordinates) lurking in there somewhere?

    If you want to post your .cb or G-code file, I'll be happy to take a look at it. Change the extention to txt before posting.

    I have never seen this problem before.
     
  5. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    I checked the gcode and there is no G68 or G69 in there. I've attached the cb and gcode file. The first one is the cb file and the second one is the gcode file. Thanks for the help.

    Tom S.
     
  6. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    I took a look and I can't see where the Z direction is reversed. But that doesn't mean that I'm right. I seem to have a knack for having these odd problems with software. It could be me and not the programs.

    Tom S.
     
  7. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    The scale DRO is 1.0. I ran the gcode in Mach 3 and the tool path is correct on the screen. This is very strange.

    Thanks for your comments though.

    Tom S.
     
  8. JimDawson

    JimDawson Global Moderator Staff Member Director

    Likes Received:
    3,429
    Trophy Points:
    113
    City:
    Sandy
    State:
    Oregon

    -Return to Top-

    I can't see anything wrong with the cb file or your g-code. I'm gonna go with some setting in Mach3 but I can't help you there.
     
  9. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    Thanks for looking. I didn't see anything either. My mill and Mach3 we're running as they should until I ran that Fusion 360/3D piece. I wouldn't think that would have any thing to do with it.

    Tom S.
     
  10. JimDawson

    JimDawson Global Moderator Staff Member Director

    Likes Received:
    3,429
    Trophy Points:
    113
    City:
    Sandy
    State:
    Oregon

    -Return to Top-

    Ah ha! I'm guessing the HSM code changed something in Mach3. Have you rebooted the computer since you ran that code?
     
  11. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    Yes. Rebooted multiple times. I'm going to generate code using Fusion 360. If it runs correctly then that will confirm what you are saying.

    Tom S.
     
  12. JimDawson

    JimDawson Global Moderator Staff Member Director

    Likes Received:
    3,429
    Trophy Points:
    113
    City:
    Sandy
    State:
    Oregon

    -Return to Top-

    Maybe take a look at these settings, compared to the defaults below.

    upload_2016-11-3_19-12-44.png
     
  13. jbolt

    jbolt United States Active User H-M Supporter-Premium

    Likes Received:
    709
    Trophy Points:
    93
    City:
    Mountain View
    State:
    California

    -Return to Top-

    This is how it loads on my system. Is this the correct orientation?

    TS Cambam.png
     
  14. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    Yes, that's the correct orientation.

    Tom S.

    Edit - that's how it loads in my system.
     
  15. cs900

    cs900 United States maker of chips Active Member

    Likes Received:
    147
    Trophy Points:
    43
    City:
    binghamton
    State:
    New York

    -Return to Top-

    so for my clarity, the first picture you posted is how it's supposed to cut? And when you load it into Mach, the toolpath display is mirrored about the yaxis? Have you done a dry run to see if it actually tries to cut that way? Could your display in mach just be flipped? direction pin in your settings got changed?
     
  16. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    The one difference I see is G21. I have G20 on my machine which makes sense as I run in inch mode.

    Tom S.
    The tool path is displayed correctly in Mach. I did an "air" pass and the actual tool path is a Y axis mirror of what the display shows. My configuration settings have not changed. I saved screen shots of the settings when I first setup Mach about 2 years ago. If I do change a direction setting I would check the Y Axis Dir Low Active box, correct? It now has a red X in the box.

    Tom S.
     
  17. cs900

    cs900 United States maker of chips Active Member

    Likes Received:
    147
    Trophy Points:
    43
    City:
    binghamton
    State:
    New York

    -Return to Top-

    if it's already checked you would uncheck it, but it seems odd that that would have changed. Something else is afoot.
     
  18. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    Problem solved, sort of. I unchecked the Dir Active Low box and now the cutter follows the tool path displayed on the Mach main screen using Fusion generated code. Before changing the motor Dir setting I ran the tool path with Fusion code and it followed the mirrored tool path. So Fusion didn't do anything to cause the problem.

    Still don't know what caused it to change. I double checked my motor settings and they were as they were since I initially set up my machine a couple of years ago. Hmmm! Still a mystery but the mill is back up and running.

    Thanks everyone for your input.

    Tom S.
     
  19. Metal

    Metal United States Active Member Active Member

    Likes Received:
    72
    Trophy Points:
    28
    City:
    Buffalo
    State:
    New York

    -Return to Top-

    Remember that any mach3 changes you have to save them yourself under options (I believe I'll check), just saying "OK" out of the menu will cause the settings to revert once mach3 is reopened.
     
    TomS likes this.
  20. JimDawson

    JimDawson Global Moderator Staff Member Director

    Likes Received:
    3,429
    Trophy Points:
    113
    City:
    Sandy
    State:
    Oregon

    -Return to Top-

    That is very strange:cautious:
     
  21. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    Yeah, it was a bit frustrating. I had a free day in the shop and ended up spending the entire day troubleshooting the mill. I'm up and running again after tweaking hot keys and homing direction. learned that changing the motor Dir affects other settings. Another "learning" experience I hope won't repeat itself.

    Tom S.
     
  22. jbolt

    jbolt United States Active User H-M Supporter-Premium

    Likes Received:
    709
    Trophy Points:
    93
    City:
    Mountain View
    State:
    California

    -Return to Top-

    All very strange. Have you tried running a program that worked before now that you have made changes to the motor direction? I just don't see how a g-code program could change any configuration settings in Mach3?
     
  23. TomS

    TomS Active User H-M Supporter-Premium

    Likes Received:
    395
    Trophy Points:
    83
    City:
    Redding
    State:
    California

    -Return to Top-

    No, I haven't tried a program that ran OK before this episode but will try tomorrow. I'm still baffled why the configuration changed. Makes no sense at all.

    Tom S.
     
  24. JimDawson

    JimDawson Global Moderator Staff Member Director

    Likes Received:
    3,429
    Trophy Points:
    113
    City:
    Sandy
    State:
    Oregon

    -Return to Top-

    Weird stuff like that is part of the reason, after playing with Mach3 for about a month, I just sat down and wrote my own CNC software.
     
    TomS likes this.
  25. jbolt

    jbolt United States Active User H-M Supporter-Premium

    Likes Received:
    709
    Trophy Points:
    93
    City:
    Mountain View
    State:
    California

    -Return to Top-

    Well us mere mortals are stuck with what we can scrounge up. :rolleyes:
     
    JimDawson and TomS like this.

Share This Page