Depth in wrong order

Hi,

Im using Sheetcam with a HeiZ S400 Mill.

I switched the PC and reinstalled and reconfigured everything.
I have to reverse the direction of the Z axis as I asked here a few years ago:
https://sheetcam.discoursehosting.net/t/feed-rate-way-to-fast/4969/3


I tested it using depron and milled it in one pass, everything worked fine.
Then I switched to wood, where the mill needs 3 passes to reach the desired depth and added tabs to it.

the problem here is, the mill starts at full depth and makes its way UP to the surface, not down. On the very last layer (on the surface) it also places the tabs…

Here is my Post script ( I only changed it in Rapid

function OnAbout(event)
function OnRapid()
   post.Text (" G00")
   post.ModalNumber (" X", endX * scale, "0.0000")
   post.ModalNumber (" Y", endY * scale, "0.0000")
   post.ModalNumber (" Z", -(endZ + toolOffset) * scale, "0.0000")
   post.Eol()
end

If I add it to the onMove and onArc as well the Mill won’t come down to the material, it just touches it in the very last step. So it starts on the height of the depth ( :smiley:) and then goes down to 0.

If I only add it to the “onRapid”, as mentioned, its working when I mill the part in one pass…

any suggestions?

Patrick

If you change the Z direction you must do it in all functions. As you just changed OnRapid, your rapids will be different to the machining moves.

With the Z axis reversed in all functions, do the depths look correct apart from being above the work? Ibn your tool definition are you using a tool length offset? This is added to the Z height so it would explain why you are cutting too high.

Where is Z0 in your setup?

Hi,

thank you for your response!


After adding all the - to all three functions I had the problem that the Mill went down the full depth and not the depth steps…

I managed to fix it by installing the stable version (I know, I should have used it in the first attempt :smiley:) and did all the changes to the Gcode, and it works now!

BTW: Z0 is the Material surface.

Thanks!

Patrick