Hello,
I developed a small windows form application with .net interface for testing purposes. At my last tests I tried to go 1cm back and forth with CoordMotion.StraightTraverse method and getting machine position with Interpreter.ReadCurMachinePosition method. I am doing home, at the 0 point I am making machine go 1cm+ and press Update Positions button it gives me the result I expected again if I hit X+ 1cm button again it goes position of 20 mm and gives correct position info, agan if I press X -1cm button it goes position of +10 and gives correct position information. But at the last ,when I try to go 0 position with X -1cm button, I believe machine goes 0 point physically but Update Position button returns value "-2,1861366056173E-07" which I expect 0 obviously. As you can see problem occurs when I try to go 0 position from 10mm. I tried g0x10 and g0x0 commands in the KmotionCNC screen it looks like it does make and show movement right(Maybe I use different motion params in the KmotionCNC like Acceleration, velocity etc..). I also noticed If I try go to for example X +44cm position it shows correct position (439,999123523429) and if I go back to the 0 position from +44cm it looks like it goes 0 position but it gives position information "7,49849780783731E-06" which is wrong. I noticed in the KmotionCNC screen it shows correct position informaiton. Whats wrong?
Thank you.