I have an Artifex2 Duo 3D printer, which has two extruders. Because of changes I have made, they are no longer matched and I have calculated two sets of PID values, one for each extruder. However, I can't figure out how to enter these values into the Marlin firmware, and can't find any examples for how to do this.
I'm currently using Marlin 2.1.0.5 with Arduino 1.8.12 and my printer has a RAMBO controller.
No matter what I do, the same PID values are stored for each extruder.
I'm including the
Configuration.h and
Configuration_adv.h files.
Note that I have
#define EXTRUDERS 2
and
#define PID_PARAMS_PER_HOTEND
in my configuration.h file.
If I only list one set of values for Kp, Ki, and Kd, these values are stored for both extruder PID values
#define DEFAULT_Kp 8.61,25.51
#define DEFAULT_Ki 0.33,2.04
#define DEFAULT_Kd 55.35,79.95
When I list two values as noted above, the second value is saved for both extruders.
I tried putting in three values even though I only defined two extruders:
#define DEFAULT_Kp 8.61,25.51,22.61
#define DEFAULT_Ki 0.33,2.04,1.69
#define DEFAULT_Kd 55.35,79.95,75.95
The second extruder PID values were still stored in the firmware.
I have also tried enclosing the values in braces, parentheses, and brackets, but this generated errors during compilation.