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

    EMERGENCY STOP

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    4
    227
    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.
    • matej1006undefined
      matej1006
      last edited by matej1006

      Hello

      i can't figurit out what is wrong

      i would also like to when is pressed emergency that i get output activated.

      this is my config.g code

      ; Emergen1cy Stop ##################4##################################################################################
      M950 J1 C"io0.in"               			; Define Emergency endstop - emergency stop switch condition
      M950 P0 C"io0.out"
      M581 P1 S0 T1                   			; Define action to be taken with activation of emergency stop switch
      M582 T1 S1 									; set trigger #3 pending unconditionally
      

      and this trigger1.g

      ;trigger1.g
      M999
      M42 P0 S1
      

      nothing happend when i press

      i have 3.3V to com and NC back to input with 10Kohm ressistor to gnd

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

        https://docs.duet3d.com/User_manual/Reference/Gcodes#m999-restart

        M999 resets the firmware, you can't execute the command after that because the firmware is reset. If you need M42 P0 S1 to happen, move it before M999.

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @Phaedrux yeah i know that i mean M112.

          but why i don't get any input reading

          also i have problem on 1HCL i can't read end stop for tool locking mech.
          i have two micro switch in serias with NC. And when i press on end stop switch nothing happend od DWC.

          I have problem with input's and output's.

          deckingmanundefined 1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman @matej1006
            last edited by

            @matej1006 You can't use a macro tigger1. From the docs quote..............

            "Trigger number 0 causes an emergency stop as if M112 had been received. Trigger number 1 causes the print to be paused as if M25 had been received. Any trigger number # greater than 1 causes the macro file sys/trigger#.g to be executed."

            So trigger1 will cause the print to be paused but it won't run your macro. You need to use a trigger number higher than 1 in order to run your own trigger macro.

            As for your other issues - these are unrelated to the topic title so best to start a new thread. When you do, post your entire config.g file in that thread.

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

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