Welcome! Log In Create A New Profile

Advanced

Odd Floating point issue in Marlin or LCD?

Posted by Karmavore 
Odd Floating point issue in Marlin or LCD?
December 08, 2013 06:26PM
I'm using Slic3r 0.9.10b, with .24 first layer height and .20 layer height subsequent. (M5 threaded rods with a 0.8mm pitch are used for z. I've got 4000 steps per unit, which seems right.)

Inspecting the g-code, I see what I'd expect to, namely "G1 ZXXXX" comands for 0.24, 0.44, 0.64, etc., etc.

However, while the print is executing (RAMPS 1.4, Marlin) on the occasional layer my reprapdiscount LCD will show a layer height short ten microns, e.g., 12.63. Again, the g-code shows a G1 Z12.64. The next layer will display 12.84, as I'd expect.

Has anyone else ever noticed this? Is this a floating-point error in the display, or something other fiendish little thing going on?
Sorry, only registered users may post in this forum.

Click here to login