@Phaedrux done
Posts made by pma_
-
Artillery Genius end stops unreliable
I installed Duet 2 WiFi in Genius and I have a problem with original endstops.
Sometimes they works sometime not and motors are grinding belt.
Any one have any idea?For now I'm using stall detection but I want to use original Z end stop instead of BLTouch and this is more dangerous to printer.
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Tue Aug 11 2020 22:01:44 GMT+0200 (czas środkowoeuropejski letni) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Genius" ; set printer name ;M918 P1 E4 F2000000 ; configure direct-connect display ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S1 ; physical drive 1 goes backwards M569 P2 S0 ; physical drive 2 goes forwards M569 P3 S0 ; physical drive 3 goes backwards M569 P4 S0 ; physical drive 4 goes backwards M584 X0 Y1 Z2:4 E3 ; set drive mapping M350 X32 Y32 Z16:16 E16 I1 ; configure microstepping with interpolation M92 X158.86 Y159.26 Z1600.00:1600.0 E445.0 ; set steps per mm M566 X2000.00 Y1800.00 Z24.00 E240.00 ; set maximum instantaneous speed changes (mm/min) M203 X10000.00 Y10000.00 Z180.00 E220.00 ; set maximum speeds (mm/min) ;M203 X200.00 Y200.00 Z20.00 E40.00 ; guide mm/s M201 X500.00 Y400.00 Z100.00 E100.00 ; set accelerations (mm/s^2) M204 P1000.00 T2000.00 ; from guide mm/s^2 M906 X1000 Y1200 Z1200:1200 E980 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; dual Z M671 X-25:255 Y110:110 S2 ; Z axis distance 280 ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X228 Y231 Z255 S0 ; set axis maxima ; Endstops M574 X1 S3 ;P"!xstop" ; configure sensorless endstop for low end on X M915 P0 S2 ; sensorless sensitivity S param M574 Y1 S3 ; P"!ystop" M915 P1 S2 ; sensorless sensitivity S param ;M574 Z1 S1 P"!zstop" ; configure active-high endstop for low end on Z via pin zstop M591 D0 P1 C"^e0stop" S1 ; filament runout sensor ; Z-Probe ;M574 Z1 S2 ; set endstops controlled by probe ;M558 P9 H5 F100 T6000 ; set Z probe type to bltouch and the dive height + speeds ;M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X30:225 Y5:190 S19 ; define mesh grid M558 P9 C"^zprobe.in" H5 F120 T3000 ; BLTouch connected to Z probe IN pin M950 S0 C"exp.heater3" ; create servo/gpio 0 on heater 3 pin on expansion connector ;************************ G31 P25 X28.2 Y-35.3 Z1.9464 ; z-probe trigger ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S80 ; set temperature limit for heater 0 to 80C M308 S1 P"e0temp" Y"thermistor" T100000 B4092 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S275 ; set temperature limit for heater 1 to 275C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1:0 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H1:0 T45 ; set fan 2 value. Thermostatic control is turned on ; 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 ; Custom settings are not defined ;PID M307 H0 A446.1 C424.2 D2.6 S1.00 V24.3 B0 M307 H1 A733.4 C200.3 D5.2 S1.00 V24.3 B0 M302 S180 R20 ; Allow extrusion starting from 120°C and retractions already from 110°C M572 D0 S0.035 ; pressure adv ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue T0 ; select first tool G21 ; set units to millimeters G90 ; use absolute coordinates M82 ; use absolute distances for extrusion G92 E0
-
RE: Artillery Genius Duet 2 Wifi Configuration
@Veti Because they are not reliable, that's why I enabled stall detection.
-
RE: Artillery Genius Duet 2 Wifi Configuration
Anyone have endstops working reliably with duet?
Here is my config (extruder is different)
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Tue Aug 11 2020 22:01:44 GMT+0200 (czas środkowoeuropejski letni) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Genius" ; set printer name ;M918 P1 E4 F2000000 ; configure direct-connect display ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S1 ; physical drive 1 goes backwards M569 P2 S0 ; physical drive 2 goes forwards M569 P3 S0 ; physical drive 3 goes backwards M569 P4 S0 ; physical drive 4 goes backwards M584 X0 Y1 Z2:4 E3 ; set drive mapping M350 X32 Y32 Z16:16 E16 I1 ; configure microstepping with interpolation M92 X158.86 Y159.26 Z1600.00:1600.0 E445.0 ; set steps per mm M566 X2000.00 Y1800.00 Z24.00 E240.00 ; set maximum instantaneous speed changes (mm/min) M203 X10000.00 Y10000.00 Z180.00 E220.00 ; set maximum speeds (mm/min) ;M203 X200.00 Y200.00 Z20.00 E40.00 ; guide mm/s M201 X500.00 Y400.00 Z100.00 E100.00 ; set accelerations (mm/s^2) M204 P1000.00 T2000.00 ; from guide mm/s^2 M906 X1000 Y1200 Z1200:1200 E980 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; dual Z M671 X-25:255 Y110:110 S2 ; Z axis distance 280 ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X228 Y231 Z255 S0 ; set axis maxima ; Endstops M574 X1 S3 ;P"!xstop" ; configure sensorless endstop for low end on X M915 P0 S2 ; sensorless sensitivity S param M574 Y1 S3 ; P"!ystop" M915 P1 S2 ; sensorless sensitivity S param ;M574 Z1 S1 P"!zstop" ; configure active-high endstop for low end on Z via pin zstop M591 D0 P1 C"^e0stop" S1 ; filament runout sensor ; Z-Probe ;M574 Z1 S2 ; set endstops controlled by probe ;M558 P9 H5 F100 T6000 ; set Z probe type to bltouch and the dive height + speeds ;M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X30:225 Y5:190 S19 ; define mesh grid M558 P9 C"^zprobe.in" H5 F120 T3000 ; BLTouch connected to Z probe IN pin M950 S0 C"exp.heater3" ; create servo/gpio 0 on heater 3 pin on expansion connector ;************************ G31 P25 X28.2 Y-35.3 Z1.9464 ; z-probe trigger ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S80 ; set temperature limit for heater 0 to 80C M308 S1 P"e0temp" Y"thermistor" T100000 B4092 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S275 ; set temperature limit for heater 1 to 275C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1:0 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H1:0 T45 ; set fan 2 value. Thermostatic control is turned on ; 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 ; Custom settings are not defined ;PID M307 H0 A446.1 C424.2 D2.6 S1.00 V24.3 B0 M307 H1 A733.4 C200.3 D5.2 S1.00 V24.3 B0 M302 S180 R20 ; Allow extrusion starting from 120°C and retractions already from 110°C M572 D0 S0.035 ; pressure adv ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue T0 ; select first tool G21 ; set units to millimeters G90 ; use absolute coordinates M82 ; use absolute distances for extrusion G92 E0
-
Simple power-off solution for duet
In my HEVO I have SSR installed and one works well but in my converted Artillery Genius I didn't wanted to mess with wires so I decided to use simple remote switch with small script to automatically turn off printer when temperature is below treshold.
I used Sonoff S26 switch with tasmota installed.
Then on raspebbery pi I have python script executed every 5 minutes by cron.
Script is here https://github.com/pmarkiewicz/duet-off
There is no config file to make this simple. Everything is in one script.Conditions to disable printer are:
- active temperature set to -1
- printer is idle
- current temperature for heater with -1 is below 45 deg
To "install" run
crontab -eand add line
5 * * * * /usr/bin/python3 /home/pi/duet-off.py