anons
March 15, 2025, 2:49pm
1
I checked it many times and kept getting this error
Configuration fragment
This is the configuration file
printer (1).cfg (3.9 KB)
This is the log file
klippy (2).log (13.1 KB)
I want to use this motherboard as a robotic arm
I am very depressed. I started it yesterday and it still works, but after I started it today, there is such a problem, and nothing has been modified
Sineos
March 15, 2025, 2:59pm
2
anons:
I am very depressed.
Yes, me as well:
Please stick to the template you have deleted. Also see How-To Ask for Help
4 Likes
NAPCAL
March 15, 2025, 4:05pm
3
Almost impossible to help without your full klippy.log, printer.cfg, and any included cfg files attached and not pasted!
Normally this type of error comes from an incorrectly formatted cfg file.
Please make sure you attach the files listed above.
2 Likes
anons
March 16, 2025, 1:16pm
4
Please look at the problem again
… and what printer board?
Git version: 'v0.12.0-458-gd886c1761-dirty'
Modified files: klippy/configfile.py
And then an error in the configfile
, suspicious.
I see that you have reset the file to the git version.
Did you restart the klipper service sudo systemctl restart klipper
after you reset that file back?
1 Like
anons
March 16, 2025, 2:28pm
7
See if there is any error in my configuration file
anons
March 16, 2025, 2:30pm
8
I’ve been working on this problem for days, with no result
anons
March 16, 2025, 2:36pm
9
The motherboard is an mks monster8 v2.0
I’ve stumbled about these lines in your config:
10 & 14
and
9 & 12
[stepper_x]
step_pin: PC14
dir_pin: PC13
enable_pin: !PC15
microsteps: 16
rotation_distance: 18
endstop_pin: ^PA14
position_endstop: 0
position_max: 200
homing_speed: 100
position_min: -90
position_max: 90
homing_positive_dir: true
homing_speed: 50.0
homing_retract_dist: 5.0
full_steps_per_rotation: 200
Also here:
10 & 11
[stepper_y]
step_pin: PE5
dir_pin: PE4
enable_pin: !PC15
microsteps: 16
rotation_distance: 18
endstop_pin: ^PA15
position_endstop: 0
position_max: 200
homing_speed: 100
homing_speed: 50.0
homing_retract_dist: 5.0
full_steps_per_rotation: 200
anons
March 16, 2025, 3:09pm
11
I want to use this motherboard to do 6 axis manipulator development, these are some necessary parameters
anons
March 16, 2025, 3:12pm
12
What I don’t understand is why it keeps getting this error, and from the configuration why stepper_x says step_pin is invalid
Have you already deleted one of the double lines?
anons
March 16, 2025, 3:19pm
14
This is the pin diagram of the motherboard
NAPCAL
March 16, 2025, 3:34pm
15
@anons as @EddyMI3D calls out you have duplicate parameters that might cause reading errors.
I would recommend reducing (by temporarily commenting out) the additional stepper sections to see if you can get the error to go away then that might point you to where your error is located.
It is not easy to explain config errors but something in yours is causing incorrect format.
anons
March 16, 2025, 3:58pm
16
The error is not obvious, and the root cause cannot be found
anons
March 16, 2025, 4:27pm
17
Even so, it still gives an error
You commented out way too much!
Just one of the doubles as I mentioned in post #10
1 Like
NAPCAL
March 16, 2025, 8:44pm
19
Why is the [stepper_x] section now below the J steppers?
In you posted printer.cfg [stepper_x] was at the start.
2 Likes
[printer]
kinematics: none
Just a guess, haven’t tried it:
Your printer has no kinematics so it cant have any axes. If you mean to have an x axis, pick kinematics that have x axes.