I made such buttons for the Z axis. They simply increment or decrement the work coordinates:
I never thought about tracking the changes though, so I am going to shamelessly borrow your idea. :-)Code:; this button lowers the Z axis by 0.01mm Dim ZChange ZChange=0.01 Call SetDRO(2,GetOEMDRO(180)+ZChange)