Modifying DRO Precision/Digits

Moderators: TomKerekes, dynomotion

Post Reply
BobGarrish
Posts: 1
Joined: Tue Mar 10, 2026 8:10 am

Modifying DRO Precision/Digits

Post by BobGarrish » Tue Mar 10, 2026 8:27 am

Hi Tom, it's been awhile - and I have a new weird machine*!

My new machine needs at least 4 digits on the MM display (0.1 microns), but after upgrading KMotion I only have 3. I found an old thread, probably the guy that ruined it all and convinced you to change to 3 digits! Is it still required to recompile KMotionCNC to change digits of precision on the MM display?

*This time it's a precision mill they further modified at NASA JPL to machine things under a microscope. I have a Kogna on the way because it looks like you hard coded in that mod to get 5MHz encoder reads we talked about years ago, and I need that to hit reasonable feed rates on this thing!

User avatar
TomKerekes
Posts: 2901
Joined: Mon Dec 04, 2017 1:49 am

Re: Modifying DRO Precision/Digits

Post by TomKerekes » Tue Mar 10, 2026 6:36 pm

Hi Bob!

Sounds interesting.
Is it still required to recompile KMotionCNC to change digits of precision on the MM display?
Here is a patch for 5.4.1:

Axis DRO number formats may now be specified as the Text Parameter in the Screen Editor. If Text is specified, then it is treated as DRO format of number to be displayed. Include any axis characters if desired. If different formats for Inches and mm are desired specify both separated them with ; // e.g. X:%10.4f;X:%10.3f

KMotionCNC.exe
Copy to \Kmotion\Release folder

let us know if you find any issues.

I have a Kogna on the way because it looks like you hard coded in that mod to get 5MHz encoder reads we talked about years ago, and I need that to hit reasonable feed rates on this thing!
Kogna implements 12bit counters in hardware vs 8bit in KFLOP. So it isn't necessary to do any software tricks to watch for 8 bit wraps between samples.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply