Machsupport Forum

Mach Discussion => Mach Screens => Screen designer tips and tutorials => Topic started by: ftomazz on February 15, 2008, 11:49:18 AM

Title: dro as a function
Post by: ftomazz on February 15, 2008, 11:49:18 AM
Hello.

I would like to have a dro to display a value that is the result of a function.
In this case I want it to display 2 * x_axis_position (to have the diameter in a lathe machine) where X represents the radius (X is correct and displays the radius).

Can this be done ? I have looked everwhere that I could remember.

Thanks
Title: Re: dro as a function
Post by: poppabear on February 15, 2008, 10:42:30 PM
Yes
 
Brains or VB will do this for you
Brains is probably easier
goto Screen designer can drop your display 2*axis postion dro where every you want it I called the user display dro 2000.

Brain attached

scott
Title: Re: dro as a function
Post by: ftomazz on February 16, 2008, 04:05:27 AM
Works. Better than working is that now I understand how it works, and I can make my own.

Filipe