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

    M291 param to display last log/console message

    Scheduled Pinned Locked Moved
    Firmware wishlist
    1
    1
    440
    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.
    • garyd9undefined
      garyd9
      last edited by

      I'd like to see a parameter or parameter option added to M291 that displays the last log/console line. For example, instead of 'P"message"', something like "P1" would include the last console line.

      I think it'd be easier to describe my use case:

      I frequently use the "manual leveling assistant" built into the duet firmware to adjust my leveling screws. My normal workflow for this is to sit in front of the printer, go to the "control" tab on the paneldue, and hit the leveling button (which executes bed.g.) However, there's nothing on the paneldue that indicates that the assistant has results. Instead, I have to tap to the "console" tab and find the last console line that tells me how to adjust my leveling screws.

      In order to make this process slightly easier, I've considered adding the following three lines to the end of my bed.g:

      ; normal bed.g commands here
      M400 ; make sure the leveling movements are done
      M291 P"Tap the CONSOLE tab and read the last line for adjustments needed." T60
      M300 P500

      What would be really nice is if I could somehow pull in that last console line for display in the M291 message. For example, perhaps a "P1" parameter would do that:

      ; normal bed.g commands here
      M400 ; wait for leveling movements to complete
      ; My suggestion is that the "1" in P1 below is
      ; replaced with the last line in log/console,
      ; which would be the suggested screw
      ; adjustments for leveling
      M291 P1 R"Adjustments Required" T60
      M300 P500

      "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

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