BLtouch
-
Hi, I'm working on a Bltouch, now this works pretty well but I still doubt my configs the bed.g homeall.g and the homex, y and z or these are good,
could someone here check whether I have done this well,
I also configure config.g
I would like to hear if everything has done well,config.g
; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Tue Jan 02 2018 16:42:45 GMT+0100 (West-Europa (standaardtijd)); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
; Automatic saving after power loss is not enabledM667 S1 ; Select CoreXY mode
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X400 Y400 Z550 S0 ; Set axis maxima; Endstops
;M574 S1 Z0
M574 X1 Y1 S1 ; Set active low endstops
M574 Z1 S2 ; Set endstops controlled by probe
; BLTouch - Heaters
M307 H3 A-1 C-1 D-1 ; Disable the 3th Heater to free up PWM channel 5 on the Duex board
;M558 P9 H5 F500 T4000 X0 Y0 Z1 ; Set Z probe type/mode 9. H=Dive Height. F=Speed the bed moves
M558 P9 X0 Y0 Z1 H5 F100 T2000 A4 R0.5
G31 P25 X0 Y0 Z2.48 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
M557 X5:395 Y5:395 S95 ; Define mesh grid; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 ; Configure microstepping without interpolation
M92 X80 Y80 Z400 E100 ; Set steps per mm
M566 X900 Y900 Z12 E2000 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z180 E5000 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E5000 ; Set accelerations (mm/s^2)
M906 X1200 Y1200 Z800 E1400 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M305 P0 T100000 B3988 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B3988 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Network
M550 PHypercube gideon ; Set machine name
M552 S1 ; Enable network
M587 S"gidbeneden" P"gidbeneden" I192.168.0.35 J192.168.0.1 K255.255.255.0 ; Configure access point and IP addresses. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S1 ; Enable FTP
M586 P2 S1 ; Enable Telnet; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P2 S1 I0 F500 H1 T60:140 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured
bed.g
; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool on Tue Jan 02 2018 16:42:45 GMT+0100 (West-Europa (standaardtijd))
;M561 ; clear any bed transform
; Probe the bed at 4 points
;G30 P0 X15 Y15 H0 Z-99999
;G30 P1 X15 Y385 H0 Z-99999
;G30 P2 X385 Y385 H0 Z-99999
;G30 P3 X385 Y15 H0 Z-99999 S;bed.g
;Bed*****
G28 ;Home the printer
G91 ;Set to Relative Positioning
G0 Z5 F3500 ;Move to center 5mm from bed
G90 ;Set to Absolute Positioning
M561 ;Clear any bed transform, otherwise homing may be at the wrong height
M557 R115 S15 ;Mesh leveling
M98 Presetprobe.g ;Call macro reset prob
M98 Pdeployprobe.g ;Call macro deploy probe
G4 P50 ;Pause
G29 S2 ;Clear height map
G29 S0 ;Generate bed height map
M98 Pretractprobe.g ;Call macro retract probe
G1 X0 Y0 Z150 F15000 ;Get the head out of the way of the bed; homeall.g
; Sensorless Homing test file
M400 ; make sure everything has stopped before we make changes
M915 X Y S3 F0 R0 ; configure stall detection
M574 X0 Y0 S3 ; set endstops to use motor stall
M913 X50 Y50 ; reduce motor current to 50% to prevent belts slipping
G91 ; use relative positioning
G1 S1 X-400 Y-400 F3600 ; move right/back 325mm, stopping at the endstop
G1 X5 Y5 ; move away from home
; X or Y is homed at this point, now home the other axis
G1 X-400 F3600 S1 ; move towards axis minimum
G1 Y-400 F3600 S1 ; move towards axis minimum
G1 X1 Y1 ; move away from home
M400 ; make sure everything has stopped before we reset the motor currents
M913 X100 Y100 ; motor currents back to 100%
G90 ; back to absolute positioning
M574 X1 Y1 S1 ; define active low microswitches; homex.g
M915 X Y S3 F0 R0 ; configure stall detection
M574 X1 Y1 S3 ; set endstops to use motor stall
M913 X50 Y50 ; reduce motor current to 50% to prevent belts slipping
G91 ; use relative positioning
G1 S1 Z5 F2000 ; lower bed
G1 S1 X-400 F3600 ; course home X
G1 S1 X1 ; move away from end
G90 ; back to absolute positioning
M400 ; make sure everything has stopped before we reset the motor currents
M913 X100 Y100 ; motor currents back to normal
M574 X1 Y1 S1 ; set endstops back to normal; homey.g
M915 X Y S3 F0 R0 ; configure stall detection
M574 X1 Y1 S3 ; set endstops to use motor stall
G1 S1 Z5 F2000 ; lower bed
M913 X50 Y50 ; reduce motor current to 50% to prevent belts slipping
G91 ; use relative positioning
G1 S1 Y-400 F3600 ; course home Y
G1 Y1 ; move away from end
G90 ; back to absolute positioning
M400 ; make sure everything has stopped before we reset the motor currents
M913 X100 Y100 ; motor currents back to normal; homez.g
; called to home the Z axis
;
T0 ;select tool
G91
M280 P3 S160 I1 ;relative coordinates
G1 S1 Z5 F2000 ;lower bed
G4 P500 ;wait for the bed to lower
G90 ;absolute positioning
G1 S1 X200 Y200 F3000 ;move to center
M401 ;deploy the probe
G30 ;calibrate Z-axis
M402 ;Retract Probe -
now I get a mistake when I do bed leveling,
this has worked normally
this is the mistake
Error: Z probe readings not consistent -
It means what says. You have selected multi-tap probing up to 4 times in M558 and left the tolerance at its default (0.03mm). But when it probed the same point 4 times, it didn't get two consecutive height readings that were within 0.03mm of each other.
The bltouch is sensitive to magnetic fields, so adding parameter B1 to your M558 command may help.
-
I test the bed leveling without bed or nozzle heating, help the B1?
and which parameter is the tolerance at its default.my configs are ok or not for the rest?
-
The M558 S parameter sets the tolerance, see the GCodes wiki page. I didn't spot anything wrong with your M558 or G31 commands.