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

    Config.g: How to configure it ?

    Scheduled Pinned Locked Moved Solved
    General Discussion
    3
    6
    489
    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.
    • Serhiiundefined
      Serhii
      last edited by

      Dear community.
      I would like to ask you for some help with the following issue.

      Setup:
      3D printer: Delta "Anycubic plus"
      Board: Duet 2 WiFi (2WiFi)
      Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0 (2022-03-15)
      Duet WiFi Server Version: 1.26

      Error:
      M98 P"config.g"
      Error: bad drive number
      Error: in file macro line 27: G10: Invalid tool number
      Error: in file macro line 28: G10: Invalid tool number
      HTTP is enabled on port 80
      FTP is disabled
      TELNET is disabled
      Error: in file macro line 42 column 24: M92: array too long, max length = 0
      Error: in file macro line 43 column 19: M350: array too long, max length = 0
      Error: in file macro line 44 column 28: M566: array too long, max length = 0
      Error: in file macro line 45 column 34: M203: array too long, max length = 0
      Error: in file macro line 46 column 25: M201: array too long, max length = 0
      Error: in file macro line 47 column 25: M906: array too long, max length = 0
      Error: Fan number 2 not found

      File:
      config.g

      Thank you in advance.

      deckingmanundefined zaptaundefined 2 Replies Last reply Reply Quote 0
      • deckingmanundefined
        deckingman @Serhii
        last edited by

        @Serhii At first glance, you are missing a crucial command https://docs.duet3d.com/User_manual/Reference/Gcodes#m584-set-drive-mapping. This should go near the beginning of the config.g file.

        At second glance, you haven't set the kinematics https://docs.duet3d.com/User_manual/Reference/Gcodes#m669-set-kinematics-type-and-kinematics-parameters

        At third glance, there seem to be other things missing or in the wrong place. suggest you start afresh using the configuration tool https://configtool.reprapfirmware.org/Start

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

        Serhiiundefined 1 Reply Last reply Reply Quote 1
        • Serhiiundefined
          Serhii @deckingman
          last edited by Serhii

          @deckingman Thank you for your reply. I managed to get a new configuration.
          config.g
          IMG_20230729_183606.jpg

          It would be great to have a common place to keep configuration for different machines.
          I have some question about calibration. Could you suggest another topic or continue here ?

          deckingmanundefined 1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman @Serhii
            last edited by

            @Serhii said in Config.g: How to configure it ?:

            ................. I have some question about calibration. Could you suggest another topic or continue here ?

            I suggest you start a new topic.

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            1 Reply Last reply Reply Quote 0
            • zaptaundefined
              zapta @Serhii
              last edited by

              @Serhii, just curious, did you start with the RRF configurator? It should give you a good starting point which you can then tweak manually.

              Serhiiundefined 1 Reply Last reply Reply Quote 0
              • Serhiiundefined
                Serhii @zapta
                last edited by

                @zapta You are right I followed instructions from @deckingman and it worked.
                I have shared a new config file in the previous reply.

                1 Reply Last reply Reply Quote 0
                • Serhiiundefined Serhii marked this topic as a question
                • Serhiiundefined Serhii has marked this topic as solved
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA