Fill out above information andin all cases attach yourklippy.logfile (use zip to compress it, if too big). Pasting yourprinter.cfgis not needed Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
as the title so i am so many time to edit the config but its use old date and recover i am chinese so please simple word and thank for your help
Are trying to recover an older configuration from your Pi?
Then open Mainsail and go to the configurion tab and
Rename printer.cfg → old_printer.cfg
Select a backup with the time and date code (like printer-20250804_171329.cfg) and rename it printer.cfg
Restart Klipper
Are you trying to upload a printer.cfg file that you’ve modified on your PC?
Then open Mainsail and go to the configuration tab and
Rename printer.cfg → old_printer.cfg
Click the upload button and upload your modified file (MUST be named printer.cfg)
Restart Klipper
Both tasks can also be accomplished by using the editor built into Mainsail. Click on printer.cfg to load it in the editor, highlight EVERYTHING and delete, copy/paste the entire file from notepad on your PC, click “save and restart”.
Sorry, I wasn’t clear. The machine was working fine. Because the hot end failed, I replaced it with a new one. I also set the PID and then saved the configuration. After rebooting, I got a different error code (it’s different each time).
I also have a Z offset issue.
#position_endstop: -0.5 (the # is added by the machine itself) #control: pid #pid_kp: 58.437 #pid_ki: 2.347 #pid_kd: 363.769 (the four #'s are added by the machine, just like above)
Strangely enough,
## <---------------------- SAVE_CONFIG ---------------------->
## DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
##
## [extruder]
## control = pid
## pid_kp = 24.176
## pid_ki = 1.389
## pid_kd = 105.165
##
## [heater_bed]
## control = pid
## pid_kp = 33.624
## pid_ki = 0.642
## pid_kd = 440.059
##
## [stepper_z]
#*# position_endstop = 0.470
If these records are already at the end of PRINTER.CFG, why are there still fault codes?
========================================================
I replaced the memory card last night and will try again tonight. My hunch is that the memory card is faulty. I hope to have good news tonight. Thank you for your patient answers
I just tried a new memory card and this command still won’t reboot properly (SAVE_CONFIG). I can only see the normal operating screen after forcing the power on and off. Is there anything else I need to adjust?
Thanks everyone
Thank you. I’ll get back to you with the results tomorrow. Could you please help me with a few more questions? Could you explain these lines?
164 position_endstop: -7.83 (-7.83 refers to the height of which line)
171 position_min: -30 (If the other three lines are correct, this value is obviously a bit risky. What should I set to be safe?)
321 #z_offset: -8.305 (If z_offset: -8.305 in line 321, does that affect line 885?)
885 #*# z_offset = -1.950 (Currently, the first floor is still 8.305mm high. I tried it last night. How should I adjust it?)
Thank you, Sineos, and everyone for your continued help. The machine is finally working.
I have another question: I followed the instructions on Probe calibration - Klipper documentation and entered “PROBE” (this should indicate the probe is connected, right?) Then, when I reached the “PROBE_CALIBRATE” command for calibrating the probe’s Z-axis offset, was this also for testing the probe? My question is: Where do I set the distance between the probe and the printhead?