1
Mach Screens / custom DRO that automatically updates its value
« on: April 20, 2011, 09:22:01 PM »
Hi,
I am struggling a bit with this and was unable to find anything on the forums. I want a DRO that displays the Z axis position minus a value that I program into another DRO. So my "code" would look something like this:
SetUserDRO(1200,GetOEMDRO(802)-GetUserDRO(1100)) ' sets 1200 user-defined DRO to Z-axis position - 1100 user-defined DRO
However, I would like it to automatically update my DRO and keep track of this value while Mach3 is running without me needing to press a button to run a VB script. Is this possible?
Thanks.
I am struggling a bit with this and was unable to find anything on the forums. I want a DRO that displays the Z axis position minus a value that I program into another DRO. So my "code" would look something like this:
SetUserDRO(1200,GetOEMDRO(802)-GetUserDRO(1100)) ' sets 1200 user-defined DRO to Z-axis position - 1100 user-defined DRO
However, I would like it to automatically update my DRO and keep track of this value while Mach3 is running without me needing to press a button to run a VB script. Is this possible?
Thanks.