hello AchimN
thanks for the anwser but it won't work
i went back to the original eding.cps
i have put in the code for activating the 4th-axis and this is giving wrong z-axis value's
the first operation is good all z value's where positif
the second operation give's negatief z value's and that's wrong
i found a solution in a other posting
the solution for acitvating the 4th-axis in edingcnc is that you most also set var tcp from true to false
now i get always z value's that are positief
it seems also that if i make g-code for 4th-axis miling the z-min value is missing
in a normal workpiece i can get the value with "operation:bottomHeight_value"
i like to see this value because i working self made machine and i want to avoid collisions
regards
carlo