need some help please Duet 2 Wifi BL touch Ender 3
-
post all your homing scripts.
please copy the text rather then posting a screenshot.
also post the retract and deploy script.
also since you are setting it up from scratch, it would make sense to go with the latest firmware version 3.1.1 as the config changes. this will make updating in the future easier.
-
Please also post the results of M122 and M98 P"config.g".
The M558 line in your config.g screen shot is using P5 instead of P9 for the BLtouch, so that could be the problem.
Also the G31 below that line is formatted as G-31, which is not correct.
-
This post is deleted! -
@Veti ; Drives
M569 P0 S0 ; physical drive 0 goes backwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S0 ; physical drive 3 goes backwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E93.00 ; set steps per mm
M566 X1200.00 Y1200.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
M203 X9000.00 Y9000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E1000 I50 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X235 Y235 Z260 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 H7 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
M558 P5 H5 F500 T4000 X0 Y0 Z1 ; Set Z probe type/mode 5. H=Dive Height. F=Speed the bed moves
G31 P50 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M305 P0 T100000 B4092 R4700 ; set thermistor + ADC parameters for heater 0
M143 H0 S150 ; set temperature limit for heater 0 to 150C
M305 P1 T100000 B4092 R4700 ; set thermistor + ADC parameters for heater 1
M143 H1 S310 ; set temperature limit for heater 1 to 310C; 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:0 T45 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 D0 H1 F0 ; 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; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.2.0 on Sun Dec 27 2020 15:42:16 GMT-0600 (Central Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Z-265 F3000 ; 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
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.2.0 on Sun Dec 27 2020 15:42:16 GMT-0600 (Central Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y-240 F3000 ; move quickly to Y axis endstop and stop there (first pass)
G1 H2 Y5 F6000 ; go back a few mm
G1 H1 Y-240 F240 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.2.0 on Sun Dec 27 2020 15:42:15 GMT-0600 (Central Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-240 F3000 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-240 F240 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning
; Example Homing file for RepRapFirmware on delta printer
M117 Use https://configurator.reprapfirmware.org/ to set up your printer config
;G91 ; use relative positioning
;******* Change F250 in the following line to F2500 when you are finished commissioning
;******* Change 320 in the following to a higher value if your Kossel has taller towers
;G1 S1 X320 Y320 Z320 F2500 ; move all carriages up 320mm, stopping at the endstops
;G1 S2 X-3 Y-3 Z-3 ; move all carriages down 3mm
;G1 S1 X6 Y6 Z6 F250 ; move carriages slowly up 6mm, stopping at the endstops
;G1 Z-5 F2000 ; down a few mm so that we can centre the head
;G90 ; back to absolute positioning
;G1 X0 Y0 F2000 ; centre the head and set a reasonable feed rate; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.2.0 on Sun Dec 27 2020 15:42:15 GMT-0600 (Central Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-240 Y-240 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F6000 ; go back a few mm
G1 H1 X-240 Y-240 F240 ; move slowly to X and Y axis endstops once more (second pass)
G1 H1 Z-265 F240 ; move Z down stopping at the endstop
G90 ; absolute positioning
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
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning
; deployprobe.g
; called to deploy a physical Z probe
;
; generated by RepRapFirmware Configuration Tool v3.2.0 on Sun Dec 27 2020 15:42:12 GMT-0600 (Central Standard Time)
M280 P3 S10 I1 ; deploy BLTouch
; retractprobe.g
; called to retract a physical Z probe
;
; generated by RepRapFirmware Configuration Tool v3.2.0 on Sun Dec 27 2020 15:42:14 GMT-0600 (Central Standard Time)
M280 P3 S90 I1 ; retract BLTouch -
@Phaedrux when i send M122 and M98 gcode to the printer it says "response to long. see console"
-
@Veti whenever i go to the config tool to check what channel the BL Touch is on it keeps changing it to PWM1 after I change it to PWM5 and upload the changed with the proper channel config
-
your homing scripts still assume there is a z endstop.
copy the generated homing scripts from the configurator. there should be a G30 in them when homing z.G31 P50 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height
you forgot to define all offsets. this will cause problems. you need to define x y and z.
M307 H7 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
M280 P3 S10 I1 ; deploy BLTouch
this does not match. your deploy scripts and heater configuration must be identical.
-
@Zayy said in need some help please Duet 2 Wifi BL touch Ender 3:
"response to long. see console"
So go to the console for the full response.
-
@Phaedrux it gives me this with the M98 gcode
Warning: Macro file config-override.g not found.
12/29/2020, 5:42:18 AM M98 P"config.g"
Warning: M918 command is not supported
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled...and this with the M122 gcode
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
Board ID: 08DJM-9178L-L2MS8-6JKF6-3S86R-19GAN
Used output buffers: 1 of 24 (9 max)
=== RTOS ===
Static ram: 25712
Dynamic ram: 93184 of which 44 recycled
Exception stack ram used: 272
Never used ram: 11860
Tasks: NETWORK(ready,900) HEAT(blocked,1232) MAIN(running,3752) IDLE(ready,160)
Owned mutexes:
=== Platform ===
Last reset 00:01:55 ago, cause: software
Last software reset at 2020-12-29 05:42, reason: User, spinning module GCodes, available RAM 11860 bytes (slot 2)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 33.5, current 35.2, max 35.2
Supply voltage: min 24.0, current 24.1, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: standstill, SG min/max not available
Driver 1: standstill, SG min/max not available
Driver 2: standstill, SG min/max not available
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Date/time: 2020-12-29 05:43:55
Cache data hit count 338494399
Slowest loop: 5.26ms; fastest: 0.07ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Move ===
Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
=== GCodes ===
Segments left: 0
Stack records: 1 allocated, 0 in use
Movement lock held by null
http is idle in state(s) 0
telnet is idle in state(s) 0
file is idle in state(s) 0
serial is idle in state(s) 0
aux is idle in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 15.43ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.23
WiFi MAC address 84:0d:8e:b2:6c:8a
WiFi Vcc 3.39, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 22688
WiFi IP address 10.0.0.237
WiFi signal strength -48dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
- WiFi -
-
@Veti i have the z endstop still plugged in and i have the BL touch plugged into probe input on the board, and i just updated to the latest version so the config tool is different now it looks like this...
-
@Zayy said in need some help please Duet 2 Wifi BL touch Ender 3:
i have the z endstop still plugged in and i have the BL touch plugged
in https://configtool.reprapfirmware.org/Endstops you need to select z probe for z or the bltouch will not be used.
-
@Veti do you have a discord I could get in contact via a call with you because it honestly feels like I've taken 2 steps forward and 3 steps back because after I updated the firmware to 3.1.1 its now giving me a "G28 X" error saying it failed to enable endstop.
-
@Zayy How do you have your endstops defined in config.g? They not in the config.g you posted.
-
@Stephen6309 im sorry but what exactly do you mean. I have them in the first screenshot it shows
; 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 -
@Zayy said in need some help please Duet 2 Wifi BL touch Ender 3:
M574 X1 Y2 S1 ;
that is the rrf2 config, you need to switch to rrf3 config
-
@Zayy said in need some help please Duet 2 Wifi BL touch Ender 3:
do you have a discord I could get in contact via a call with you
we want the information available for everyone. the forum is a important part of the community info.
if we move to discord this dissipaters. -
@Zayy For 3.0 to 3.2rc2, endstops need the pin.
My defines:
; Endstops
M574 X1 S1 P"121.io1.in" ; configure active-high endstop for low end on X via pin 1.io1.in
M574 Y1 S1 P"io2.in" ; configure active-high endstop for low end on Y via pin io2.in
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Z-Probe
M950 S0 C"121.io0.out" ; create servo pin 0 for BLTouch
M558 P9 C"^121.io0.in" H10 F120 T6000 ;A2 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X-11 Y-50 Z0 ; set Z probe trigger value, offset and trigger height
M557 X10:400 Y10:300 S30 ; define mesh grid -
@Stephen6309 should i copy what you have because i honestly do not know what it should say and im lost. sorry i feel bad for not knowing but i basically have a $400 metal brick on my desk at this point
-
@Veti i do not even know what rrf2 config please elaborate
-
its the firmware version you selected in the first step.
the config you posted is for version 2
in the screenshot you posted of the configurator, you selected version 3
the config version needs to match the installed version