• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    nikscha
    last edited by 29 Sept 2023, 15:05

    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

    undefined 1 Reply Last reply 29 Sept 2023, 15:59 Reply Quote 0
    • undefined
      nikscha @nikscha
      last edited by 29 Sept 2023, 15:59

      @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

      undefined 1 Reply Last reply 29 Sept 2023, 16:18 Reply Quote 0
      • undefined
        nikscha @nikscha
        last edited by nikscha 29 Sept 2023, 16:18

        @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

        undefined 1 Reply Last reply 2 Oct 2023, 11:05 Reply Quote 0
        • undefined
          nikscha @nikscha
          last edited by 2 Oct 2023, 11:05

          @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
          • undefined nikscha marked this topic as a question 2 Oct 2023, 11:07
          • undefined nikscha has marked this topic as solved 2 Oct 2023, 11:07
          • undefined
            nikscha
            last edited by 2 Oct 2023, 11:08

            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
            2 out of 5
            • First post
              2/5
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA