Browse Source

Add PID_AUTOTUNE_MENU option

Scott Lahteine 9 years ago
parent
commit
4b31c67dce

+ 1
- 0
Marlin/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/Felix/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/Felix/Configuration_DUAL.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -232,6 +232,7 @@
232 232
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
233 233
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
234 234
 #if ENABLED(PIDTEMP)
235
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
235 236
   //#define PID_DEBUG // Sends debug data to the serial port.
236 237
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
237 238
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/Hephestos_2/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/K8200/Configuration.h View File

@@ -236,6 +236,7 @@
236 236
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
237 237
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
238 238
 #if ENABLED(PIDTEMP)
239
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
239 240
   //#define PID_DEBUG // Sends debug data to the serial port.
240 241
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
241 242
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -254,6 +254,7 @@
254 254
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
255 255
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
256 256
 #if ENABLED(PIDTEMP)
257
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
257 258
   //#define PID_DEBUG // Sends debug data to the serial port.
258 259
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
259 260
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/TAZ4/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 70 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX 74 // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -232,6 +232,7 @@
232 232
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
233 233
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
234 234
 #if ENABLED(PIDTEMP)
235
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
235 236
   //#define PID_DEBUG // Sends debug data to the serial port.
236 237
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
237 238
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

@@ -235,6 +235,7 @@
235 235
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
236 236
 #define PID_MAX  125 // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
237 237
 #if ENABLED(PIDTEMP)
238
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
238 239
   //#define PID_DEBUG // Sends debug data to the serial port.
239 240
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
240 241
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

@@ -252,6 +252,7 @@
252 252
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
253 253
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
254 254
 #if ENABLED(PIDTEMP)
255
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
255 256
   //#define PID_DEBUG // Sends debug data to the serial port.
256 257
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
257 258
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/makibox/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 1
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -229,6 +229,7 @@
229 229
 #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
230 230
 #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
231 231
 #if ENABLED(PIDTEMP)
232
+  //#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
232 233
   //#define PID_DEBUG // Sends debug data to the serial port.
233 234
   //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
234 235
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

Loading…
Cancel
Save