@droftarts
Thanks for a quick reply.
I will do what you requested in the order you asked, otherwise i will forget half of it
Here is config.g
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 12 2020 23:38:42 GMT-0500 (Central Daylight Time)
; General preferences
G21 ; Work in millimetres
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Bullfittan" ; set printer name
;M81 ; start with PSU off
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet
; Drives
M569 P0 S0 ; physical drive 0 goes forwards - X
M569 P1 S0 ; physical drive 1 goes forwards - Y
M569 P2 S0 ; physical drive 2 goes forwards - Z
M569 P3 S0 ; physical drive 3 goes backwards - Left
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X94.117647 Y94.117647 Z400 E99.06 ; set steps per mm
M566 X480 Y480 Z400 E1200 ; set maximum instantaneous speed changes (mm/min)
M203 X12000 Y12000 Z800 E3000 ; set maximum speeds (mm/min)
M201 X500 Y500 Z150 E2000 ; set accelerations (mm/s^2)
M906 X700 Y700 Z300 E700 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X-111 Y-75 Z0 S1 ; set axis minima X=45mm ut kommer bädden Y=12mm ut kommer bädden
M208 X150 Y75 Z150 S0 ; set axis maxima
M564 H0 ; Allow unhomed movement
; Endstops
M574 X2 S1 P"!xstop" ; configure active-high endstop for high end on X via pin !xstop
M574 Y2 S1 P"!ystop" ; configure active-high endstop for high end on Y via pin !ystop
; Z-Probe
M558 P9 C"^zprobe.in" H5 F100 T2000 ; Setup BLTouch, set dive height, probe speed and travel speed
M950 S0 C"exp.heater3" ; Link GPIO/Serve pin
G31 X37 Y-12 Z1.668 P25 ; Set probe offsets
;M557 X-70:140 Y-65:65 S10:10 ; define mesh grid (21x13)
M557 X-70:140 Y-65:65 S30:26 ; define mesh grid (7x5)
; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4066 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S0.90 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4066
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C
; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
; Tools
M563 P0 D0 H1 F1 ; define tool 0
G10 P0 X-34.04514634972721 Y0.29743029572304586 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
; Custom settings
M671 X-52:0:48 Y62:-68:62 P0.5 ; level screw locations and screw pitch type
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue
M501 ; load overrides
T0
Here is homeall.g
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 12 2020 23:38:42 GMT-0500 (Central Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X266 Y155 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X266 ; home X axis
G1 H1 Y155 ; home Y axis
G1 X-5 Y-5 F6000 ; go back a few mm
G1 H1 X266 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y155 ; then move slowly to Y axis endstop
;G1 H1 Z-155 F360 ; move Z down stopping at the endstop
; -- Begin bed probing
G90 ; absolute positioning
M561 ; Disable any existing mesh compensation
G1 X-37 Y12 F1800 ; Move probe to center of bed
M558 F400 ; Speed up probe to make homing faster
G30 ; Probe
M558 F100 ; Slow back down to normal speed for accurate probe
G30 ; Probe again
; -- Load mesh compensation
G29 S1
Here is bed.g
; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 12 2020 23:38:42 GMT-0500 (Central Daylight Time)
M561 ; clear any bed transform
; Probe the bed at 7 points
G30 P0 X0 Y84.9 H0 Z-99999
G30 P1 X73.53 Y-42.45 H0 Z-99999
G30 P2 X-73.53 Y-42.45 H0 Z-99999
G30 P3 X0 Y42.4 H0 Z-99999
G30 P4 X36.72 Y-21.2 H0 Z-99999
G30 P5 X-36.72 Y-21.2 H0 Z-99999
G30 P6 X0 Y0 H0 Z-99999 S
Here is M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.4.5 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2022-11-30 19:36:12
Regarding the heightmap i dont have a heightmap.csv
I tried to just create a file named "heightmap.csv" but that did not help anything.
My skills in paint is not good, but here it goes:
![https://ibb.co/kMjqzw5](image url)