;***Display initial welcome message ;-M291: Display message and optionally wait for response \ https://duet3d.dozuki.com/Wiki/M291 ;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 ;***Network Settings Ethernet Version only ;-M552: Set IP address, enable/disable network interface \ https://duet3d.dozuki.com/Wiki/M552 if {network.interfaces[0].type = "ethernet"} M552 P192.168.1.25 S1 else M552 S1 ;***Serial Setup M575 P1 B57600 S1 ;***Name Controller M550 P"PnP" ; Set machine name ;***General preferences G90 ; absolute coordinates M83 ; relative extruder moves ;***Axis/Drives M569 P0 S0 T5:5:10:10 ; X M569 P1 S0 T5:5:10:10 ; Y M569 P2 S0 T5:5:10:10 ; RECEIVE MATERIAL M569 P3 S1 T5:5:10:10 ; NOZZLE 1 OR 2 M569 P4 S1 T5:5:10:10 ; ROTATE NOZZLE 2 M569 P5 S1 T5:5:10:10 ; ROTATE NOZZLE 1 M584 X0 R0 S0 ; X LIN M584 Y1 R0 S0 ; Y LIN M584 A2 R0 S0 ; RECEIVE MATERIAL M584 Z3 R1 S1 ; NOZZLE 1 OR 2 M584 C4 R1 S1 ; ROTATE NOZZLE 2 M584 D5 R1 S1 ; ROTATE NOZZLE 1 ;***Motor Settings M350 X16 Y16 C16 Z16 A16 B16 I1 ; Configure microstepping with interpolation M92 X40.00 Y40.00 C8.8880 Z8.8888 A8.8888 B8.8888 ; Set steps per mm 50mm/rev M566 X900.00 Y900.00 C900.00 Z100.0 A100.0 B100.0 ; Set maximum instantaneous speed changes (mm/min) M203 X126000.00 Y126000.00 C24000.00 Z24000.0 A24000.0 B24000.0 ; Set maximum speeds (mm/min) M201 X50000.00 Y50000.00 C500.00 Z5000.0 A5000.0 B5000.0 ; Set accelerations (mm/s^2) M906 X800 Y800 C600.00 Z500.0 A300.0 B300.0 I30 ; Set motor currents (mA) and motor idle factor in per cent M564 S0 H0 ; Sets homing, H0 allows mvmnt wo homing M84 S30 ; Set idle timeout ;***Axis Limits ;-M208: Set axis max travel \ https://duet3d.dozuki.com/Wiki/M208 ;-Parameters ;-Snnn 0 = set axis maximum (default), 1 = set axis minimum ;-Xnnn X axis limit ;-Ynnn Y axis limit ;-Znnn Z axis limit M208 X0 Y0 Z0 C-180 C-180 S1 ; Set axis minima M208 X415 Y500 Z10 C180 C180 S0 ; Set axis maxima ;***Endstops ;-M574: Set endstop configuration \ https://duet3d.dozuki.com/Wiki/M574 ;-Parameters ;-Xnnn Position of X endstop: 0 = none, 1 = low end, 2 = high end. ;-Ynnn Position of Y endstop: 0 = none, 1 = low end, 2 = high end. ;-Znnn Position of Z endstop: 0 = none, 1 = low end, 2 = high end. ;-E Select extruder endstops to define active high or low (RepRapFirmware 1.16 and earlier only) ;-Snnn Endstop type: 0 = active low endstop input, 1 = active high endstop input, 2 = Z probe, 3 = motor load detection M574 X1 S1 P"!io_1.in" ;X Opto X M574 Y1 S1 P"!io_2.in" ;Y Opto Y ;M574 Z1 S2 P"!io_3.in" ;X Opto Z1 ;M574 M1 S2 P"!io_4.in" ;Y Opto Z2 ;M574 W1 S2 P"!io_5.in" ;X Opto Lz ;***IO ;-M950: Create heater, fan, spindle or GPIO/servo pin \ https://duet3d.dozuki.com/Wiki/M950 ;-Parameters: ;-Hnn Heater number ;-Fnn Fan number ;-Jnn Input pin number (RRF 3.01RC2 and later only) ;-Pnn or Snn Output/servo pin number. Servo pins are just GpOut pins with a different default PWM frequency. ;-Rnn Spindle number (RRF 3.3beta2 and later only) ;-Dn (Duet 3 MB6HC running RRF 3.4 or later only) SD slot number (the only value supported is 1) ;-C"name" Pin name(s) and optional inversion status, see Pin Names. Pin name "nil" frees up the pin. A leading '!' character inverts the input or output. A leading '^' character enables the pullup resistor1. The '^' and '!' characters may be placed in either order. ;-Qnn (optional) PWM frequency in Hz. Valid range: 0-65535, default: 500 for GpOut pins, 250 for fans and heaters ;-T Temperature sensor number, required only when creating a heater. See M308. ;-Lbbbor Laaa:bbb RPM values that are achieved at zero PWM and at maximum RPM. (optional and for spindles only - RRF 3.3beta2 and later) ;***Inputs ;M950 J0 C"io3.in" ;Drag Pin Sensor ;***Outputs M950 P0 C"out0" ; Q500 ;#1 Nozzle Vacuum M950 P1 C"out1" ; Q500 ;#2 Nozzle Vacuum M950 P2 C"out2" ; Q500 ;Drag PIN Actuator M950 P3 C"out3" ; Q500 ;ENA Nozzle 1/2 Up M950 P4 C"out4" ; Q500 ;Xross cursor M950 P5 C"out5" ; Q500 ;LED light M950 P6 C"out6" ; Q500 ;Vacuum power M950 P7 C"out7" ; Q500 ;Xross cursor M950 P8 C"out8" ; Q500 ;LED light M950 E0 C"led" Q3000000 T1 M150 E0 R255 U255 B128 P5 S20 F0 ;***Analog Sensors for Nozzle pressure ;-Common Parameters ;-Sn Sensor number ;-P"pin_name" The name of the control board pin that this sensor uses. For thermistors it is the thermistor input pin name, see Pin Names. For sensors connected to the SPI bus it is the name of the output pin used as the chip select. ;-Y"sensor_type" The sensor and interface type, one of: "thermistor", "pt1000", "rtd-max31865", "thermocouple-max31855", "thermocouple-max31856", "linear-analog", "dht21", "dht22", "dhthumidity", "current-loop-pyro", "drivers", "mcu-temp" (see note below regarding "mcu-temp" support on Duet 3 Mini 5+). Duet WiFi/Ethernet with an attached DueX2 or DueX5 also support "drivers-duex". Firmware 3.2 and earlier also supports "dht11" but this support is likely to be removed in future firmware versions. ;-A"name" Sensor name (optional), displayed in the web interface ;M308 S0 P"temp0" Y"linear-analog" A"Pressure_1" F0 B0 C4095 ;M308 S1 P"temp1" Y"linear-analog" A"Pressure_2" F0 B0 C4095 ;***End of config.g