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

    M291 Error

    Scheduled Pinned Locked Moved
    Gcode meta commands
    2
    2
    106
    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.
    • kchristopherundefined
      kchristopher
      last edited by

      I am tryin to make a macro to select between Printer and Laser modes (tools). When I use the below M291 command I get error parameter 'S' too high. I also do not see documentation on how to read which selection the user selected so I can perform the actions I need depending on the response.

      e9f442ec-c3d7-4566-853f-b1bc198d5889-image.png

      M291 P"Choose which mode" S4 K{"Print mode","Laser mode"}
      
      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        1. (RRF 3.5 and later only) Display a number of choices. The names of the choices are given by the K parameter as an array of strings.

        3.5 hasn't be released yet.

        Z-Bot CoreXY Build | Thingiverse Profile

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