I'm having a stalling problem. I've tried a lot of things to solve it, and no luck, so I'm looking for some ideas. I have a 3 axis mill (Acer knee mill CNC conversion), Galil DMC-1842, DC Servo motors, and Camsoft Pro v16.7.
The machine stalls in the middle of running a CNC program. By stall, I mean Camsoft completes a move and then ceases to execute further moves, and it stops, leaving the spindle running. No error or reason why. I hit ESC, tell it to back up to the last command, it goes back one G code block, then I tell it to continue, and it works from there (until it stalls again at some later block).
The problem is 100% repeatable - i.e. the given G-code program will always stall at the same point. No single G-code command will cause it. It takes a series of commands to happen. E.g a series of arc moves with a Z component, or an X/Y move after an Arc move. Yet these moves by themselves never cause the issue. I can also single step through the offending section of code and it does fine.
That's important. It seems if there is a slight delay from one G-code block to the next, the problem goes away, or improves significantly.
Here's what I have tried:
TOLERANCE - If I increase TOLERANCE, it improves the issue (less stalling), but doesn't make it go away. TOLERANCE is normally set to 0.0005. I have increased it to 0.010, but it doesn't make it 100% disappear. Larger values cause other problems which are expected like odd arc moves.
I also thought bad servo tuning, but I can program back and forth X, Y, or Z moves all day long and never encounter the issue. So I don't think it's tolerance, or bad servo tuning.
I may be wrong, but before I go further, I wanted to ask if there is something I'm missing. Has anyone else seen this problem? The telling part is that everything works if there is a delay between commands like single step, or in a couple cases I used a momentary pause and was able to make it go away.
Thanks,
Mike