@jay_s_uk
OK, well that worked but I did not have to do that before. I must have something missing in my config.g file that 3.4.5 needs that wasn't needed in 3.1.1
This is my current config.g:
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"DUET3 QIDI-B" ; set printer name
; Network
M552 P192.168.1.241 S1 ; enable network and set IP address (ethernet)
M553 P255.255.255.0 ; set Netmask
M554 P192.168.1.1 ; set Gateway
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet
; Drives
M569 P0.0 S0 ; physical drive 0.0 goes backwards (X axis)
M569 P0.1 S0 ; physical drive 0.1 goes backwards (y axis)
M569 P0.2 S0 ; physical drive 0.2 goes backwards (z axis Left)
M569 P0.3 S0 ; physical drive 0.3 goes backwards (z axis Right)
M569 P0.4 S1 ; physical drive 0.4 goes forwards (Extruder)
M584 X0.0 Y0.1 Z0.2:0.3 E0.4 ; set drive mapping
M671 X-40:333 Y0:0 S2.0 ; leadscrews at left (connected to 0.2) and right (connected to 0.3) of X axis
M350 X256 Y256 Z128 E128 I0 ; configure microstepping with interpolation
M92 X1484.00 Y1484.00 Z3200.00 E3242.47 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E2100.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z300.00 E2100.00 ; set maximum speeds (mm/min)
M201 X200.00 Y200.00 Z50.00 E250.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z400 E800 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 X300 Y245 Z280 S0 ; set axis maxima
; Endstops
M574 X2 S1 P"!io0.in" ; configure active-high endstop for high end on X via pin !io0.in
M574 Y2 S1 P"!io1.in" ; configure active-high endstop for high end on Y via pin !io1.in
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
; Z-Probe
M950 S0 C"io4.out" ; create servo pin 0 for BLTouch
M558 P9 C"^io4.in" H3 F300 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X-43 Y0 Z2.42 ; set Z probe trigger value, offset and trigger height (0.6 nozzle Z=2.49 0.4 noz Z=x.xx)
M557 X10:250 Y15:235 S20 ; define mesh grid
; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 A156.5 C994.7 D0.2 S1.0 V23.8 B1
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"temp1" Y"thermistor" T100000 B4680 C6.455513e-8 ; configure sensor 1 as thermistor on pin temp1 [Slice 300C Thermistor]
M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S300 ; set temperature limit for heater 1 to 300C
; Fans
M950 F0 C"out7" Q10 ; create fan 0 on pin out7 and set its frequency [Part Cooling Fan]
M106 P0 C"Part Cooling" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
M950 F1 C"out8" Q10 ; create fan 2 on pin out8 and set its frequency [Exhaust Fan]
M106 P1 C"Exhaust" S0 H-1 ; set fan 2 name and value. Thermostatic control is turned off
M950 F3 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency [Heat Break Fan]
M106 P3 T50 C"Heat Brake" S1 H1 ; set fan 0 name and value. Thermostatic control is turned off
; Tools
M563 P0 S"Mosquito Hot End" 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