User Tools

Site Tools


pid_autotune

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pid_autotune [2017/02/05 04:29]
Matthew Upp [M301 Set PID parameters]
pid_autotune [2018/01/30 18:35] (current)
Matthew Upp
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-===== PID Autotune =====+====== PID Autotune ​======
  
-//PID Autotune with cycle support working for Motion firmware 22+//+----
  
-==== M303 Run PID tuning ====+//See [[g-code#​sending_g-code|Sending G-code]] for more information on how to send the commands below.//
  
-**Hot end usage**+//PID Autotune with cycle support working for Motion firmware V22+// 
 + 
 + 
 +===== M303 Run PID tuning ===== 
 + 
 +---- 
 + 
 +==== Hot end usage ====
 <​code>​ <​code>​
 M303 S<​temperature>​ C<#​cycles>​ M303 S<​temperature>​ C<#​cycles>​
  
 Example: Example:
 +M106 S204 ; turn on hotend fan to 80%
 M303 S210 C15 M303 S210 C15
 +M500 ; save the generated PID values to EEPROM
 </​code>​ </​code>​
  
Line 28: Line 37:
 \\ \\
  
 +----
  
 ==== M301 Set PID parameters ==== ==== M301 Set PID parameters ====
-Enter the values received after running [[pid_autotune#​m303_run_pid_tuning|M303]] using M301 command+Enter the values received after running [[pid_autotune#​m303_run_pid_tuning|M303]] using M301 command ​\\ 
 +<wrap hi>Newer firmware versions set the PID values returned by Autotune automatically. \\ 
 +The users must store the values to EEPROM with command "​**M500**"</​wrap>​ \\
 <​code>​ <​code>​
 M301 P<Kp value> I<Ki value> D<Kd value> M301 P<Kp value> I<Ki value> D<Kd value>
Line 37: Line 49:
 M301 P20 I0.02 D250   ;Set new PID values M301 P20 I0.02 D250   ;Set new PID values
 M500                  ;Save EEPROM M500                  ;Save EEPROM
 +Reboot printer to complete the process
 +</​code>​
 +
 +
 +==== M304 Set PID parameters - Bed ====
 +Enter the values received after running [[pid_autotune#​m303_run_pid_tuning|M303]] using M304 command
 +<​code>​
 +M304 P<Kp value> I<Ki value> D<Kd value>
 +
 +Example:
 +M304 P10 I0.02 D305.4 ​ ;Set new PID values
 +M500                   ;Save EEPROM
 Reboot printer to complete the process Reboot printer to complete the process
 </​code>​ </​code>​
Line 45: Line 69:
 [[http://​reprap.org/​wiki/​G-code#​M303:​_Run_PID_tuning]] \\ [[http://​reprap.org/​wiki/​G-code#​M303:​_Run_PID_tuning]] \\
 [[http://​reprap.org/​wiki/​G-code#​M301:​_Set_PID_parameters]] \\ [[http://​reprap.org/​wiki/​G-code#​M301:​_Set_PID_parameters]] \\
 +[[http://​reprap.org/​wiki/​G-code#​M304:​_Set_PID_parameters_-_Bed]] \\
 \\ \\
  
pid_autotune.1486268983.txt.gz · Last modified: 2017/02/05 04:29 by Matthew Upp