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

M291 J2 =-1 ?

Scheduled Pinned Locked Moved
Gcode meta commands
3
4
215
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
    Strider007
    last edited by Strider007 5 Sept 2024, 03:59 7 May 2024, 23:54

    RRF 3.5.1
    Duet WIFI Server 2.1.0
    DWC 3.5.1
    HW Duet2 WIFI/Duex5

    Is there any update on the M291 request with a J2 to return "-1"? I need timeouts to do something other than abort macro. Please add my voice asking to get it implemented.

    This is what I would like to work:

    M291 R"XYU already Homed" P"Home XYU Again" S4 K{"yes","no"} T5 J2
    if input = 1
        echo "Skip Home XYU"
    if input = 0
        echo "Home XYU"
    if input = -1
        echo "Timed Out, Home XYU Anyway, or do something else"
    echo input
    
    
    

    I need the timeout to set the input = -1 but it always aborts. I thought my issue had been sorted out based on DC42’s comments in the post Meta gcode result variable inconsistent with docs but now realize this was just a feature request. I had hoped 3.5.1 with all the work done on M291 that J2=-1 might this incorporated too, but no.

    I need any timeout, when with a J2, to set the input = -1, or at least some approach to implement a timeout of a question that is not abort.

    Thanks for any input, I've been going in circles.

    undefined 1 Reply Last reply 8 May 2024, 13:18 Reply Quote 0
    • undefined
      droftarts administrators @Strider007
      last edited by 8 May 2024, 13:18

      @Strider007 As far as I'm aware, @dc42 hasn't progressed this feature request yet.

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      undefined undefined 2 Replies Last reply 8 May 2024, 16:29 Reply Quote 0
      • undefined
        Strider007 @droftarts
        last edited by Strider007 5 Aug 2024, 16:41 8 May 2024, 16:29

        @droftarts , Yes I realize that now. I found feature request #959 and want to add my voice to the ones requesting this modification. I feel this change could add significant flexibility to M291 by opens up many different options regarding how a query is responded to, or not. Note that is my case I don't even need or want the extra cancel box, but I would live with it if I could get the cancel/timeout to work the way I want it to.

        My reason for this request is that I want to reduce the amount of machine cycling as I call macros that contain activity that has already been done and has set flags as to have been completed. The idea is to go ahead and do the extra cycling if there is no response to the query, as a safety mechanism.

        1 Reply Last reply Reply Quote 1
        • undefined
          DIY-O-Sphere @droftarts
          last edited by 28 Dec 2024, 22:12

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