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

    End stop to trigger event or Multiple Filament sensor events

    Scheduled Pinned Locked Moved
    General Discussion
    3
    3
    164
    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.
    • chickenwomanundefined
      chickenwoman
      last edited by

      I need an endstop switch to trigger a series of gcodes for an external buffer for the Palette Pro. I'm using a Duet Wifi with a Deux5 running Reprap3.4.5. I have it set up as a filament sensor M591 D0 P1 C"duex.e2stop" S1 which calls the filament-error.g file that has
      M220 S5 ; set speed 5%
      G4 S5 ;delay 5 seconds
      M220 S100 ; set speed 100%

      This works great but then I cant configure a normal filament runout sensor. Is there a way to have multiple runout sensors with different events or to configure the endstop to trigger an event? Here's the external buffer I'm using. https://www.thingiverse.com/thing:4815921

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @chickenwoman
        last edited by

        @chickenwoman could you not just program a trigger using M581?

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        chickenwomanundefined 1 Reply Last reply Reply Quote 0
        • chickenwomanundefined
          chickenwoman @jay_s_uk
          last edited by

          @jay_s_uk
          Thanks! I think I have this right. It seems to be slower executing the M220 S100 in my trigger file. I think I have this set right. There might be a better way but it works!

          M950 J0 C"duex.e2stop"
          M581 T7 P0 S0

          In my trigger7.g file I have
          M220 S5 ; set speed 5%
          G4 S5 ;delay 5 seconds
          M220 S100 ; set speed 100%

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