Page 1 of 1

PID Auto-tune the Onyx?

Posted: Thu Apr 04, 2013 8:10 pm
by robstah
Hey guys, I have been looking around for mention of an M-code for PID autotuning the Onyx. I'm running Repetier .80 Firmware and noticed that there are EEPROM values for the Bed PID and was wondering if there is any autotuning for them. Thanks!

Current EEPROM values:

20:09:06.432 : EPR:3 108 15.00 Bed PID P-gain
20:09:06.432 : EPR:3 112 0.90 Bed PID I-gain
20:09:06.432 : EPR:3 116 40.00 Bed PID D-gain

Re: PID Auto-tune the Onyx?

Posted: Thu Apr 04, 2013 10:14 pm
by Broose
I noticed this comment line in the Repetier source code which was not overly clear:

"- M303 P<extruder/bed> S<drucktermeratur> Autodetect pid values. Use P<NUM_EXTRUDER> for heated bed."

I guess you would use P0 for the extruder (which is the default P code), or P1 for the heated bed.

My guess would be:

M303 P1 S80

(80 in this case being an example of a target temp you wanted to tune to)

I don't have the machine here now, so I can't test it.


-B

Re: PID Auto-tune the Onyx?

Posted: Thu Apr 04, 2013 11:02 pm
by cambo3d

Re: PID Auto-tune the Onyx?

Posted: Thu Apr 04, 2013 11:05 pm
by robstah
Awesome. Thanks guys!