; Default config.g template for DuetPi ; Replace this with a proper configuration file (e.g from https://configtool.reprapfirmware.org) ; Display initial welcome message ; M291 P"Please go to this page for further instructions on how to set it up." R"Welcome to your new Duet 3!" S1 T0 G4 S2 ; Wait for expansion boards to start ; Setup X axis motor M569.1 P70.0 T3 ; Assign magnetic encoder M569 P70.0 D4 S1 ; Assign closed loop control and forward movement M584 X70.0 ; Set motor to X axis control M906 X1000 ; Set current limit ; Setup Y axis motor M569.1 P71.0 T3 ; Assign magnetic encoder M569 P71.0 D4 S1 ; Assign closed loop control and forward movement M584 Y71.0 ; Set motor to Y axis control M906 Y1000 ; Set current limit ; Setup V axis motor M569.1 P74.0 T3 ; Assign magnetic encoder M569 P74.0 D4 S1 ; Assign closed loop control and forward movement M584 V74.0 ; Set motor to X axis control M906 V1000 ; Set current limit M17 ; Allow motors to move