Back to defaults with small changes

This commit is contained in:
pedro 2021-05-24 17:41:44 +02:00
parent 48926ddfcd
commit a17a6bf707
17 changed files with 115 additions and 201 deletions

8
bed.g
View File

@ -1,7 +1,3 @@
; bed.g
; called to perform automatic bed compensation via G32
; this script compensates for what the Z offset is
; so if G31 P500 X-30 Y-15 Z1.7 then first probe will be at
; X30 Y20 (when G30 P0 X0 Y5)
@ -9,7 +5,7 @@
M561 ; clear any bed transform
G30 P0 X5 Y5 Z-99999 ; probe near a leadscrew
G30 P1 X150 Y485 Z-99999 ; probe near a leadscrew
G30 P2 X470 Y5 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
G30 P1 X150 Y285 Z-99999 ; probe near a leadscrew
G30 P2 X270 Y5 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
G29 ; probe the bed and enable compensation

130
config.g
View File

@ -1,77 +1,91 @@
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"duet3" ; set printer name
M669 K1 ; select CoreXY mode
G29 S1 ; Set Units to Millimeters
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"duet3" ; set printer name
M669 K1 ; CoreXY
G29 S1 ; Set Units to Millimeters
; Network
;;M552 P0.0.0.0 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 S1 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.0 goes forwards
M569 P0.2 S1 ; physical drive 0.0 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M569 P0.4 S1 ; physical drive 0.4 goes forwards
M569 P0.5 S1 ; physical drive 0.5 goes forwards
M584 X0.3 Y0.4 Z0.0 Z0.1 Z0.2 E0.5 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X160.00 Y160.00 Z1600.00 E420.00 ; set steps per mm
M566 X400.00 Y400.00 Z6.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X10800.00 Y10800.00 Z1000.00 E3600.00 ; set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z100.00 E3600.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
M569 P0.0 S1 D3 ; physical drive 0.0 goes forwards
M569 P0.1 S1 D3 ; physical drive 0.1 goes forwards
M569 P0.2 S1 D3 ; physical drive 0.2 goes forwards
M569 P0.3 S1 D3 ; physical drive 0.3 goes forwards
M569 P0.4 S1 D3 ; physical drive 0.4 goes forwards
M569 P0.5 S1 D3 ; physical drive 0.5 goes forwards
M584 X0.4 Y0.3 Z0.0:0.1:0.2 E0.5 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X160.00 Y160.00 Z1600.00 ; set steps per mm
M906 X1000 Y1000 Z800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
M566 X400.00 Y400.00 Z6.00 E120.00 P1 ; set maximum instantaneous speed changes (mm/min)
M203 X10800.00 Y10800.00 Z1000.00 E3600.00 ; set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z100.00 E3600.00 ; set accelerations (mm/s^2)
; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X500 Y500 Z500 S0 ; set axis maxima
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X510 Y500 Z500 S0 ; set axis maxima
; Endstops
M574 X2 S1 P"!io1.in" ; configure active-high endstop for high end on X via pin !io1.in
M574 Y2 S1 P"!io2.in" ; configure active-high endstop for high end on Y via pin !io2.in
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
M574 X1 S1 P"io2.in" ; configure active high endstops
M574 Y2 S1 P"io1.in" ; configure active high endstops
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
; Z-Probe
M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
M558 P9 C"io7.in" H5 F400 T5000 ; set Z probe type to bltouch and the dive height + speeds
G31 P25 X-28 Y-13 Z0.9 ; set Z probe trigger value, offset and trigger height
M671 X-4.5:250:504.5 Y-4.52:505:-4.52 S5 ; define positions of Z leadscrews or bed levelling screws
M557 X15:500 Y15:500 S100 ; define mesh grid
M671 X-4.5:250:504.5 Y-4.52:505:-4.52 S5 ; define positions of Z leadscrews or bed levelling screws
M557 X30:500 Y15:500 P5 ; define 5x5 mesh grid
; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S95 ; set temperature limit for heater 0 to 95C
M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C
M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed" ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out1" T0 ; create bed heater output on out5 and map it to sensor 0
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S110 ; set temperature limit for heater 0 to 110C
;; Run Bed PID Tune!! Bellow is an example for a 300x300 bed
;; M307 H0 A303.1 C356.7 D1.4 S1.00 V24.0 B0
; Fans
M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency
M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out5" Q500 ; create fan 1 on pin out5 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F0 C"out7" Q500 ; create fan 0 on pin out3 and set its frequency
M106 P0 C"Hotend Fan" S0 H1 T45 L255 ; set fan 0 name and value. Thermostatic control turned on for Hotend
M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency
M106 P1 C"Layer Fan" S0 H-1 L255 ; set fan 1 name and value. Thermostatic control is turned off
; Tools
M563 P0 S"Extruder0" D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
M563 P0 D0 H1 F1 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
; Custom settings are not defined
M950 H1 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S250 ; set the maximum temperature in C for heater
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue
M501 ; load saved parameters from non-volatile memory
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
; EVA 2 / BMG / E3D V6
M404 N1.75 D0.4 ; Filament width and nozzle diameter
M92 E830 ; set extruder steps per mm, 0.9 angle/step (LDO Pancake)
M906 E800 ; set extruder motor current (mA) and idle factor in per cent
M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.060000e-8 A"Hotend"
;; Run Heater PID Tune!!
;; M307 H1 A751.5 C196.6 D4.7 S1.00 V23.9 B0
; Z-Probe
;; Inductive Probe
; M558 P5 C"!io3.in" H5 F400 T5000 ; set Z probe type to unmodulated and the dive height + speeds
; G31 P500 X-30 Y-15 Z0.20 ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed
;; BLTouch
M950 S0 C"io7.out" ; Create a servo pin on io2
M558 P9 C"io7.in" H5 F500 T10800 A5 ; set Z probe type to unmodulated and the dive height + speeds
G31 P25 X-28.00 Y-13.00 Z0.90 ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed
M404 N1.75 D0.4 ; Filament width and nozzle diameter
T0
; Pressure Advance
; M572 D0 S0.10

View File

@ -1 +0,0 @@
{"board":"duet3","expansion_boards":[],"firmware":3,"standalone":false,"nvram":true,"auto_save":{"enabled":true,"save_threshold":10,"resume_threshold":11,"gcodes_to_run":"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"},"display":{"type":0,"encoder_steps":4,"spi_frequency":2000000,"menus":[{"name":"main","value":""}],"images":[]},"panelDue":true,"geometry":{"type":"corexy","mins":[0,0,0],"maxes":[500,500,500],"delta_radius":105.6,"homed_height":250,"low_dive_height":false,"max_carriage_travel":260,"print_radius":85,"rod_length":215,"z_min":0},"drives":[{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":160,"instant_dv":15,"max_speed":100,"acceleration":500,"current":1000,"driver":0,"driver_v3":"0.3","endstop_pin":"!io1.in","endstop_type":1,"endstop_location":2},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":160,"instant_dv":15,"max_speed":100,"acceleration":500,"current":1000,"driver":1,"driver_v3":"0.4","endstop_pin":"!io2.in","endstop_type":1,"endstop_location":2},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":1600,"instant_dv":1,"max_speed":3,"acceleration":20,"current":1000,"driver":2,"driver_v3":"0.0","endstop_pin":null,"endstop":null,"endstop_type":3,"endstop_location":1},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":420,"instant_dv":2,"max_speed":20,"acceleration":250,"current":800,"driver":3,"driver_v3":"0.5"}],"idle":{"used":true,"factor":40,"timeout":30},"homing_speed_fast":30,"homing_speed_slow":6,"travel_speed":100,"z_dive_height":5,"slow_homing":false,"probe":{"type":"bltouch","recovery_time":0.4,"trigger_height":2.5,"trigger_value":500,"x_offset":-28,"y_offset":-13,"speed":0.9,"deploy":true,"points":[],"pwm_channel":3,"pwm_inverted":true,"pwm_pin":"io7.out","input_pin":"io7.in","modulation_pin":null},"bed_is_nozzle":false,"bed":{"present":true,"use_pid":true,"heater":0},"chamber":{"present":false,"use_pid":false,"heater":2},"heaters":[{"temp_limit":95,"scale_factor":100,"series":2200,"thermistor":100000,"beta":4138,"a":0.0005717725,"b":0.0002416626,"c":0,"channel":0,"sensor":0,"output_pin":"out0","sensor_type":"thermistor","sensor_pin":"temp0"},{"temp_limit":280,"scale_factor":100,"series":2200,"thermistor":100000,"beta":4138,"a":0.0005717725,"b":0.0002416626,"c":0,"channel":1,"sensor":1,"output_pin":"out1","sensor_type":"thermistor","sensor_pin":"temp1"}],"num_nozzles":1,"toolchange_wait_for_temperatures":true,"generate_t_code":false,"tools":[{"mix_ratio":[],"number":0,"name":"Extruder0","extruders":[0],"heaters":[1],"fans":[0],"x_offset":0,"y_offset":0,"z_offset":0}],"compensation_x_offset":15,"compensation_y_offset":15,"peripheral_points":3,"halfway_points":3,"calibration_factors":6,"probe_radius":85,"mesh":{"x_min":15,"x_max":500,"y_min":15,"y_max":500,"radius":85,"spacing":100},"home_first":false,"orthogonal":{"compensation":false,"height":50,"deviations":[0,0,0]},"network":{"enabled":true,"mac_address":"","name":"My Printer","password":"","ssid":"","ssid_password":"","dhcp":true,"ip":"192.168.1.20","netmask":"255.255.255.0","gateway":"192.168.1.254","protocols":{"http":true,"ftp":false,"telnet":false}},"fans":[{"name":"","value":100,"inverted":false,"frequency":500,"thermostatic":false,"heaters":[],"trigger_temperature":45,"output_pin":"out4"},{"name":"","value":100,"inverted":false,"frequency":500,"thermostatic":true,"heaters":[1],"trigger_temperature":45,"output_pin":"out5"}],"custom_settings":""}

20
connections.txt Normal file
View File

@ -0,0 +1,20 @@
io_0 - display
io_1 - y endstop
io_2 - x endstop
io_7 - bltouch
z left - driver0
z rear - driver1
z right - driver2
right motor - driver3
left motor - driver4
extruder motor - driver5
out1 - SSR
out2 - filament heater
temp0 - bed
temp1 - filament heater thermistor
out7 - hotend fan
out4 - layer fan

View File

@ -1,6 +1,4 @@
; deployprobe.g
; called to deploy a physical Z probe
; Called to deploy a physical Z probe
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
M280 P0 S10 ; deploy BLTouch
M280 P0 S10 ; Deploy the BLTouch pin

View File

@ -1,45 +1,23 @@
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
;G91 ; relative positioning
;G1 H2 Z5 F6000 ; lift Z relative to current position
;G1 H1 X505 Y505 F1800 ; move quickly to X or Y endstop and stop there (first pass)
;G1 H1 X505 ; home X axis
;G1 H1 Y505 ; home Y axis
;G1 X-5 Y-5 F6000 ; go back a few mm
;G1 H1 X505 F360 ; move slowly to X axis endstop once more (second pass)
;G1 H1 Y505 ; then move slowly to Y axis endstop
;G90 ; absolute positioning
;G1 X43 Y28 F6000 ; go to first bed probe point and home Z
;G30 ; home Z by probing the bed
;
;; Uncomment the following lines to lift Z after probing
;;G91 ; relative positioning
;;G1 Z5 F100 ; lift Z relative to current position
;;G90 ; absolute positioning
;-------------------
; BLTouch
M280 P0 S160 ; Precautionary alarm release
M280 P0 S90 ; Ensure the pin is raised
M280 P0 S160 ; Precautionary alarm release
M280 P0 S90 ; Ensure the pin is raised
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-625 Y605 F3600 ; move quickly to X and U axis endstops and stop there (first pass)
G1 H1 X-625 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
G1 H1 Y605 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
G1 H2 X5 Y-5 F6000 ; go back a few mm
G1 H1 X-625 Y605 F360 ; move slowly to X and U axis endstops once more (second pass)
G1 H1 X-625 F360 ; move slowly to X and U axis endstops once more (second pass)
G1 H1 Y605 F360 ; move slowly to X and U axis endstops once more (second pass)
G1 H1 X-625 Y605 F3600 ; move quickly to X and U axis endstops and stop there (first pass)
G1 H1 X-625 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
G1 H1 Y605 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
G1 H2 X5 Y-5 F6000 ; go back a few mm
G1 H1 X-625 Y605 F360 ; move slowly to X and U axis endstops once more (second pass)
G1 H1 X-625 F360 ; move slowly to X and U axis endstops once more (second pass)
G1 H1 Y605 F360 ; move slowly to X and U axis endstops once more (second pass)
G90 ; absolute positioning
G1 X150 Y150 F10000 ; go to first probe point
G1 X150 Y150 F10000 ; go to first probe point
G30 ; home Z by probing the bed
G91 ; relative positioning
G1 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioning
G91 ; relative positioning
G1 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioning
G1 X0 Y0 F10000

13
homex.g
View File

@ -1,16 +1,3 @@
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
;G91 ; relative positioning
;G1 H2 Z5 F6000 ; lift Z relative to current position
;G1 H1 X505 F1800 ; move quickly to X axis endstop and stop there (first pass)
;G1 X-5 F6000 ; go back a few mm
;G1 H1 X505 F360 ; move slowly to X axis endstop once more (second pass)
;G1 H2 Z-5 F6000 ; lower Z again
;G90 ; absolute positioning
;---------------
G91 ; relative positioning
;G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-625 F1800 ; move quickly to X axis endstop and stop there (first pass)

13
homey.g
View File

@ -1,16 +1,3 @@
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
;;G91 ; relative positioning
;;G1 H2 Z5 F6000 ; lift Z relative to current position
;;G1 H1 Y505 F1800 ; move quickly to Y axis endstop and stop there (first pass)
;;G1 Y-5 F6000 ; go back a few mm
;;G1 H1 Y505 F360 ; move slowly to Y axis endstop once more (second pass)
;;G1 H2 Z-5 F6000 ; lower Z again
;;G90 ; absolute positioning
;---------------
G91 ; relative positioning
;G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y605 F1800 ; move quickly to Y axis endstop and stop there (first pass)

24
homez.g
View File

@ -1,20 +1,3 @@
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
;;G91 ; relative positioning
;;G1 H2 Z5 F6000 ; lift Z relative to current position
;;G90 ; absolute positioning
;;G1 X43 Y28 F6000 ; go to first probe point
;;G30 ; home Z by probing the bed
;;
;;; Uncomment the following lines to lift Z after probing
;;;G91 ; relative positioning
;;;G1 Z5 F100 ; lift Z relative to current position
;;;G90 ; absolute positioning
;---------
; BLTouch
M280 P0 S160 ; Precautionary alarm release
M280 P0 S90 ; Ensure the pin is raised
@ -26,6 +9,7 @@ G1 X150 Y150 F10000 ; go to first probe point
G30 ; home Z by probing the bed
; Uncomment the following lines to lift Z after probing
G91 ; relative positioning
G1 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioning
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning

11
pause.g
View File

@ -1,11 +0,0 @@
; pause.g
; called when a print from SD card is paused
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
M83 ; relative extruder moves
G1 E-10 F3600 ; retract 10mm of filament
G91 ; relative positioning
G1 Z5 F360 ; lift Z by 5mm
G90 ; absolute positioning
G1 X0 Y0 F6000 ; go to X=0 Y=0

View File

@ -1,9 +0,0 @@
; resume.g
; called before a print from SD card is resumed
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
G1 R1 X0 Y0 Z5 F6000 ; go to 5mm above position of the last print move
G1 R1 X0 Y0 ; go back to the last print move
M83 ; relative extruder moves
G1 E10 F3600 ; extrude 10mm of filament

View File

@ -1,6 +1,4 @@
; retractprobe.g
; called to retract a physical Z probe
; Called to retract a physical Z probe
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
M280 P0 S90 ; retract BLTouch
M280 P0 S90 ; Retract the BLTouch pin

View File

@ -1,5 +0,0 @@
; sleep.g
; called when M1 (Sleep) is being processed
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)

5
stop.g
View File

@ -1,5 +0,0 @@
; stop.g
; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled)
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)

View File

@ -1,5 +0,0 @@
; tfree0.g
; called when tool 0 is freed
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)

View File

@ -1,7 +0,0 @@
; tpost0.g
; called after tool 0 has been selected
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)
; Wait for set temperatures to be reached
M116 P0

View File

@ -1,5 +0,0 @@
; tpre0.g
; called before tool 0 is selected
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon May 24 2021 13:04:21 GMT+0200 (Central European Summer Time)