Welcome! Log In Create A New Profile

Advanced

Double extruder needs two PID values in Marlin firmware

Posted by Dr. Dave 
Double extruder needs two PID values in Marlin firmware
April 02, 2020 12:39AM
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.
Re: Double extruder needs two PID values in Marlin firmware
April 02, 2020 10:11AM
Hey there.

This is the Smoothie forum, not the Marlin forum.
You'll get better/faster answers if you post in the correct forum.

Dust has reported your message so the mods can move it themselves, but you can save them the effort by deleting this post and re-posting the same thing in the Marlin forum.
Re: Double extruder needs two PID values in Marlin firmware
April 02, 2020 09:09PM
Thank you. I did not realize.

I don't see how to do this. Perhaps a moderator can delete this thread for me. I will rewrite this thread (I've realized I made a number of errors in how I described the problem) and put it into a more appropriate forum later tonight.

Thanks

Edited 1 time(s). Last edit at 04/02/2020 09:30PM by Dr. Dave.
Sorry, only registered users may post in this forum.

Click here to login