Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Unsolved DWC Fan Slider reacts faster than a macro?

    Tuning and tweaking
    2
    3
    81
    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.
    • fotomas
      fotomas last edited by

      I have configured some LED lights to be powered via one of the heaters on my Duet 3 Mini 5+ (FW 3.3). The lights are controllable via a fanslider in the DWC.

      config.g

      ;LED Lights
      M950 F3 C"out1" Q500 									
      M106 P3 C"LEDs" S1
      

      I have two macros to turn them on/off:
      LIGHTS ON.g

      M106 P3 S1.0
      

      LIGHTS OFF.g

      M106 P3 S0.0
      

      During a print fan slider changes are instantaneous but the macros takes a while.

      What is the cause of this and can the macros be altered to have effect as fast as the fan slider?

      Does the fan slider send another command than M106 or does macros have lower priority than single commands?

      Phaedrux 1 Reply Last reply Reply Quote 0
      • Phaedrux
        Phaedrux Moderator @fotomas last edited by

        @fotomas said in DWC Fan Slider reacts faster than a macro?:

        Does the fan slider send another command than M106 or does macros have lower priority than single commands?

        That may be due to the way that DWC is sending commands to the Duet versus the macro getting called.

        How much delay are you seeing? How are you executing the macro?

        Z-Bot CoreXY Build | Thingiverse Profile

        fotomas 1 Reply Last reply Reply Quote 0
        • fotomas
          fotomas @Phaedrux last edited by fotomas

          @phaedrux
          It takes somewhere around 3 seconds.
          I execute the macros by clicking buttons in the DWC.

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