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

    Bug?: M115 does not generate a response when simulating

    Scheduled Pinned Locked Moved
    General Discussion
    m115
    2
    3
    166
    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.
    • EasyTargetundefined
      EasyTarget
      last edited by EasyTarget

      As the title implies, if I run M115 while my board is in 'simulating' mode, the command prompt returns immediately with ok instead of the expected data.

      RRF 3.5.2 on Duet2 WiFi

      <connected via pyserial-miniterm -q>:
      ----------------
      M115
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.5.2 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2024-06-11 17:13:43
      ok
      M37 P"0:/gcodes/bailer.gcode"
      Simulating print of file 0:/gcodes/bailer.gcode
      ok
      M115
      ok
      M115
      ok
      File 0:/gcodes/bailer.gcode will print in 0h 57m plus heating time
      M115
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.5.2 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2024-06-11 17:13:43
      ok
      

      I cannot see any other modes where this fails to respond, eg it works when processing a job. It just seems to be simulating that kills it. RRF 2.4.6 behaves in the same way.

      Is this intentional? it caused some confusion since serialOM uses m115 to detect that it is connected during init().

      edit: I checked docs and did a forum and google search and cannot find anything related there

      Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
      PrintPy2024 to the rescue!
      MicroPython based; with simple wiring and and no custom PCB.

      dc42undefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @EasyTarget
        last edited by

        @EasyTarget when a simulation is being run a few GCode commands are executed, some are simulated, and the rest are ignored. I've just added M115 to the list of commands that are executed. This change will be in the next 3.6.0 alpha build.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        EasyTargetundefined 1 Reply Last reply Reply Quote 2
        • EasyTargetundefined
          EasyTarget @dc42
          last edited by

          @dc42 Thank You, I'd hoped it was a trivial fix of this sort.
          I have also added a 'do not check firmware' init() option to serialOM since it's a bit redundant in some situations.

          Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
          PrintPy2024 to the rescue!
          MicroPython based; with simple wiring and and no custom PCB.

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