Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: AutoNorv on May 23, 2022, 02:03:55 PM

Title: Displaying variables in a DRO
Post by: AutoNorv on May 23, 2022, 02:03:55 PM
Please can someone tell me how to display a variable such as #500 in a DRO?
I can see how to use a system variable such as X position but not how to user variable.
Title: Re: Displaying variables in a DRO
Post by: TPS on May 25, 2022, 11:47:22 AM
SetOEMDro(1234,GetVar(500))

for example
Title: Re: Displaying variables in a DRO
Post by: AutoNorv on May 25, 2022, 02:15:47 PM
Thanks for that, but how do I find the number of the OEMDRO?
Title: Re: Displaying variables in a DRO
Post by: TPS on May 26, 2022, 03:06:05 AM
ususally all OEMDRO above 1100 are for custom use.

https://www.machsupport.com/forum/index.php?action=dlattach;topic=19482.0;attach=27839
Title: Re: Displaying variables in a DRO
Post by: AutoNorv on May 28, 2022, 01:59:51 PM
Thanks for that it's working now