@Phaedrux thanks for the quick reply,
the only way i could access the duet was taking out the micro SD wiped the config files and did a fresh install of a new config file from the rep rap configurator.
I've tried to put in all of the settings i used before but for some reason now my endstops no longer work.
endstops are OB Xtension micro limit switches, NO, Z positioned high end, Y positioned high end, X positioned Low end.
i tried to copy and past into the post bot all lines were out of format, here's what i have now:
Config
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 17:47:03 GMT+0000 (Greenwich Mean Time)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Lead 1510" ; set printer name
; Network
M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet
; Drives
M569 P0.1 S0 ; physical drive 0.1 goes backwards
M569 P0.3 S0 ; physical drive 0.3 goes backwards
M569 P0.2 S0 ; physical drive 0.2 goes backwards
M569 P0.4 S0 ; physical drive 0.5 goes backwards
M584 X0.1 Y0.3:04 Z0.2 E0.5 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X401.69 Y401.57 Z400.76 E401.50 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E900.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min)
M201 X400.00 Y400.00 Z50.00 E400.00 ; set accelerations (mm/s^2)
M906 X1400 Y1400 Z1400 E1400 I30 ; 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 X730 Y1400 Z120 S0 ; set axis maxima
; Endstops
M574 X1 S1 P"!io1.in" ; configure active-high endstop for low end on X via pin !io1.in
M574 Y2 S1 P"!io2.in" ; configure active-high endstop for high end on Y via pin !io2.in
M574 Z2 S1 P"!io5.in" ; configure active-high endstop for high end on Z via pin !io5.in
; Z-Probe
M558 P5 C"^io7.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds
G31 P1000 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid
; Heaters
; Fans
M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency
M106 P0 S0 H T30 ; set fan 0 value. Thermostatic control is turned on
; Tools
M563 P1 S"Router" D0 F0 ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
; Custom settings are not defined
; Miscellaneous
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
T1 ; select first tool
Homing
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 17:47:03 GMT+0000 (Greenwich Mean Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-735 Y1405 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y-5 F6000 ; go back a few mm
G1 H1 X-735 Y1405 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 H1 Z125 F360 ; move Z up stopping at the endstop
G90 ; absolute positioning
G92 Z120 ; set Z position to axis maximum (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
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 17:47:03 GMT+0000 (Greenwich Mean Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-735 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-735 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 17:47:03 GMT+0000 (Greenwich Mean Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y1405 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 H2 Y-5 F6000 ; go back a few mm
G1 H1 Y1405 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 17:47:03 GMT+0000 (Greenwich Mean Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Z125 F1800 ; move Z up until the endstop is triggered
G92 Z120 ; set Z position to axis maximum (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
M122 returns nothing
3/15/2021, 9:06:24 PM M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: in file macro line 49 column 13: M106: expected number after 'H'
Tool 1 offsets: X0.00 Y0.00 Z0.00