Machsupport Forum

Mach Discussion => Mach Screens => Screen designer tips and tutorials => Topic started by: fdos on May 07, 2007, 07:43:00 AM

Title: DRO Format strings?
Post by: fdos on May 07, 2007, 07:43:00 AM
Is there anywhere an explaination of the DRO format strings?

e.g %+.4f for the Axis DRO's   4f = 4 places decimal Float???

Spindle speed %2.0f   Zero places decimal, what does the 2 signify?

etc etc

Just i'm getting some weird results in some cases.

Wayne....

Title: Re: DRO Format strings?
Post by: fdos on May 07, 2007, 10:08:33 AM
Hmm the weird results were something to do with a corrupt tooltable or XML file.   I deleted it, and it's all working again.

I had a tool length of say 12.7 in the tooltable and the dro display was something very different like 322.20.

Weird.  Thats the first time I have had a xml corruption.

Wayne...
Title: Re: DRO Format strings?
Post by: Graham Waterworth on May 07, 2007, 10:22:33 AM
That looks very much like a inch to mm conversion.

Graham.
Title: Re: DRO Format strings?
Post by: fdos on May 07, 2007, 10:39:49 AM
Graham.   Not so sure those figures were not the actual ones as I'd forgotton by the time I had fixed it!!

But anyway it's fixed now, and my Ghost of Ahha screenset is now more functional ;)

Wayne....
Title: Re: DRO Format strings?
Post by: poppabear on May 09, 2007, 07:38:15 PM
I would like to hear an answer to your original question also, through trial and error I have figured out the practicle portions of the dro, but not what it all means.
Title: Re: DRO Format strings?
Post by: fdos on May 09, 2007, 07:43:01 PM
Well we have determined %=number +makes it only positive sign, the rest control the length before and after the decimal place maybe.

Wayne....