Machsupport Forum
		Mach Discussion => Mach Screens => Topic started by: jgsturbo on December 01, 2013, 02:34:20 AM
		
			
			- 
				And do it in real time not on the push of a button?
 I'm using a rotary axis setup as a normal axis based on circumference.
 I thought it would be nice to see it in degrees too , in real time.
 From what i read I'm dreaming...
- 
				Use a macro pump and User DRO
			
- 
				Any sample code?
 
- 
				Nevermind, I got it.
 My macropump.m1s looks like this...
 value = GetOEMDRO(801)  
 SetOEMDRO(803,value/0.008722222)
 
- 
				OEMDRO 803 is the A axis distance to go DRO. I'm surprised you can write to it and would have thought it was a read only. I would edit the screen and use a UserDRO above 1000.
 
 value = GetOEMDRO(801)
 SetUserDRO(1100,value/0.008722222)