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

    RRF3 Deactivate External Trigger

    Scheduled Pinned Locked Moved
    Firmware wishlist
    2
    5
    257
    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.
    • mloidlundefined
      mloidl
      last edited by

      Hi @dc42,

      Did i miss something or is there no replacement for M581 S-1 for RRF3?
      In RRF2 i was disabling the external triggers on my lower endstops during homing.

      Since in RRF 3 the S Parameter was removed it seems not to be possible any more.

      Do you have any suggestions?

      Calling an empty trigger#.g - file would be an ugly option. Maybe there is some better idea.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • Danalundefined
        Danal
        last edited by Danal

        Activate:

        M581 P"e0stop+e1stop" T2 C1

        Deactivate:

        M581 P"nil" T2

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • mloidlundefined
          mloidl
          last edited by

          @Danal
          Thank you for your fast reply.
          Deactivating the trigger by M581 P"nil" seems to do the job.

          Unclear to me is which triggers are deactivated.
          I could image following situation (Pin names in the example are not real names)

          M581 P"es1" T0 C0 ; es1 always leads to an emergency stop if activated
          M581 P"es2" T0 C1; es2 is only activated during a print
          
          M581 P"nil" T0 ; are both triggers deactivated?
          
          1 Reply Last reply Reply Quote 0
          • Danalundefined
            Danal
            last edited by

            The Tn is the key.

            And... in your example, the requested definitions are in conflict. You've asked for Trigger 0 to be both "always" and "only print".

            I believe the firmware would take the last one. I am absolutely certain it will trigger only one "es2", because if you want both the syntax would be P"es1+es2".

            So, if you ran those first two statements, I am 100% certain that you would only define a single trigger, named T0, I am 100% certain only pin ES2 would trigger (ES1 would be ignored), and I am 98% certain that it would trigger only during a print.

            Therefore the "nil" would deactivate the one and only T0.

            Delta / Kossel printer fanatic

            1 Reply Last reply Reply Quote 2
            • mloidlundefined
              mloidl
              last edited by

              Thanks @Danal.

              You opened my eyes. Since your last post i thought it is possible to have multiple triggers for the same number.
              Double checked this in the code. Tn is definitely the key.

              So i have to change my emergency stop triggers a little bit otherwise they are not fully functional.

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