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

    Trigger not executed

    Scheduled Pinned Locked Moved
    Gcode meta commands
    3
    4
    196
    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.
    • Rodrigue Richallandundefined
      Rodrigue Richalland
      last edited by

      Hello,
      I want to execute "trigger2.g" when e2stop rising.

      Config.g

      M591 D2 P1 C"duex.e2stop" S0
      M950 J2 C"duex.e2stop" ; Configurer la broche GPIO pour le capteur
      M581 T2 P2 S1 R0 ; Surveiller la broche GPIO J2, déclencher la macro 2.g lorsqu'elle passe à l'état haut

      0:/sys/trigger2.g

      M106 P1 S1

      The trigger work when i send M98"0:/sys/trigger2.g" but not with E2stop value

      Thanks

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

        Can you confirm what firmware version you are running? Send M115 in the gcode console.

        What exactly are you trying to accomplish?

        You have a filament sensor defined to a pin, and then are trying to use the same pin for a trigger?

        You can find information about using triggers here:
        https://docs.duet3d.com/en/User_manual/Tuning/Triggers

        And filament sensors here:
        https://docs.duet3d.com/en/User_manual/Connecting_hardware/Sensors_filament

        Z-Bot CoreXY Build | Thingiverse Profile

        Rodrigue Richallandundefined 1 Reply Last reply Reply Quote 0
        • Rodrigue Richallandundefined
          Rodrigue Richalland @Phaedrux
          last edited by

          @Phaedrux
          I'm running 3.4.4 firmware version.

          I want to use the filament sensor as input for close the enclosure door.
          I've no filament sensor on pin e2stop, there is my door sensor.

          M106 P1 S1 run a pwm fan to 100% for powered an electric magnet
          through a DC static relay .

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

            @Rodrigue-Richalland
            You don't need to define a filament sensor
            Just use the pin and define a trigger
            See here
            https://docs.duet3d.com/User_manual/Tuning/Triggers

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