Rotary tripping A-axis limit switch

I am trying to carve something on the rotary. Rounding and Rough toolpaths work fine, but when I get to the finish toolpath it says, I have tripped my Limit Switch on the A axis and I notice the GCode has an F0.0 entry in it. Not sure that has anything to do with it, but I tried a couple different things and a line with that entry is what trips it.
I am still a novice on the rotary having only completed a few jobs so far. Is this a mechanical issue or did I set my job up to where it will fail?

I am attaching a preview of what the finished item is supposed to look like when finished.

What control are you running this on?

Also, very cool carving

Its Mach 4 and Aspire 10.5 is generating Gcode

You might dig around in here to see if you see any answers:

I don’t know the answer myself, but it sounds like the proximity sensor is triggering a limit error on the machine when it shouldn’t… Maybe check to make sure it’s plugged into the right port? Or go over the rotary assembly to make sure everything is good…

I just went out to the machine and fired up the job again. Here are the screencaps from the screen and the state of the sensor for the a axis when it stops. Sensor isn’t tripped. I keep looking at F0.0 as part of the cause, but I don’t know gcode enough to be sure.


When I ran the job last night, I changed from raster to offset to get it to start in another area and when it stopped, the gcode command ended in F0.0 as well.

My only guess… and this is a guess is that perhaps you have another sensor plugged into the A port?

I’d open a support ticket and you’ll get someone who would know better than me :slight_smile:

Will do. This is just happening on the fiinish pass. The roughing and rounding paths are fine

I might be missing something here, but how can you have a zero feed rate? Isn’t that saying “rotate to position y at zero speed”?

Why would Aspire generate that in the code? And why would it result in a limit switch trip error?

I have run a few other items on the rotary without issue. Could it be because I am going through 0,0 on the rotary?

I opened a case, but hope to get a quicker resolution as I have a live job sitting waiting to finish.

Did you try editing that line to something like F10 (slow) or F10000?

I haven’t tried editing anything as I didn’t know what I was doing. Is the just speed for feed rate?

Yes. F is the feedrate. So in a text editor change it to something other than F0.0. You have to save it in the same format it was in originally, not as a text file (eg, not ending in .txt).
That line is telling it to rotate to a position at zero speed. I have no idea why that would happen, but its easy to find out if it works.
The other thing that worries me about this is that the command is to Z0.0 in the line before, which for rotary would be the spindle axis or the middle of your work. Are you actually running this file? I don’t want to see the work ruined.

Beware the system might be in “inverse time” mode, where F0 means “complete the operation in 0 minutes”. Commonly used with a rotary axis, else is the F value inches per minute, or degrees per minute?

I ran it and it just quit there.

I got some time this evening and tried some fiddling with it. Changed bits, tried running in the air above the piece, tried just one of the pieces on the spindle. None of them worked.

Then I decided to insert 1/2” diameter rod model down the center to prevent the bit from extending past Z0 and that worked! I just have to cut that part off and clean it up when it’s done. Not ideal, but it worked and got me moving again.

I am using the avid post processor and I believe that is in degrees, but not certain.

That’s pretty bizarre, in a lot of ways. It sounds like Aspire tried to create a toolpath incorrectly, the post processor spit out some mangled G-Code, and Mach 4 misinterpreted that mess with an errant error code. Sort of a CNC version of Air Disasters. :wink:
I’ve never tried to make anything even remotely like that on the rotary. Glad you got your piece out of it. If you figure this out down the road, I’d love to hear what is going on. It would be very instructive.

I did open a case with Avid. However, I don’t think this is an Avid problem now. Something to file away in case you need it. :). Thanks for the feedback. It got me thinking and helped me solve my problem.