duet 2 wifi bltuch
-
hi im having a problem with my printer for a long time. ever since i set it up a few years ago. i get an error "bed calibration: 2 factor calibration requested but 0 points perived" every time i home. but the homing works. although it sets the tool hed to high by 5.65mm every time without fail. i have been printing by just adjusting the offset live. if i try adjusting in slyser it does nothing but not allow me to adjust it live. and if i try to change the offset in the config.g it does nothing.
-
@P0HakaAustin dhare your config.g and homez.g / homeall.g files and let us know which version of RRF you are running.
-
@oliof Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 2.04 (2019-11-01b1)
Duet WiFi Server Version: 1.23 config.g homeall.g homez.g
config.g
; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P1 ; Set firmware compatibility to look like RepRapFirmare ; Network M550 P"My Printer" ; Set machine name M551 P"coco1212" ; Set password M587 S”NETGEAR60” P”manicflute744” ; Configure access point. You can delete this line once connected M552 S0 G4 P1000 M552 S1 M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S1 ; Drive 0 goes backwards M569 P1 S0 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes backwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 in reverse - E1 M350 X256 Y256 Z256 E16 I1 ; Configure microstepping without interpolation M92 X1280 Y1280 Z6400 E398 ; Set steps per mm M566 X500.00 Y500.00 Z100.00 E120.00 ; Set maximum instantaneous speed changes (mm/min) JERkS M203 X10800.00 Y10800.00 Z1500.00 E1200.00 ; Set maximum speeds (mm/min) M201 X1200.00 Y1200.00 Z200.00 E600.00 ; Set accelerations (mm/s^2) M906 X900.00 Y900.00 Z800.00 E1000.00 I20 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Axis Limits M208 X0 Y0 Z-10 S1 ; Set axis minima M208 X300 Y300 Z-10 S0 ; Set axis maxima ; Endstops M574 X1 Y1 S0 ; Set active high endstops ;S3 for motor load M574 Z1 S0 ; Define Z to use Probe. Home to Min M574 E S0 ; Define Z to use Probe. Home to Min ;Offset Z ;M206 Z-0.04 ;Z offset because I don't want to adjust the bed, then I delete it and adjust it to detail ; Z-Probe (sin sensor) M558 P5 H5 F500 T4000 X0 Y0 Z1 ; Set Z probe type/mode 5. Not using on XY, but using it on Z. M307 H3 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board M280 P3 S10 I1 G31 P500 X-35 Y-5.5 Z6.68 ; set Z probe trigger value, offset and trigger height M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M305 P0 T100000 B3950 R4700 ; Set thermistor + ADC parameters for heater 0 M143 H0 S105 ; Set temperature limit for heater 0 to 100C M305 P1 T100000 B4725 C7.06e-8 ; Set thermistor + ADC parameters for heater 1 ---V6--- M143 H1 S280 ; Set temperature limit for heater 1 to 280C ---V6--- ; Fans M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on ;M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools M563 P0 D1 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 T0 ;Select the first HEAD ; Automatic power saving M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss ; Custom settings are not configured ;M912 P0 S-6.6 ; MCU calibration M501 ;Loads config-override.g ;M572 D0 S0.1 ; Presure Advanced M592 D0 A0,0361685211647304 B-0,00281713710817895 ; Non Linear Extrusion M593 F55 ; DAA G29 S1 ; Carga la malla de nivelado
homeall.g
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v2 on Thu Jan 17 2019 20:56:52 GMT+0100 (hora estándar de Europa central) G91 ; relative positioning G1 Z5 F6000 S2 ; lift Z relative to current position G1 S1 X-330 Y-330 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 X5 Y5 F6000 ; go back a few mm G1 S1 X-330 Y-330 F360 ; move slowly to X and Y axis endstops once more (second pass) G1 X190 Y120.5 F1800 ; Move Probe to middle of bed G91 ; relative positioning G30 Z5 F6000 S2 ; lift Z relative to current position G30 S1 Z-430 F1800 ; move Z down until the endstop is triggered G92 Z0 ; set Z position to axis minimum (you may want to adjust this) G30 S1 Z-430 F360 ; move Z down until the endstop is triggered G92 Z0 ; set Z position to axis minimum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G30 S2 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
homez.g
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v2 on Thu Jan 17 2019 20:56:52 GMT+0100 (hora estándar de Europa central) G1 X150 Y180.5 F1800 ; Move Probe to middle of bed G91 ; relative positioning G30 Z5 F6000 S2 ; lift Z relative to current position G30 S1 Z-430 F1800 ; move Z down until the endstop is triggered G92 Z0 ; set Z position to axis minimum (you may want to adjust this) G30 S1 Z-430 F360 ; move Z down until the endstop is triggered G92 Z0 ; set Z position to axis minimum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G30 S2 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
-
@P0HakaAustin It looks like you're using the G30 command incorrectly; you have substituted all the 'G1 Z' command for 'G30' but kept the parameters for G1.
I think you want to use the probe you have defined in config.g as follows:
... ; Z-Probe (sin sensor) M558 P5 H5 F500 T4000 X0 Y0 Z1 ; Set Z probe type/mode 5. Not using on XY, but using it on Z. M307 H3 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board M280 P3 S10 I1 G31 P500 X-35 Y-5.5 Z6.68 ; set Z probe trigger value, offset and trigger height M557 X15:215 Y15:195 S20 ; define mesh grid ...
Does the BLTouch deploy during startup? It should do a 'self test' of deploy/retract twice. But you have a command in config.g to deploy it again. It would be best to remove the 'M280 P3 S10 I1' command from config.g.
RRF 2.04 supports the BLTouch probe type 9. You should change the M558 command from P5 to P9. Then add two files to your /sys folder, deployprobe.g and retractprobe.g. They should have the following in them:
Create a 'deployprobe.g' file (in the /sys folder of the SD card) it should contain the following single command:
M280 P3 S10 I1
Create a 'retractprobe.g' file (in the /sys folder of the SD card) it should contain the following single command:
M280 P3 S90 I1
Restart, and test deployprobe.g and retractprobe.g are working correctly by sending M401 to deploy the probe, and M402 to retract the probe.
Then follow the guide here to test and calibrate the probe: https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_testing
Finally, fix your homeall.g and homez.g. Change homeall.g to:
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v2 on Thu Jan 17 2019 20:56:52 GMT+0100 (hora estándar de Europa central) G91 ; relative positioning G1 Z5 F1000 S2 ; lift Z relative to current position G1 S1 X-330 Y-330 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 X5 Y5 F6000 ; go back a few mm G1 S1 X-330 Y-330 F360 ; move slowly to X and Y axis endstops once more (second pass) G90 ; absolute positioning G1 X190 Y120.5 F1800 ; Move Probe to middle of bed G30 ; Probe bed
Change homez.g to:
G91 ; relative positioning G1 Z5 F1000 S2 ; lift Z relative to current position G90 ; absolute positioning G1 X190 Y120.5 F1800 ; Move Probe to middle of bed G30
If you want to lift Z after probing, add the following on the end of homeall.g and homez.g:
; Uncomment the following lines to lift Z after probing G91 ; relative positioning G1 S2 Z5 F1000 ; lift Z relative to current position G90 ; absolute positioning
Ian