Hi, Thanks for the reply,
This is exactly how a CNC work, The home position on the Z Axis is the reference.
You measure the height of the workpiece, and you measure the height of the tool.
As an example, your Z coordinate on your workpiece, could be Z-16.8758 with the tool offset can be 6.8976.
It's with the macro I have trouble, I have some problems with all the GetVar, setDRo, GetDro, GetOemDro, ect. I'm very new to all of this
I've been working on CNC for more than 20 years now, I know how it works.
When I probe the height of the workpiece, what Macro Code I should take ?
When I measure the tool height, what Macro code I should use, Is there a variable to set the tool height on the offset page ? (the tool height offset DRO)
What is the difference between getDRo() and Get OemDro(), SetDro and call setDro(). I'm confuse with all those code.
Thanks to take you time to answer, this is very appreciated, Jeff