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

    Multi Triggers in a macro

    Scheduled Pinned Locked Moved
    Gcode meta commands
    1
    1
    100
    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.
    • M7460undefined
      M7460
      last edited by

      I'm looking to write a custom Macro that changes Extrusion Speed on an external trigger (so ever time the trigger pulses the next speed is selected )

      I can not seem to get it to work !

      My efforts below to test the trigger - I have tried "If" and "Eco"

      ;Trigger.g

      M104 S200
      M105
      M109 S200
      M82 ;absolute e trusion mode
      ;Prime the e truder
      G92 E0
      G1 F200 E3
      if <"trigger2.g">
      M104 S210
      M105
      M109 S210
      M82 ;absolute e trusion mode
      ;Prime the e truder
      G92 E0
      G1 F210 E3
      G92 E0
      G92 E0
      G92 E0
      If <"trigger2.g">
      M104 S220
      M105
      M109 S220
      M82 ;absolute e trusion mode
      ;Prime the e truder
      G92 E0
      G1 F220 E3
      G92 E0
      G92 E0
      G92 E0
      M116 echo >"trigger2.g"
      M117 "Trigger 3"
      M116 echo >"trigger2.g"
      M117 "Trigger 4"
      M116 echo >"trigger2.g"
      M117 "Trigger 5"

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