I keep getting an error that my TAP file exceeds the z limit and the program will not run. The Z depth is -.810" and the material I am using is .765" thick so I can have a .045" break through on my brad point drill.
I have the spoil board dig in turned off. Any thoughts on what I might be missing? The tool setter is on the lowest position, so touching off tools is actually about .700" lower than what is in my .tap file.
I tried turning it off, but kept hitting it. I wound up setting the depth to some never to be reached value and called it a day. I may turn it back on to protect plunges through the frame.
I set it to 5.5 or something like that. Though my case was a little special because it happened during a tool change on the rapidchange atc. I forget the exact issue, but it had to do with when there was no tool in the spindle the tool number was 0, and bad things happened.
I really suspect a wacky Z zero here.. and I think I know why:
This code you posted will work, but it was not made by one of our post processors. This isn’t the entire file, but this one includes G49 which is “tool height comp cancel”
In other non Avid posts this is typically run at the end of the file. When this runs the Z height in your DRO is WAY off because the tool height is cancelled, so your Z zero isn’t taking into account the length of the tool any more (PS the “length” of the tool is the distance from the top of Z to the tool height setter, so this can be pretty large)
So I bet what you did is set your Z zero with tool height comp off, which made an insanely out of whack Z off set (in Set Part Zeros>WCS table then look at Z offset)
So your machine is in fact trying to either to WAY above or below it’s travel limit, and is correctly throwing an error.
So the solve here is this: Run another tool change and get that tool measured again. Re-do your Z zero, then see if this file runs. It probably will. This is a short term fix to use this file.
The proper fix is to post with the correct post processor (or go in and delete all of the G49 commands, but that’s tedious)
This is the post processor I’m using. I believe it is the correct one for the EX controller… I did crop to the processes that was causing issues. I did zero out the material with the puck on the corner of the material. IIRC, the first two tools cut correctly, then it didn’t like the 3rd tool… I then output the gcode for only this drill and messed with the z zero height until it would run (I finished the drilling by hand later). The remaining 3 tools had no issues, just the drills… To be fair, the other tools were at -.005" max.
I’ll post up more detail this weekend when I get back home and can run a few programs to see if I can shake out the issue.
Not sure what you’re referring to but looking at that snippet of code I am positive you’re not using right post. Our posts do not use G49 (tool height cancel) and your code has it. This means you’re not using the right post, and is likely the source of these issues as I described in my earlier post.
Interesting… I believe you that the post processor is wrong, I just don’t know how it got swapped. Maybe I have something in the machine library pointing to the wrong machine file. I’ll run everything again this weekend and make sure the machine is setup correctly in Fusion. Hopefully that resolves my issue.
I just output the gcode from fusion again. Double checking that I have the Avid EX 3-axis selected for the machine and the Avid CNC/Avid EX Controller selected for the post. It output the exact same gcode as listed above with a G49. You can see the header in the file lists the EX post. Here is the link:
If you search for DRILL it will take you about 3/4 of the way down to the drilling g-code.
This code looks ok… there’s no tool height cancel at the end like I thought there was. I’d check those Z offsets in the WCS/CSR table and see if you see anything wacky. If you zeroed to your table Z should be zero, if you zeroed on top of your material it should be a positive number that equals the thickness of your material.
If you see any implausible numbers in there that’s likely your issue.