586,103 active members*
3,286 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2016
    Posts
    22

    Strange Position Error

    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.


    Attached Thumbnails Attached Thumbnails KmotionCNC.png  

  2. #2
    Join Date
    Dec 2012
    Posts
    390

    Re: Strange Position Error

    I believe your problem is that you haven't formatted your text boxes. -2.186136E-07 = -0.0000002186136, so basically 0.0000, which I guess is what you expected.

  3. #3
    Join Date
    Jan 2016
    Posts
    22

    Re: Strange Position Error

    Great! I think this is what I missed.

    Thank you.

Similar Threads

  1. Replies: 0
    Last Post: 07-17-2014, 04:12 PM
  2. Strange servo problem with no error thrown
    By jedgarG in forum Servo Motors / Drives
    Replies: 3
    Last Post: 03-10-2014, 12:16 AM
  3. Strange sum error on VMC40
    By rdoty in forum Fadal
    Replies: 7
    Last Post: 12-31-2012, 08:58 PM
  4. Yaskawa Servopack error: A.D1. Motor Load Position Excess Error
    By Syphonics in forum Servo Motors / Drives
    Replies: 0
    Last Post: 04-26-2012, 07:53 AM
  5. Awesome strange!!! lose position then get it back randomly!!!
    By Scramjet in forum DNC Problems and Solutions
    Replies: 2
    Last Post: 04-27-2010, 03:55 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •