aboutsummaryrefslogtreecommitdiffstats
path: root/docs/G-Codes.md
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-03-18 11:23:20 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-03-18 12:02:30 -0400
commit973ef971438b14e25b1c9d1002f86fab94dad33e (patch)
tree1a35339c23a6060eb6594938d22074533d881192 /docs/G-Codes.md
parent310cdf88ccdbc72283ce9ed7783f35a33198f9f1 (diff)
downloadkutter-973ef971438b14e25b1c9d1002f86fab94dad33e.tar.gz
kutter-973ef971438b14e25b1c9d1002f86fab94dad33e.tar.xz
kutter-973ef971438b14e25b1c9d1002f86fab94dad33e.zip
pid_calibrate: Move PID calibration logic from heater.py to new file
Drop support for M303 and PID_TUNE, and replace it with a new PID_CALIBRATE command. Move the logic for this command from heater.py to a new pid_calibrate.py file in the extras/ directory. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/G-Codes.md')
-rw-r--r--docs/G-Codes.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/G-Codes.md b/docs/G-Codes.md
index 73fd2e93..25ff7550 100644
--- a/docs/G-Codes.md
+++ b/docs/G-Codes.md
@@ -26,7 +26,6 @@ Klipper supports the following standard G-Code commands:
- Get current position: `M114`
- Get firmware version: `M115`
- Set home offset: `M206 [X<pos>] [Y<pos>] [Z<pos>]`
-- Run PID tuning: `M303 [E<index>] S<temperature>`
For further details on the above commands see the
[RepRap G-Code documentation](http://reprap.org/wiki/G-code).
@@ -65,6 +64,13 @@ The following standard commands are supported:
verify that an endstop is working correctly.
- `GET_POSITION`: Return information on the current location of the
toolhead.
+- `PID_CALIBRATE HEATER=<config_name> TARGET=<temperature>
+ [WRITE_FILE=1]`: Perform a PID calibration test. The specified
+ heater will be enabled until the specified target temperature is
+ reached, and then the heater will be turned off and on for several
+ cycles. If the WRITE_FILE parameter is enabled, then the file
+ /tmp/heattest.txt will be created with a log of all temperature
+ samples taken during the test.
- `RESTART`: This will cause the host software to reload its config
and perform an internal reset. This command will not clear error
state from the micro-controller (see FIRMWARE_RESTART) nor will it