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
-
@pma_ said in Artillery Genius Duet 2 Wifi Configuration:
Anyone have endstops working reliably with duet?
you disabled endstops and configured stall detection
-
@Veti Because they are not reliable, that's why I enabled stall detection.
-
what do you mean they are not reliable?
-
@pma_ Start a new thread please.
-
@Phaedrux done
-
so i thought i wired everything up and tried to move the motors and when i move one axis all axis move. and not only that. i kinda switches directions. Im so dump ...:(
Could it be a software issue or is there a problem with my wiring ? -
would need to see your wiring
-
@Phaedrux i will post a picture later. what i dont understand is that it worked. I didnt even unplugged anything since i moved every axis isolated
-
@d0minik96 said in Artillery Genius Duet 2 Wifi Configuration:
tried to move the motors and when i move one axis all axis move. and not only that. i kinda switches directions.
Maybe post a video of what is happening as well as your current config.g and homing files.
-
Also Extruder temp is shown as 200 °C.
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.2 on Sat Jan 23 2021 18:37:34 GMT+0100 (Mitteleuropäische Normalzeit) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Dominik's 3D" ; set printer name M669 K2 ; select CoreXY mode ; Network M551 P"test" ; set password M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 Z16 I0 ; configure microstepping without interpolation M350 X16 Y16 E16 I1 ; configure microstepping with interpolation M92 X80.121 Y80.121 Z399.78 E445.00 ; set steps per mm M566 X900.00 Y900.00 Z12.00 E300.00 ; set maximum instantaneous speed changes (mm/min) M203 X1200.00 Y1200.00 Z150.00 E240.00 ; set maximum speeds (mm/min) M201 X1500.00 Y1500.00 Z20.00 E1500.00 ; set accelerations (mm/s^2) M906 X1050 Y1050 Z1050 E600 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X220 Y220 Z250 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop ; Z-Probe M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; 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 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 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"e0temp" Y"thermistor" T100000 B4092 ; sensor 1 ;M308 S1 P"spi.cs1" Y"rtd-max31865" ; configure sensor 1 as thermocouple via CS pin spi.cs1 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 S300 ; set temperature limit for heater 1 to 300C ; 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 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 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 ; Miscellaneous M501 ; load saved parameters from non-volatile memory
-
@d0minik96 said in Artillery Genius Duet 2 Wifi Configuration:
Also Extruder temp is shown as 200 °C
are you sure the thermistor setting is correct?
why do you have this commented out?
M308 S1 P"spi.cs1" Y"rtd-max31865" -
@Veti i set it upo wrong with the configurator. it should be thermistor 1 in merlin like the heatbed. heatbed sensor shows 20°C so it works. Not sure what i did wrong with the extruder thermistor
-
is it 200 or 2000 ?
-
@Veti 2000
-
So i just did some try and error. I have 2 Z motors. They worked against each other. Now it they work right.
y axis works fine. When i move X-axis z Axis moves aswell. I move the motors without homing atm.
I plugged all motors off and tried each motor alone with the y axis. they worked all great. not sure why they move together when i move z or y axis alone in the dashboard. U have any suggestions what i can check ? -
2000 means open circuit.
so check the wiring.
measure the resistance with a multimeter
-
@Veti ok!
-
@Veti Both Thermistors work now! Thank you very much
U have any idea why both x and z axis move when i try to move one of them ?
-
i could be because of mesh compensation
how are you moving the axis?