On 5 January 2017 at 08:36, Niemand Sonst <nie...@web.de> wrote: > If I have a ball screw with 10 mm pitch and my encoder shows 1°, and is > moved -2° it will stand at 359° , so how will you know witch turn is the > correct one?
If you look at the Python component you will see that it divides the last-saved position by the scale factor to get N then checks whether N*scale + encoder, (N+1)*scale + encoder or (N-1)*scale+encoder is closest to that position. On my lathe there is no way to move the axes when un-powered without dismantling the machine. I would be a bit more concerned on the mill where the knee drops. I remembered last night that I have some hardware devices that I could have used instead, I have three of these: http://www.librascopememories.com/Librascope_Memories/Product_Literature_files/Shaft%20Encoders%20-%201967.pdf As mine are 13 bit by looking at the spec I can see that they can not be any more than 64 full turns, so wouldn't actually work for my lathe Z axis. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers