Machsupport Forum

Mach Discussion => Mach Screens => Topic started by: LZ1TWB on March 17, 2015, 06:57:14 PM

Title: DRO's that count 0.01mm with 1024ppr encoder
Post by: LZ1TWB on March 17, 2015, 06:57:14 PM
Hello all,

I am redesigning my screen set in order to be more simple, regarding the work I do. One of the things I wanted was to remove the 3rd digit off the DRO's that shows thousands of mm's.

My problem originates from the encoders, being 1024ppr, so the calculation goes cyclic every now and then. I use my MPG at 0.01mm a step, and when I step with the DRO's formated at 2 digits after the dot I get jumps of 0.02mm every ~0.1mm or so, which is kind of annoying seeing that happen.

Is there any way to avoid this number rounding ? I know this happens when the thousands go from 4 to 5 every time.

Regards, Todor
Title: Re: DRO's that count 0.01mm with 1024ppr encoder
Post by: Overloaded on March 17, 2015, 07:22:51 PM
I use Screen4.
Double click the DRO and change the format to .3 instead of .4 for the number of decimal places to display.

It will still round as necessary, depending on your axis resolution.

Russ
Title: Re: DRO's that count 0.01mm with 1024ppr encoder
Post by: LZ1TWB on March 18, 2015, 02:28:57 AM
1000 divided by 1024 does not produce an integer. My step size is 0.0048828125mm. Advance every step with this amount and see what happens.

(0.0048)828125
(0.0097)65625
(0.0146)484375
(0.0195)3125
And so on....

As i think about it the only way to fix this is to change encoders ppr. Will not happen anyways.