Menu

#334 Wrapped axis keep spinning when same position is send

2.6
open-works-for-me
None
5
2014-04-13
2013-10-12
grandixximo
No

Make a fourth axis call it A, and make it Wrapped

WRAPPED_ROTARY = 1

Then send this code.

T1M6
G0A+3
G0A+2
G0A+1
G0A+1.863
G0A+1.863
G1A+1.863F1000
G1A+1.863
G1A+1.863
G1A+1.863
G1A+1.863
G1A+1.863
G1A+1.863
G1A+1.863
M2

the bug is that the axis keeps spinning even tough it should skip the same positions lines.

this bug occurs for me only when the number is 1.863, 1.864 or 1.865

with other numbers the bug doesn't occur, at least I have tried a couple of other numbers, but it isn't happening with any other number i tried but these.

What I mean is if in the g-code sample I replace all the 1.863 with with 1.866, the axis will spin to 1.866 only once and stop there, and that is correct, but with 1.863 it just keeps spinning over and over....

I tried changing following error and scale but is still happening.

Hope this is replicable, I can post my ini and hal files if you guys cannot replicate it, they are a bit of a mess tough.

Discussion

  • grandixximo

    grandixximo - 2013-10-12

    Also any other degree with that decimal will do the trick.

    so 2.863 3.863 and so on...

    And it does not replicate more than once if you don't load a tool, unless you home A again.

    Also when tool changing A goes back to zero, but doesn't account for the A axis being wrapped, should I file another bug for this?

     
  • Sebastian Kuzminsky

    • Group: --> 2.6
     
  • Chris Radek

    Chris Radek - 2013-11-04

    What version are you running? I can't reproduce this in 2.5.3. Please go ahead and attach your whole config directory (so I get the var file too).

     
  • Chris Radek

    Chris Radek - 2013-11-04
    • status: unread --> open
     
  • Chris Radek

    Chris Radek - 2013-11-04
    • assigned_to: Chris Radek
     
  • Chris Radek

    Chris Radek - 2014-04-13

    I can't reproduce this. If it's still a problem please let me know, and share the requested information, as soon as you can.

     
  • Chris Radek

    Chris Radek - 2014-04-13
    • status: open --> open-works-for-me