Duet wifi, bltouch not working
-
@Phaedrux
"Don't use M98 PDeployprobe.g The old way using probe type 5 required you to use M98 PDeployprobe.g and M98PRetractprobe.g to deploy and retract the pin. Type9 now handles the deployment internally. If you need to manually deploy and retract, use M401 and M402, respectively. This allows the Duet to keep track of the deployment state of the pin. G30 and G29 will automatically deploy as needed when using Type 9."It says this in the troubleshoot guide, however i will go ahead and try adding them and see what happens
-
Yes you will need the scripts but you will never have a need to call them, that is handled for you now.
Frederick
-
@sleepless said in Duet wifi, bltouch not working:
M98 PDeployprobe.g
That refers to the command to execute the script. This is to be replaced by M401 and M402.
The M401 and M402 command execute the Deployprobe.g and Retractprobe.g scripts.
With P9 the call to M401 and M402 is now automated as well.
But the scripts are still required.
-
i added the deploy and retract scripts however I am still having issues
Editing 0:/sys/ deployprobe.g
M280 P3 S10 I1Editing 0:/sys/ retractprobe.g
M280 P3 S90 I1 -
are you on 2.04? if not please update to it. there was a problem in some rc versions.
-
@Phaedrux said in Duet wifi, bltouch not working:
@sleepless said in Duet wifi, bltouch not working:
; Z-Probe ;
M307 H7 A-1 C-1 D-1@sleepless said in Duet wifi, bltouch not working:
Config-Override.g
; This is a system-generated file - do not edit
; Heater model parameters
M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0Your config-overide has an entry for heater 7, which you are trying to use for the BLTouch. You'll need to remove that M307 H7 line from config-override.
Did you remove the H7 entry from config-override?
-
@Veti firmware 2.0
-
@Phaedrux yes i removed it here is a copy
; This is a system-generated file - do not edit
; Heater model parameters
M307 H0 A154.0 C477.6 D0.6 S1.00 V12.1 B0
M307 H1 A371.8 C185.4 D4.2 S1.00 V12.3 B0
M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0 -
@sleepless said in Duet wifi, bltouch not working:
i added the deploy and retract scripts however I am still having issues
Editing 0:/sys/ deployprobe.g
M280 P3 S10 I1Editing 0:/sys/ retractprobe.g
M280 P3 S90 I1You're telling the firmware you're using heater pin 3 here, but you have freed up heater pin 7 in your config.
What pin are you actually plugged into?
M280 P should match that pin number.
-
her are some pics of the board
-
you are aware that you have a clone board?
-
i didnt realize that.
I just checked and found out it turns out my buddy replaced the board in the robo with this one and is planning to put the original in a cr10-s -
@sleepless said in Duet wifi, bltouch not working:
her are some pics of the board
So it looks like you are connected to the heater 3 pin.
So you need to change your config.g to free up pin 3 with
M307 H3 A-1 C-1 D-1
And then in your config-override make sure you don't have an entry for M307 H3.
Then your deploy and retract macros should work. Test with M401 and M402
-
unfortunately its still not responding. the light is on and it triggers up and down when i power the machine on however for some reason m401 and m402 are doing nothing
-
@sleepless
check the cable. the extension cable of the bltouch are known to cause problems sometimes. -
checked the wires and everything is fine no open lines
This is a real head scratcher -
Can you repost your config files as they currently stand?
-
; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sun Oct 28 2018 16:32:40 GMT-0700 (Pacific Daylight Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 PRobo3d_R1+ ; Set machine name
M551 Psafety13 ; Set password
M552 S1 ; Enable network
M587 S"elvis" P"honeynut" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M350 X32 Y32 Z32 I0 ; Configure microstepping without interpolation
M350 E16 I1; Configure microstepping with interpolation
M92 X160 Y160 Z1600 E415 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X30000 Y30000 Z300 E1500 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X15 Y15 Z0 S1 ; Set axis minima
M208 X230 Y254 Z200 S0 ; Set axis maxima; Endstops
M574 X1 Y2 S1 ; X home to min. Y home to max. Normally Closed limit switches.
M574 Z1 S2 ; Define Z to use Probe. Home to Min; Z-Probe ;
M307 H3 A-1 C-1 D-1
M558 P9 F100 H5 R0.2 T6000 A5 B1 ; Set Z probe type/mode 5. H=Dive Height. F=Speed the bed moves
G31 P9 X30 Y12 Z2 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
M557 X15:240 Y15:230 S30 ; Define mesh grid; Heaters
M307 H0 A134.3 C404.8 D0.4 B0
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S110 ; Set temperature limit for heater 0 to 110C
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S300 ; Set temperature limit for heater 1 to 300C
M501 ;
; Fans
M107 P0 S0.6 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 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off; 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; Automatic saving after power loss is not enabled
; Custom settings are not configured
; This is a system-generated file - do not edit
; Heater model parameters
M307 H0 A154.0 C477.6 D0.6 S1.00 V12.1 B0
M307 H1 A371.8 C185.4 D4.2 S1.00 V12.3 B0
M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0 -
@sleepless said in Duet wifi, bltouch not working:
G31 P9
That should be P25 for the trigger sensitivity. Not sure if that will make a huge difference.
You say M401 and M402 aren't working, but it is doing the self-test when you turn it on.
What is in your deployprobe.g and retractprobe.g macros in the sys folder?
-
retractprobe.g
M280 P3 S90 I1deployprobe.g
M280 P3 S10 I1correct m401 and m402 do not work