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

Trigger macro stopped working

Scheduled Pinned Locked Moved
Duet Hardware and wiring
2
3
151
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.
  • undefined
    MatixYo
    last edited by 3 Jul 2021, 09:32

    After update from I think 3.0 to 3.3 my code that toggled LEDs on button press stopped working.
    Here's my config.g responsible part:

    M950 J0 C"^e0stop" ; E0 input with pull-up
    M581 P"^e0stop" T2 S0 ; LED button

    Here's my trigger2.g

    if fans[2].requestedValue > 0.0
    M106 P2 S0.0
    else
    M106 P2 S1.0

    What should be changed?

    undefined 1 Reply Last reply 3 Jul 2021, 10:06 Reply Quote 0
    • undefined
      peter247 @MatixYo
      last edited by peter247 7 Mar 2021, 10:13 3 Jul 2021, 10:06

      @matixyo I may be wrong , but the led on the end stops of the duet 2 are hardware.

      AND M581 P"^e0stop" T2 S0 , should that be M581 P0 ?

      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+

      undefined 1 Reply Last reply 3 Jul 2021, 14:00 Reply Quote 1
      • undefined
        MatixYo @peter247
        last edited by 3 Jul 2021, 14:00

        @peter247 Yeah, that's what had to be changed

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