Created
November 2, 2017 10:09
-
-
Save aziraphale/ee6dd2634485c343d87e57468453760e to your computer and use it in GitHub Desktop.
Smoothieboard BL Touch Configuration (with Z-Max Endstop)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gamma_min_endstop nc # Normally 1.28. Change to nc to prevent conflict, | |
## Z-Probe (BL Touch) | |
# See http://forum.smoothieware.org/forum/t-1760423/bltouch-support#post-2712545 | |
# And http://smoothieware.org/zprobe#bltouch-or-servo-retractable-touch-probe | |
zprobe.enable true # set to true to enable a zprobe | |
zprobe.probe_pin 1.28 # pin probe is attached to if NC remove the ! | |
zprobe.slow_feedrate 5 # mm/sec probe feed rate | |
zprobe.fast_feedrate 100 # move feedrate mm/sec | |
zprobe.probe_height 5 # how much above bed to start probe | |
##BLTouch Servo Settings | |
switch.servo.enable true | |
switch.servo.input_on_command M280 S3.0 # M280 S7.5 Would be midway | |
switch.servo.input_off_command M280 S7.0 # Same as M280 S0 0% duty cycle, effectivley off | |
switch.servo.output_pin 1.23 # Must be a PWM capable pin | |
switch.servo.output_type hwpwm # H/W PWM output settable | |
switch.servo.pwm_period_ms 20 # Set Period to 20ms (50Hz) - Default is 50Hz | |
## BL Touch Usage G-Code (to run to process bed level compensation) | |
#G28 X Y Z ; Home X & Y (to min) and Z (to max) | |
#G1 X100 Y100 Z50 ; Move to bed centre | |
#M280 S3.0 ; Deploy probe pin | |
#G32 ; Probe the bed & enable compensation | |
#G1 X100 Y100 Z50 ; Return to bed centre | |
# NOTE: Adjust "Z1.5" to be the Z-offset (in mm) between the probe and the nozzle; experiment! | |
#G30 Z1.5 ; Move down to find bed and set Z home offset. | |
#M280 S7.0 ; Retract probe | |
#M374 ; SAVE compensation grid | |
## BL Touch Usage G-Code (To home Z-axis) | |
#G28 X Y Z ; Home X & Y (to min) and Z (to max) | |
#G1 X100 Y100 Z50 ; Move to bed centre | |
#M280 S3.0 ; Deploy probe pin | |
# NOTE: Adjust "Z1.5" to be the Z-offset (in mm) between the probe and the nozzle; experiment! | |
#G30 Z1.5 ; Move down to find bed and set Z home offset. | |
#M280 S7.0 ; Retract probe | |
# BL Touch Commands: | |
# Probe Down M280 S3.0 | |
# Probe Up M280 S7.0 | |
# Self Test M280 S8.4 | |
# Release Alarm M280 S10.6 | |
# If compensation isn't working after restarting the printer, enable using: | |
# M375 ; (you MUST home after using this) | |
## NOTE: Add these lines to 'machine start' gcode settings in slicer, as replacement for "Home X/Y/Z" (G28): | |
## G28 X0 Y0 ; Home X, Y | |
## G1 X100 Y100 Z50 F1500 ; Move to bed centre | |
## M280 S3.0 ; Deploy probe pin | |
## NOTE: Adjust "Z1.5" to be the Z-offset (in mm) between the probe and the nozzle; experiment! | |
## This is how you adjust nozzle printing height! | |
## G30 Z1.5 ; Move down to find bed & set Z home offset (Zxx=probe-nozzle offset) | |
## M280 S7.0 ; Retract probe | |
## G1 Z15.0 F9000 ; move extruder up 15mm | |
# Levelling strategy | |
# Example for 3-point levelling strategy, see wiki documentation for other strategies | |
#leveling-strategy.three-point-leveling.enable true # a leveling strategy that probes three points to define a plane and keeps the Z parallel to that plane | |
#leveling-strategy.three-point-leveling.point1 0.0,0.0 # the first probe point (x,y) optional may be defined with M557 | |
#leveling-strategy.three-point-leveling.point2 200.0,100.0 # the second probe point (x,y) | |
#leveling-strategy.three-point-leveling.point3 50.0,190.0 # the third probe point (x,y) | |
#leveling-strategy.three-point-leveling.home_first true # home the XY axis before probing | |
#leveling-strategy.three-point-leveling.tolerance 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm | |
#leveling-strategy.three-point-leveling.probe_offsets 27,-6,0 # the probe offsets from nozzle, must be x,y,z, default is no offset | |
#leveling-strategy.three-point-leveling.save_plane true # set to true to allow the bed plane to be saved with M500 default is false | |
leveling-strategy.rectangular-grid.enable true # The strategy must be enabled in the config, as well as the zprobe module. | |
leveling-strategy.rectangular-grid.x_size 210 # size of bed in the X axis | |
leveling-strategy.rectangular-grid.y_size 200 # size of bed in the Y axis | |
leveling-strategy.rectangular-grid.size 9 # The size of the grid, for example, 7 causes a 7x7 grid with 49 points. | |
# Must be an odd number. | |
leveling-strategy.rectangular-grid.probe_offsets 27,-6,0 # Optional probe offsets from the nozzle or tool head | |
leveling-strategy.rectangular-grid.save true # If the saved grid is to be loaded on boot then this must be set to true | |
leveling-strategy.rectangular-grid.initial_height 10 # Optionally an initial_height can be set that tell the intial probe | |
# where to stop the fast decent before it probes, this should be | |
# around 5-10mm above the bed | |
leveling-strategy.rectangular-grid.do_home false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment