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

    external trigger only triggers once ?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    4
    211
    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.
    • peter247undefined
      peter247
      last edited by

      external trigger only triggers once ?

      Just setting my two external triggers and doing a little testing.
      My button is a normally open switch and I'm connected to the two insides of the connector Gnd and in?.in

      ; External Triggers
      M950 J0 C"io5.in"
      M950 J1 C"io6.in"
      M581 P0 T3 S0 R0 ;
      M581 P1 T4 S0 R0 ;
      

      trigger3.g
      M117 "Trigger3"

      If I press my button I get my message as expected , but this only works once , I've tried raising and falling edge with the same result.

      Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

      OwenDundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        What firmware version are you using?

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M581_Configure_external_trigger

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • OwenDundefined
          OwenD @peter247
          last edited by

          @peter247

          If I recall correctly (in succession), M117 will only display once unless the message changes.
          Try something like

          M117 "Trigger 3 activated at " ^ state.upTime
          
          peter247undefined 1 Reply Last reply Reply Quote 1
          • peter247undefined
            peter247 @OwenD
            last edited by

            @owend Spot on !!!!!

            I replace the M117 with a echo "Trigger 3", and now each button press and equals a messages on the console.

            Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

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