aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-11-25 11:50:08 -0500
committerKevin O'Connor <kevin@koconnor.net>2018-11-30 11:34:20 -0500
commitf01ced8ed44ea04b42faf1595a55358699b78520 (patch)
treeab70f9a28593b6039984f6dce72efa5f90e5dff7
parent7699304f9b4301c1dbe07c7304514c0d422b1e06 (diff)
downloadkutter-f01ced8ed44ea04b42faf1595a55358699b78520.tar.gz
kutter-f01ced8ed44ea04b42faf1595a55358699b78520.tar.xz
kutter-f01ced8ed44ea04b42faf1595a55358699b78520.zip
config: Rework sample-bltouch.cfg into sample-probe-as-z-endstop.cfg
The example configuration information is more useful for general probe as z_endstop than as a bltouch example. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--config/sample-bltouch.cfg56
-rw-r--r--config/sample-probe-as-z-endstop.cfg51
2 files changed, 51 insertions, 56 deletions
diff --git a/config/sample-bltouch.cfg b/config/sample-bltouch.cfg
deleted file mode 100644
index fe67e564..00000000
--- a/config/sample-bltouch.cfg
+++ /dev/null
@@ -1,56 +0,0 @@
-# This file provides example config file settings for the BLTouch
-# automatic bed leveling sensor. This file is just a "snippet" of
-# sections specific to the BLTouch - it must be added to a config file
-# containing the configuration of the rest of the printer.
-
-# Be sure to review and update this config with the appropriate pins
-# and coordinates for your printer.
-
-# See the "example.cfg" and "example-extras.cfg" files for a
-# description of config parameters.
-
-# Define the BLTouch servo
-[servo bltouch]
-pin: ar32
-maximum_servo_angle: 180
-minimum_pulse_width: 0.0006
-maximum_pulse_width: 0.0024
-
-# Define a probe using the BLTouch
-[probe]
-pin: ar30
-z_offset: 2.345
-activate_gcode:
- SET_SERVO SERVO=bltouch ANGLE=10
- SET_SERVO SERVO=bltouch ANGLE=60
- G4 P200
-deactivate_gcode:
- SET_SERVO SERVO=bltouch ANGLE=90
- G4 P100
-
-# Example bed_tilt config section
-[bed_tilt]
-points:
- 100,100
- 10,10
- 10,100
- 10,190
- 100,10
- 100,190
- 190,10
- 190,100
- 190,190
-
-# If the BLTouch is used to home the Z axis, then define a
-# homing_override section, use probe:z_virtual_endstop as the
-# endstop_pin in the stepper_z section, and do not set
-# position_endstop in the stepper_z section.
-#[homing_override]
-#set_position_z: 5
-#axes: z
-#gcode:
-# ; G90 ; Uncomment these 2 lines to blindly lift the Z 2mm at start
-# ; G1 Z7 F600
-# G28 X0 Y0
-# G1 X100 Y100 F3600
-# G28 Z0
diff --git a/config/sample-probe-as-z-endstop.cfg b/config/sample-probe-as-z-endstop.cfg
new file mode 100644
index 00000000..89c757a1
--- /dev/null
+++ b/config/sample-probe-as-z-endstop.cfg
@@ -0,0 +1,51 @@
+# This file provides example config file settings for use on a printer
+# that uses a Z probe instead of a traditional Z endstop switch. This
+# file is just a "snippet" of config sections - it must be added to a
+# config file containing the configuration of the rest of the printer.
+
+# Be sure to review and update this config with the appropriate pins
+# and coordinates for your printer.
+
+# See the "example.cfg" and "example-extras.cfg" files for a
+# description of config parameters.
+
+# Define a probe
+[probe]
+pin: ar30
+z_offset: 2.345
+
+# Example settings to add to stepper_z section
+[stepper_z]
+endstop_pin: probe:z_virtual_endstop
+position_min: -2 # The Z carriage may need to travel below the Z=0
+ # homing point if the bed has a significant tilt.
+
+# The homing_override section modifies the default G28 behavior
+[homing_override]
+set_position_z: 5
+axes: z
+gcode:
+ ; G90 ; Uncomment these 2 lines to blindly lift the Z 2mm at start
+ ; G1 Z7 F600
+ G28 X0 Y0
+ G1 X100 Y100 F3600
+ G28 Z0
+
+# Example bed_tilt config section
+[bed_tilt]
+points:
+ 100,100
+ 10,10
+ 10,100
+ 10,190
+ 100,10
+ 100,190
+ 190,10
+ 190,100
+ 190,190
+
+# Example bed_mesh config section
+[bed_mesh]
+min_point: 20,20
+max_point: 200,200
+probe_count: 4,4