Ah yep so I got rid of the M911 line from the config and that's fixed it. The error must have been stopping the Duet from reading the rest of the config file. Thanks heaps for the help.
Latest posts made by JoshL
-
RE: Maestro config not being executed on startup
-
RE: Maestro config not being executed on startup
I get these two errors:
Error: M911: No power fail script provided
Error: G0/G1: insufficient axes homed -
RE: Maestro config not being executed on startup
Yeah it is in the sys folder
-
Maestro config not being executed on startup
Hi everyone,
I recently have been converting my CR-10 to use a Duet 2 Maestro and have never used a Duet before. I have followed all the getting started/getting connected guides including going through RepRap firmware configuration tool to generate a config file. I have no issues connecting to the Duet through the web interface and from the web interface I can access and edit all SD Card files including the config file. However as far as I can tell the Duet isn't executing the config at all on startup. Firstly, the config includes the uncommented line:
M552 P0.0.0.0 S1
To my understanding this line tells the Duet to turn networking on upon startup and receive an IP address through DHCP. However every time I start the Duet networking is turned off by default and I have to send this command manually. Also none of the Machine Properties in the web interface actually reflect the config file which again leads me to believe that it's not being executed.
The Duet is running firmware version 2.02RC5 and web interface version 1.22.6.
Here is a screenshot of the Machine Properties:
Here is the config file in full:
; Configuration file for Duet Maestro (firmware version 2.xx)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.0.0 on Wed Sep 04 2019 16:34:53 GMT+1000 (Australian Eastern Standard Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Workhorse MkI" ; set printer name
M911 S21 R23 P'M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000' ; set voltage thresholds and actions to run on power loss; 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 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 Z16 I0 ; configure microstepping without interpolation
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E816.00 ; set steps per mm
M566 X600.00 Y600.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
M203 X10200.00 Y10200.00 Z600.00 E1500.00 ; set maximum speeds (mm/min)
M201 X2000.00 Y2000.00 Z20.00 E1000.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E1000 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 X305 Y235 Z205 S0 ; set axis maxima; Endstops
M574 X1 Y1 Z1 S1 ; set active high endstops
M574 Z1 S3 ; set endstops controlled by motor stall detection; Z-Probe
M574 Z1 S2 ; set endstops controlled by probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X48:257 Y30:205 S175 ; define mesh grid; Heaters
M305 P0 T98801 B4185 R2200 ; set thermistor + ADC parameters for heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M305 P1 T100000 B4725 C7.060000e-8 R2200 ; set thermistor + ADC parameters for heater 1
M143 H1 S285 ; set temperature limit for heater 1 to 285C; 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; Tools
M563 P0 S"Hotend" 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; 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; Custom settings are not defined
; Miscellaneous
M501 ; load saved parameters from non-volatile memory
T0 ; select first tool