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

Duet 2 not saving custom config

Scheduled Pinned Locked Moved
Duet Web Control
4
6
188
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
    Rich T
    last edited by 16 Jan 2024, 23:50

    I acquired a used 3 axis CNC machine running from a Duet 2 wifi controller. The cables/wiring were very messy and the machine needed a general service so I stripped it down and rebuild it. When doing this I discovered that the Z axis output was faulty and had been re-mapped to use R1 (Drive 4) instead.

    As part of the rebuild, I also wiped and rebuilt the Duet 2 wifi with Firmware version 3.3

    To get the Z axis working, I knew I needed to uploaded some of the customised files from the original SD card. This ended up being a bit of trial and error, but I got everything working eventually by uploading a file called config.g.bak into the macro folder and running it through the web control interface.

    The problem is that I have to run this file every time I reboot the machine and PC.

    Is there something else I should be doing to apply the customised configuration permanently?

    Any help would be much appreciated.

    Thanks
    Rich

    undefined undefined 2 Replies Last reply 17 Jan 2024, 03:11 Reply Quote 0
    • undefined
      fcwilt @Rich T
      last edited by 17 Jan 2024, 03:11

      @Rich-T

      Compare config.g and config.bak and determine:

      • what commands in config.g need to be changed to match config.bak
      • what commands in config.bak need to be added to config.g because they are not already in config.g
      • what commands in config.g need to be removed from config.g because they are not in config.bak

      Frederick

      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

      undefined 1 Reply Last reply 17 Jan 2024, 08:07 Reply Quote 0
      • undefined
        droftarts administrators @Rich T
        last edited by 17 Jan 2024, 07:19

        @Rich-T please post your config.g and config.g.bak files.

        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
        • undefined
          Rich T @fcwilt
          last edited by 17 Jan 2024, 08:07

          @fcwilt
          Thanks Frederick. I'll have a look today.

          undefined 1 Reply Last reply 17 Jan 2024, 17:05 Reply Quote 0
          • undefined
            Rich T @Rich T
            last edited by 17 Jan 2024, 17:05

            Hi
            Here are the text files containing the contents of config.g and config.g.bak

            @Rich-T config.g.txt config.g.bak.txt

            They are both in the System folder and also in the Macros folder. I have been running the bak file from the Macros folder, but had to open the ones in the System folder to see the text they contain.
            I don't know if they need to be in both places. I'm afraid I have very little expertise (none) in programming and software so have only managed to get the Duet up and running through online instructions and some trial and error. That being the case, any assistance is much appreciated.

            Although the machine seems to function ok (still some testing still to do) after running config.g.bak, when I run it I get the following message.

            Response too long.png

            See below for the console text produced by this. Maybe someone can point out what needs to be changed to make it happy again.

            console.txt

            Regards
            Rich T

            undefined 1 Reply Last reply 17 Jan 2024, 17:46 Reply Quote 0
            • undefined
              oliof @Rich T
              last edited by 17 Jan 2024, 17:46

              @Rich-T Copy config.g.bak to config.g on /sys

              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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