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

    Error bug S parameter on G1 command.

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    4
    194
    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.
    • Flynbrdundefined
      Flynbrd
      last edited by

      I've upgraded the firmware and compiled a new files with configurator tool.

      Now my machine won't home any axis and I'm getting these errors. From what I've seen this is a bug?
      Here's a sample

      G28 X
      

      Warning: Obsolete use of S parameter on G1 command. Use H parameter instead.
      Warning: Obsolete use of S parameter on G1 command. Use H parameter instead.
      Error: Failed to enable endstops

      ; homex.g
      ; called to home the X axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.15 on Fri Jan 27 2023 18:39:44 GMT-0800 (Pacific Standard Time)
      G91 ; relative positioning
      G1 H2 Z5 F6000 ; lift Z relative to current position
      G1 H1 X-240 F1800 ; move quickly to X axis endstop and stop there (first pass)
      G1 H2 X5 F6000 ; go back a few mm
      G1 H1 X-240 F360 ; move slowly to X axis endstop once more (second pass)
      G1 H2 Z-5 F6000 ; lower Z again
      G90 ; absolute positioning

      Suggestions?

      droftartsundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @Flynbrd
        last edited by droftarts

        @Flynbrd G1 uses H not S in RRF 3. See https://docs.duet3d.com/User_manual/Reference/Gcodes#g0g1-h-and-s-parameter

        Are you sure you have replaced the homex.g in the sys folder with the above code? It would seem to be running something else.

        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

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

          @Flynbrd the warnings won't prevent homing but the "Failed to enable endstops" will. Post your config.g file and your other homing files including homeall.g.

          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

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Also please post the results of M122 so we can verify that the firmware has actually been applied.

            Also post the results of M98 P"config.g" to check your config for syntax errors.

            Z-Bot CoreXY Build | Thingiverse Profile

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