This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
bdev:rrf_duet3d [2022/08/16 19:06] richard |
bdev:rrf_duet3d [2022/09/15 03:42] (current) richard |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
====== Duet3D labbot files ====== | ====== Duet3D labbot files ====== | ||
Line 4: | Line 5: | ||
- | {{: | + | {{: |
+ | |||
+ | |||
+ | {{: | ||
Line 37: | Line 41: | ||
- | < | ||
- | ; Configuration file for factory testing Duet Ethernet and Wifi with V2.03 firmware | ||
- | ******************************************************************************************************************* | + | https://docs.duet3d.com/User_manual/ |
- | FOR TESTING ONLY! USE https://configurator.reprapfirmware.org/ to generate configuration files for your printer! | + | |
- | ******************************************************************************************************************* | + | |
+ | < | ||
+ | ; Configuration file for Duet WiFi (firmware version 3.3)^M | ||
+ | ; executed by the firmware on start-up^M | ||
+ | ;^M | ||
+ | ; generated by RepRapFirmware Configuration Tool v3.3.12 on Tue Aug 16 2022 06:55:26 GMT-0700 (Pacific Daylight Time)^M | ||
+ | ^M | ||
+ | ; General preferences^M | ||
+ | G90 ; send absolute coordinates...^M | ||
+ | M83 ; ...but relative extruder moves^M | ||
+ | M550 P"My Printer" | ||
+ | M669 K1 ; select CoreXY mode^M | ||
+ | ^M | ||
+ | ; Network^M | ||
+ | M552 S1 ; enable network^M | ||
+ | M586 P0 S1 ; enable HTTP^M | ||
+ | M586 P1 S0 ; disable FTP^M | ||
+ | M586 P2 S0 ; disable Telnet^M | ||
+ | ^M | ||
+ | ; Drives^M | ||
+ | M569 P0 S1 ; physical drive 0 goes forwards^M | ||
+ | M569 P1 S1 ; physical drive 1 goes forwards^M | ||
+ | M569 P2 S1 ; physical drive 2 goes forwards^M | ||
+ | M569 P3 S1 ; physical drive 3 goes forwards^M | ||
+ | M584 X0 Y1 Z2 E3 ; set drive mapping^M | ||
+ | M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation^M | ||
+ | M92 X80.00 Y80.00 Z400.00 E420.00 | ||
+ | M566 X900.00 Y900.00 Z60.00 E120.00 | ||
+ | M203 X6000.00 Y6000.00 Z180.00 E1200.00 | ||
+ | M201 X500.00 Y500.00 Z20.00 E250.00 | ||
+ | M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent^M | ||
+ | M84 S30 ; Set idle timeout^M | ||
+ | ^M | ||
+ | ; Axis Limits^M | ||
+ | M208 X0 Y0 Z0 S1 ; set axis minima^M | ||
+ | M208 X300 Y280 Z200 S0 ; set axis maxima^M | ||
+ | ^M | ||
+ | ; Endstops^M | ||
+ | M574 X1 S1 P" | ||
+ | M574 Y1 S1 P" | ||
+ | M574 Z1 S1 P" | ||
+ | ^M | ||
+ | ; Z-Probe^M | ||
+ | M950 S0 C" | ||
+ | M558 P9 C" | ||
+ | G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height^M | ||
+ | M557 X15:215 Y15:195 S20 ; define mesh grid^M | ||
+ | ^M | ||
+ | ; Heaters^M | ||
+ | M308 S0 P" | ||
+ | M950 H0 C" | ||
+ | M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit^M | ||
+ | M140 H0 ; map heated bed to heater 0^M | ||
+ | M143 H0 S120 ; set temperature limit for heater 0 to 120C^M | ||
+ | M308 S1 P" | ||
+ | M950 H1 C" | ||
+ | M307 H1 B0 S1.00 ; disable bang-bang mode for heater | ||
+ | M143 H1 S280 ; set temperature limit for heater 1 to 280C^M | ||
+ | ^M | ||
+ | ; Fans^M | ||
+ | M950 F0 C" | ||
+ | M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off^M | ||
+ | M950 F1 C" | ||
+ | M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on^M | ||
+ | ^M | ||
+ | ; Tools^M | ||
+ | M563 P0 D0 H1 F0 ; define tool 0^M | ||
+ | G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets^M | ||
+ | G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C^M | ||
+ | ^M | ||
+ | ; Custom settings are not defined^M | ||
- | ; Communication and general | + | </ |
- | M111 S0 ; Debug off | + | |
- | M550 PDuetTest | + | |
- | M551 Preprap | + | |
- | *** Ethernet networking: The following lines are used for factory testing - PLEASE REMOVE THEM | + | To set up camera I did this ... https:// |
- | M540 P0xBE: | + | |
- | M552 P192.168.1.14 ; IP address | + | |
- | M554 P192.168.1.255 | + | |
- | M553 P255.255.255.0 | + | |
- | ;*** 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 | ||
- | ; 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 | + | |
- | 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 Z16 E16:16 I1 ; Set 16x microstepping with interpolation | + | |
- | M92 X80 Y80 Z80 ; Set axis steps/mm | + | |
- | M906 X1000 Y1000 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60% | + | |
- | M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2) | + | |
- | M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min) | + | |
- | M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute | + | |
- | ; 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 C140 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 | + | |
- | ; 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 E80: | ||
- | ; 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, | ||
- | M556 S78 X0 Y0 Z0 ; Axis compensation here | ||
- | M208 S1 Z-0.2 ; set minimum Z | + | {{: |
- | T0 ; select first hot end | ||
- | ; M117 Use https:// | ||
+ | {{: | ||
- | </ | ||
+ | {{: | ||