Duet3 config.g help.
I believe I have everything wired correctly so I think my problems must be in my config.g. So far steppers are moving correctly, heaters are heating, and thermistors are reading but I haven't been able to get my extruder fan to run or my piezo to show that it is triggering. If someone is willing to look over my config.g I would appreciate it.```
; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Mon Feb 12 2018 16:20:07 GMT-0500 (EST) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Network M550 P"RyBot" ; Set machine name M552 S1 ; Enable network M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M584 X0 Y1 Z2 E3 ; Map Drives to Axis M669 K1 ; Select CoreXY mode M564 H0 ; Allow axis movement prior to homing M569 P0 S1 V118 ; Drive 0 goes forwards, Stealthchop2 till about 78 mm/sec M569 P1 S1 V118 ; Drive 1 goes forwards, Stealthchop2 till about 78 mm/sec M569 P2 S1 V118 ; Drive 2 goes forwards, Stealthchop2 till about 78 mm/sec M569 P3 S0 V118 ; Drive 3 goes backwards, Stealthchop2 till about 78 mm/sec M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X100 Y100 Z800 E784 ; Set steps per mm M566 X60 Y60 Z24 E1200 ; Set maximum jerk (mm/min) M203 X12000 Y12000 Z1500 E3600 ; Set maximum speeds (mm/min) M201 X900 Y900 Z300 E1000 I1 ; Set accelerations (mm/s^2) M906 X1000 Y1000 Z1000 E700 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Tool M563 P0 D0 H1 F0 S"Extruder" ; 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 ; Fans M950 F0 C"out7" M106 P0 S1 H1 T45 C"Extruder" ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Heaters M308 S0 P"temp0" Y"thermistor" T100000 B3950 C0 R4700 M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 M950 H0 C"out0" T0 ; heater 0 uses the bed_heat pin, sensor 0 M950 H1 C"out1" T1 ; heater 1 uses the e1_heat pin and sensor 1 ; Pressure Advance M572 D0 S0.074 ; Axis Limits M208 X0 Y0 Z0 S1 ; Set axis minima M208 X300 Y300 Z300 S0 ; Set axis maxima ; Endstops M915 X Y S3 R0 ; Set Stall detection sensitivity M574 X1 S3 ; Set X endstop controlled by motor load detection M574 Y1 S3 ; Set Y endstop controlled by motor load detection M574 Z1 S2 ; Set Z endstop controlled by piezo M558 C"io8.in" P1 I1 R1 A5 F333 T5000 ; Set Z probe type to analog, active low, maximum attempts, pause, plunge speed, and movement speed G31 X0 Y0 Z-0.6 P600 ; Set Z probe offset, trigger height and trigger threshold M557 X50:250 Y50:250 S50 ; Define mesh grid
gtj0 last edited by
Try removing the
S1from the M106 command.
The probe type should be
G31seems a little large for a piezo setup. That will put the nozzle 0.6mm above the bed when Z=0.
Here's my setup:
; Z-Probe Precision Piezo Orion M574 Z1 S2 ; Probe Probe Dive Travel Probe ; Pin Type Invert Settle Speed Height Speed Attempts Tolerance M558 C"io8.in" P5 I1 R0.5 F300 H5.0 T10000 A4 S0.05 ; Trigger Trigger ; Value Offset Height G31 P300 X0 Y0 Z-0.10
@gtj0 I tried removing the S1 modifier and the fan still doesn't show up in DWC or kick on at temp.
My piezo is mounted unconventionally inside the spacer between my stepper and Titan Aero so it took a bit more force to trigger. That's why I had to use a larger offset. I had more luck in analog mode vs digital. It was working fine on the Duet wifi with RRF 2. Does analog mode no longer work in RRF 3? The Z probe reads in the 400s as it is but doesn't change when I tap it even though the LEDs on the Universal piezo board do trigger. If I were to try digital again I think maybe I have to use different pins on the piezo board. I don't remember.
M558 C"io8.in" P1 I1 R1 A5 F333 T5000 ; Set Z probe type to analog, active low, maximum attempts, pause, plunge speed, and movement speed
Pin io8.in is not capable of analog input. See https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Hardware_Overview#Section_IO. Change the M558 mode to P5 to use digital input, or select an analog-capable pin.
M106 P0 S1 H1 T45 C"Extruder" ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
That line refers to sensor 1, which hasn't been configured yet. Try moving it to be later than the M308 S1 line.
@dc42 Thanks so much, David. I will give those a try tonight.
Yes! Everything is working except the fan doesn't show up in DWC. Still working correctly though. Now I gotta add a couple more fans, clean up my wiring and this config. Thanks, guys!
Thermostatically-controlled fans don't show up in DWC because they are controlled automatically.
@Phaedrux You could use a 4-pin PWM fan and use the tacho output to display the fan RPM on demand.
gtj0 last edited by
@chrishamm Not many folks have 4-wire fans on their hot ends.