Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: DennisCNC on December 28, 2008, 12:15:16 AM

Title: Simple SetDRO Script Q?
Post by: DennisCNC on December 28, 2008, 12:15:16 AM
Im trying to get the Y machine position DRO value set in the spindle speed DRO and its not doing it?  I tried the SetOEMDRO and SetDRO.  When debugging the macropump the Y value is loaded in var but will not transfer to DRO 202.  Macropump in enabled.

var = getoemdro(84)

setoemdro(202,var)

Thanks

Dennis
Title: Re: Simple SetDRO Script Q?
Post by: Graham Waterworth on December 28, 2008, 10:35:45 AM
Certain DRO's are read only, I think that is one of them.

Graham