baby stepping issue duet3 mini 5 ( firm ware file updated today)
z height increases when negative baby step is grater than layer height , layer height 0.3mm
346c4479-122d-4a0f-9db2-b894041d6bb1-image.png
;Config.g
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"3030" ; set printer name name.local
M669 K1 ; core xy
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet
; Drives
M569 P0.0 S1 D2 ; physical drive 0 goes forwards
M569 P0.1 S1 D2 ; physical drive 1 goes forwards
M569 P0.2 S1 ; physical drive 2 goes forwards ( blown needs replacing)
M569 P0.3 S0 ; physical drive 3 extruder
M569 P0.4 S1 D2 ; physical drive 4 goes forwards D3=stealthchop
M569 P0.5 S0 D2 ; physical drive 5 goes backwards
M569 P0.6 S1 D2 ; physical drive 6 goes forwards
M584 X0.1 Y0.0 Z0.4:0.5:0.6 E0.3 ;; set drive mapping FL,FR,RC
M350 X16 Y16 I1 ; configure microstepping with interpolation
M350 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z320.00 E562.00 ; set steps per m
M566 X800.00 Y800.00 Z5.00 E400 P1 ; set maximum instantaneous speed changes (mm/min) jerk
M203 X24000.00 Y24000.00 Z1500.00 E1200 ; set maximum speeds (mm/min)
M201 E2000 ; set accelerations (mm/s^2)
M201.1 X2200.00 Y2200.00 Z20.00 ; set accelerations (mm/s2)
;Set Currents
M906 X1000 Y1000 Z1000 E750 I100 ; set motor currents (mA) and motor idle factor in per cent
M84 X Y S20 ; Set idle timeout sec
; Axis Limits
M208 S1 X0 Y0 Z0 ; set axis minima "Travel Area" set in tool.g
M208 S0 X320 Y320 Z320 ; set axis maxima "Travel area" set in tool.g
; Endstops
M574 X1 S3 ; configure sensorless endstop, 1 = low end, 2 = high end. s3 = single motor, S4 multipule motors
M574 Y2 S3 ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in
M574 Z2 S4 ; configure sensorless endstop for high end on Z, 1 = low end, 2 = high end.S3= single motor, S4 multipule motors
;ball joints 3PL
M671 X-10:320:155 Y-10:-10:320 S35 ;; leadscrews at front left,front right, rear Center s= max correction factor must be in same order as M584
; Z sensor
M558 P8 C"!io3.in" H15 F2000:300 T20000 R0 A10 S0.01 ;* set Z probe type to unmodulated and the dive height + speeds, !=inverted signal tool.g
;nozzel offset
G31 P500 Z0.0 ;* set Z probe trigger value, offset and trigger height bigger the posative number the closer to the bed set in Tool.g
G31 P500 X0 Y0 ;* set x,y trigger value, offset and trigger height set in tool.g
;Mesh
M557 X27:283 Y27:283 S256 ; define mesh grid
; Heaters + temperature sensors
;Bed
M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed T °C" ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"out2" T0 Q10 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 R0.838 K0.331:0.000 D3.08 E1.35 S0.90 B0 ; PDI info for 8mm aluminium bed 700w Heater NTC 100K 3950
M140 H0 ; map heated bed to heater 0
M143 H0 S130 ; set temperature limit for heater 0 to max C
;extruder
M308 S1 P"temp1" Y"pt1000" A"Extruder T °C" ; configure sensor 1 as PT1000
M950 H1 C"out1" T1 ; create nozzle heater output
M307 H1 R4.449 K0.705:0.000 D6.21 E1.35 S1.00 B0 V23.8 ; PDI
M570 H1 P10 T20 ;P = heater fault timer sec ,T= temperature excursion deg C
M143 H1 S360
; set temperature limit for heater 1 to max C
;Chamber
M308 S2 P"temp2" Y"thermistor" T100000 B4267 A"Chamber T °C" ; configure sensor 2 as thermistor on pin temp2
;M950 H2 C"out5" T2 ; create chamber heater output on 1.out0 and map it to sensor 2
M307 H2 B0 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit
M141 H2 ; map chamber to heater 2
M143 H2 S100 ; set temperature limit for heater 2 to 280C
;DHT Sensor on IO4 on Duet 3 Mini 5+
; drybox
M308 S4 P"io4.out+io4.in" Y"dht22" A"Drybox[C]"
M308 S5 P"S4.1" Y"dhthumidity" A"Dry box Hum[%]"
;Dry box fan or ssr
;M950 H3 C"out2" T2 ; create chamber heater output on duex.e2heat and map; it to sensor 3
;M307 H3 B1 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit
;M141 H3 ; map chamber to heater 3
;M143 H3 S80 ; set temperature limit for heater 3 to 280C
M308 S10 Y"mcu-temp" A"MCU" ; defines sensor 10 as MCU temperature sensor
M308 S11 Y"drivers" A"Duet stepper drivers" ; defines sensor 11 as stepper driver temperature sensor
; Fans
M950 F0 C"out6" Q250 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 C"Part Fan" ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out3" Q250 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T35 C"Extruder Fan" ; set fan 1 value. Thermostatic control is turned on
;Filter fan 12 v
M950 F2 C"out0" Q250 ; create fan on output, set its frequency
M106 P2 S0 H-1 C"Filter Fan" ; set fan value. Thermostatic control is turned on
;ROS
M591 P1 C"io6.in" S1 D0 ; filament monitor
;Tools
M563 P0 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
T0
; Custom settings
M98 P"/macros/home_max_Z"
M98 P"/sys/tool.g" ; sets z offset
echo"tool"
;External Buttons
M950 J1 C"!io2.in" ;config input pin switch NO connected to io2 and Gnd
M581 P1 T0 C0 ;T0 = emergency stop on trigger; T1 = pause print; T{N} = runs the macro "sys/trigger{N}.g", rising edge S1 falling edge S0
;M581 P1 T4 c0 ;run a macro trigger4.g
M582 T0 ; Check External Trigger
;Global varibles Drybox
global preSpoolWeight = 0
global emptySpoolWeight = 0
global totalWeight= 0
global filamentWeight =0
global dryBoxTC = 0
global dryBoxRH = 0
global calWeight =0
global instructions = "No Message"
global extruderName = "No extruder"
;send setup to console
global extruderName = "set up Bondtech + inductive sensor + mosqitoe 0.6mm noz"
;Set Extruder
M569 P0.3 S0 D2
;Set Currents
M906 E750
;Set Steps/mm
M92 E562
;Set Thermistor
M308 S1 P"temp1" Y"pt1000" A"Extruder T °C"
;Set PID
M307 H1 R4.449 K0.705:0.000 D6.21 E1.35 S1.00 B0 V23.8
;Pressure Advance
;M572 D0 S0.1
; Axis Limits
M208 S1 X-15 Y0 Z0
M208 S0 X310 Y312 Z320
;Z probe
;M558 P8 C"!io3.in" H10 F1000 T20000 R0 A10 S0.05 ; inductive set Z probe type to unmodulated and the dive height + speeds, !=inverted signal
M558 P8 C"io3.in" H6 F1500:300 T30000 R0 A14 S0.002
G31 P500 Z5.3
G31 P500 X3 Y-27
;M557 X10:310 Y10:310 S40 ; define mesh grid
;Tool offset
G10 P0 X0 Y0 Z0
;Load mesh bed leveling
;Stop writing to SD