Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    [3.5.0-rc.1] 1HCL board takes 1 second to respond

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    1
    5
    191
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nikschaundefined
      nikscha
      last edited by

      Hi all,
      I'm currently working with the constant torque feature of the 1HCl board, and I'd like to change the torque on the fly.
      For that I compute the desired value in daemon.g and then send a M569.4 to the 1HCl.
      This however takes a long (>1s) time. I'm wondering whether there's a way to reduce that. CAN-FD shouldn't be the bottleneck.
      Is there a way to make daemon.g execute faster? (I'm already doing a while true loop with 1ms wait and it's still only running about 3-5 times a second)
      This alone doesn't account for the >1s wait, so maybe the 1HCL board is to blame?

      Normal (open or closed loop) movement commands are executed immediately on the 1HCL.

      Stay in school

      nikschaundefined 1 Reply Last reply Reply Quote 0
      • nikschaundefined
        nikscha @nikscha
        last edited by

        @nikscha It seems like problem is related to the input channel. When the gcode that runs M569.4 is executed from file, the torque is applied instantly.

        Stay in school

        nikschaundefined 1 Reply Last reply Reply Quote 0
        • nikschaundefined
          nikscha @nikscha
          last edited by nikscha

          @nikscha Okay I'm not so sure about my problem anymore. Please excuse the confusion.

          I want to test a few more things before I make any more assumptions/ask meaningless questions ^^

          Stay in school

          nikschaundefined 1 Reply Last reply Reply Quote 0
          • nikschaundefined
            nikscha @nikscha
            last edited by

            @dc42 how long does it take for the object model to reflect a change in movement?

            Stay in school

            1 Reply Last reply Reply Quote 0
            • nikschaundefined nikscha marked this topic as a question
            • nikschaundefined nikscha has marked this topic as solved
            • nikschaundefined
              nikscha
              last edited by

              My problem wasn't caused by the 1HCl board.
              Instead daemon.g simply doesn't run often enough to catch a changed value in the object model in time.

              Stay in school

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA