Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Mach 3 losing machine coordinates

  1. #1
    Join Date
    Nov 2010
    Posts
    28

    Default Mach 3 losing machine coordinates

    I'm using mach 3 with a syil x4 cnc. I've modified a tool change script to reference machine coordinates to find the tool change post. Well something happens to where the machine coordinates get lost, I think after a computer restart and/or a machine turn off. So when I run the tool change it might go someplace totally different than where it's supposed to. Once this happens ref all home works.

    What can I do to lock in machine coordinates?

    Thanks

  2. #2
    Join Date
    Apr 2007
    Location
    South Texas
    Posts
    640

    Default You Can't...

    If you power the machine down, or shutdown Mach and restart it you won't have a good reference. If you have good, repeatable reference switches then you have nothing to lose by calling for ref home from time to time in your operating sequence.

    If you want to be able to keep position when yopu shut down you need to spend a whole lot more money and go for absolute encoders and such. Not a feature of MACH.

  3. #3
    Join Date
    Dec 2010
    Location
    Finland
    Posts
    1,586

    Default

    If you power down your machine or PC, you have to reference home all axes.

  4. #4
    Join Date
    Nov 2010
    Posts
    28

    Default

    Ok cool. Thanks guys. As long as it's not something we are doing incorrectly or that is broken.

  5. #5
    Join Date
    Nov 2010
    Posts
    28

    Default

    ok, the machine is acting up again.

    I am milling a small block, fairly simple. Code generated with meshCAM4.

    It ran the first half of the program (roughing) great. Then I did the tool change using the script I modified from on here. For some reason after the tool change it randomly lost co-ordinates. it tool-changed in the right spot then went off to a random place to start machining.

    After a few ref-all home sequences it finally went to the right place. Is there an order of operations I should be doing here? Will it act up if I have machine co-ordinates displayed? I cant figure out what I did that made it fix itself or why it even did it in the first place.

    ALSO, does anyone know why it would traverse so far from the part after the tool change? See attached picture. the green on the left is my tool change post then it went way right for some reason. I'll attach the code once the program is done running


  6. #6
    Join Date
    Aug 2009
    Location
    Calgary, AB
    Posts
    692

    Default

    have you checked the code?

    is the part your machining just a square block or does it have 3d surfaces?

    how many lines is the file?

  7. #7
    Join Date
    Nov 2010
    Posts
    28

    Default

    here is the code:

    I had to re-gen the code as I had the stock too big (to make sure there wasn't any left uncut on the top) but then it started to machine the side. so this may not have the error in it.

    X1.503Y-0.947
    G0Z1.456
    (TOOL/MILL,0.0625,0,0.2500,0.0)
    M6 T2
    M3 S5000
    (Waterline Finish)
    G0X0.244Y-2.373
    G1Z1.426F10.0
    G1Z1.426F10.0
    X0.226Y-2.369


    AAANNNDD then I realized I had retract height set to .0001" and it broke my end mill when coming out of a hole. re-gen'ing the code and starting the finish pass again. fml

  8. #8
    Join Date
    Nov 2010
    Posts
    28

    Default

    great, 90% done and it broke another 1/16 bit. For some reason it is leaving a post inside the .25" diameter/.2"deep hole then trying to wreck the height of the whole thing each pass.

    good thing bits are only $4

  9. #9
    Join Date
    Nov 2010
    Posts
    28

    Default

    Quote Originally Posted by legendboy
    have you checked the code?

    is the part your machining just a square block or does it have 3d surfaces?

    how many lines is the file?
    I checked and nothing seemed out of the ordinary. I am more trying to figure out WHY it did it. There wasn't any thing that I noticed that should have reset the zero or anything.

    Yes, it does have 3d surfaces. It's half of a mold for a cable over-mold. Fairly simple but I just cannot get it right. I've broken 4 bits on this job. Granted it's my first time cnc'ing metal. the first two were wrong speeds, the second one was retract height, and the last one was due to not recognizing a bad tool path. I'm going to pick up a couple more bits tonight and finish the finishing pass in the morning. thank fully it didn't wreck anything but the bit. Weird part is the bit broke at the collet and where the flutes tapered up to the full diameter.

  10. #10
    Join Date
    Aug 2006
    Location
    Beaverton, OR
    Posts
    6,129

    Default

    You are not doing the whole job with a 1/16" bit, are you? You should use a larger bit and then do a remachine on the details.

    Are you using a G28 at the tool change? This has caused me issues in the past.

Posting Permissions

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