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

    DWC Fan Slider reacts faster than a macro?

    Scheduled Pinned Locked Moved Unsolved
    Tuning and tweaking
    2
    3
    181
    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.
    • fotomasundefined
      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?

      Phaedruxundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        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

        fotomasundefined 1 Reply Last reply Reply Quote 0
        • fotomasundefined
          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