Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    config-override.g required?

    General Discussion
    3
    3
    1384
    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.
    • UnderDoneSushi
      UnderDoneSushi last edited by UnderDoneSushi

      I was reading this guide made by BeTrue3D.
      https://betrue3d.dk/duet-wifieth-pid-tuning-hotend/#gcodesused

      And they wrote that they don't like using config-override.g
      isn't that needed? or do you not need it to have the z-axis offset and etc to function? Because I have been trying to figure out the z-axis offset and don't have an override file setup.

      1. Gcodes used
        For the actual PID tuning, we are going to use M303
        M307 H1 to display the parameters we garnered from the PID tuning.
        Finally, you could use M500 to store the parameters in a config-override.g file, which matches the old school Eeprom M500, and overrule the settings in config.g file.
        I personally have an aversion to this sort of having configurations stored in different places. Especially for core parameters that shouldn’t change.
        In my opinion, it just leads to confusion as people tends to forget they have anything stored in the override file and can’t figure out why the printer doesn’t accept the new parameters written in the config.g file.
      1 Reply Last reply Reply Quote 0
      • fcwilt
        fcwilt last edited by

        You can take the lines in config-override.g and add/replace them in config.g as needed and then delete config-override.g if you wish.

        Just be sure to not try to invoke config-override.g from config.g.

        However I see no real reason to do this.

        Frederick

        Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

        1 Reply Last reply Reply Quote 0
        • Danal
          Danal last edited by

          Not "required". You can delete it at any time, and/or ignore it by not having an M501 in config.g, or by executing an M502. Specifically:

          • M500 writes a subset of currently active settings to /sys/config-override.g. (Want to know which subset? Do an M500 and look in /sys/config-override.g).

          • M501 reads from /sys/config-override.g and executes the commands found there. Assuming they were written with an M500, this has the net effect of setting parameters to what was 'saved' with the M500.

          • M502 reads that same subset from /sys/config.g, effectively 'undoing' anything that was done with an M500/M501.

          Those three commands are it... Therefore, if you want /sys/config-override.g to have any effect at printer boot, there MUST be an M501 in /sys/config.g, Preferably near the end. If you want to have it ignored, just don't have an M501 in /sys/config.g.

          Delta / Kossel printer fanatic

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