Thanks @fcwilt.
the idea of having mechanical motion on power up doesn't seem like a good idea
I see your point, but I'd argue that systems that start upon powering up are ubiquitous (a simple room fan starts blowing whenever you turn it on).
Thanks @phaedrux.
Can you try adding a delay in your config.g of a few seconds with G4 S4 right before your job is called and move the job call to the end of the file and see if it makes a difference.
Ah yes, good point. A main difference between running from config and from DWC is the time the board is ON since startup, I should have thought of that. It is now working as expected, I will keep this 4 seconds delay then. The board must go through some initializations at startup I assume.
Could you share your config.g?
Sure, nothing fancy here though I believe.
Thanks a lot for your prompt help
; Configuration file for Duet 3 Mini 5+ (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.0 on Tue Aug 03 2021 20:00:32 GMT-0400 (Eastern Daylight Time)
; General preferences
G91 ; send absolute coordinates...
M550 P"Tests_v0" ; set printer name
; Network
M552 P169.254.163.66 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.0 S0 ; physical drive 0.0 goes forwards
M569 P0.1 S0 ; physical drive 0.1 goes forwards
M569 P0.2 S0 ; physical drive 0.2 goes forwards
M569 P0.3 S0 ; physical drive 0.3 goes forwards
M569 P0.4 S1 ; physical drive 0.4 goes forwards
M584 X0.0 Y0.1 Z0.2 U0.3 V0.4 ; set drive mapping
M350 X16 Y16 Z16 U16 V16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z80.00 U80.00 V80.00 ; set steps per mm
M566 X90000.00 Y90000.00 Z90000.00 U90000.00 V90000.00 ; set maximum instantaneous speed changes (mm/min)
M203 X60000.00 Y60000.00 Z60000.00 U60000.00 V60000.00 ; set maximum speeds (mm/min)
M201 X5000.00 Y5000.00 Z5000.00 U5000.00 V5000.00 ; set accelerations (mm/s^2)
M906 X600 Y600 Z600 U600 V600 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X0 Y0 Z0 U0 V0 S1 ; set axis minima
M208 X999999 Y999999 Z999999 U999999 V999999 S0 ; set axis maxima
; Endstops
; WARNING: No endstops configured
; Heaters
M140 H-1 ; disable heated bed (overrides default heater mapping)
; Fans
; Tools
; Custom settings are not defined
M564 S0 H0
M220 S0
;M669 K0 X1:0:0:0:0 Y0:1:0:0:0 Z0:0:1:0:0 U0:0:0:1:0 V0:0:0:0:1
G4 S4
M32 duet_test.gcode