; Configuration file for factory testing Duet Ethernet and Wifi with V2.01 firmware ******************************************************************************************************************* FOR TESTING ONLY! USE https://configurator.reprapfirmware.org/ to generate configuration files for your printer! ******************************************************************************************************************* ; Communication and general M111 S0 ; Debug off M550 WKW_belt_V1 ; Machine name and Netbios name (can be anything you like) M551 Preprap ; Machine password (used for FTP) *** Ethernet networking: The following lines are used for factory testing - PLEASE REMOVE THEM M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address M552 P192.168.1.14 ; IP address M554 P192.168.1.255 ; Gateway M553 P255.255.255.0 ; Netmask M575 P1 B57600 S1 ; ;*** End of factory test lines to be removed ;*** Networking M552 S1 ; Turn network on M555 P2 ; Set output to look like Marlin G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Disable Fan 1 thermostatic mode M106 P1 H-1 ; * Motor remapping for dual Y M584 X0 Y1:4 Z2 E3 ; Axis and motor configuration M569 P0 S1 ; Drive 0 goes forwards M569 P1 S1 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high) ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration ;Delta not used ;M665 R105.6 L215.0 B85 H250 ; set delta radius, diagonal rod length, printable radius and homed height ;M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them M350 X16 Y16:16 Z16 E16 I1 ; Set 16x microstepping with interpolation M92 X100 Y88.889 Z314.74 ; Set axis steps/mm M906 X600 Y600 Z600 E600 I60 ; Set motor currents (mA) and increase idle current to 60% M201 X500 Y500 Z500 E500 ; Accelerations (mm/s^2) M203 X9000 Y9000 Z3000 E3600 ; Maximum speeds (mm/min) M566 X600 Y600 Z600 E20 ; Jerk Maximum instant speed changes mm/minute M208 X340 Y440 Z5000 ; set axis maxima and high homing switch positions (adjust to suit your machine) M208 X0 Y0 Z-0.5 S1 ; set axis minima and low homing switch positions (adjust to make X=0 and Y=0 the edges of the bed) ; Thermistors M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set first nozzle thermistor ADC correction M305 P2 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set 2nd nozzle thermistor ADC correction M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds ; Adjustments for dummy heaters on test rig M307 H0 A250 C430 D5.5 B1 M307 H1 A250 C140 D5.5 B0 M307 H2 A250 C140 D5.5 B0 ; Fans M106 P1 S-1 ; disable thermostatic mode for fan 1 ;Ben M302 P1 ; Allow cold extrusion ; Tool definitions M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ;*** If you have a single-nozzle build, comment the next 2 lines ;M563 P1 D1 H2 ; Define tool 1 ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures M92 E476.5:476.5 ; Set extruder steps per mm ; Z probe and compensation definition ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command. ;M558 P5 F100 T6000 X0 Y0 Z0 H3 ; Z probe is a Smart Effector and is not used for homing any axes R0.4 not used. Reduced F300 to 100 ;G31 P100 X0 Y0 Z-0.25 ; Set the zprobe height and threshold for Smart Effector ;*** If you are using axis compensation, put the figures in the following command ;M556 S78 X0 Y0 Z0 ; Axis compensation here M208 S1 Z-0.2 ; set minimum Z T0 ; select first hot end ; M117 Use https://configurator.reprapfirmware.org/ to set up your printer config