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?
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.
If you power down your machine or PC, you have to reference home all axes.
Ok cool. Thanks guys. As long as it's not something we are doing incorrectly or that is broken.
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
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?
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.
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
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
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.
Originally Posted by legendboy
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.
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.