problem with a 2 wire endstop duet 2 wifi
-
Hi,
I would be happy if someone can help me with a endstop problem at the Duet 2 wifi ? I am rebuilding an old Tripodmaker (delta printer) to a Clay printer with a WASP extruder. The issue here is that the steppers (home) will not stop when the endstop triggers. I run M119 and it shows a trigger on xyz. Using the 2 outer pins of the 3 pin connection on the Duet board.Here is my config:
; Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.15 on Tue Jan 03 2023 19:23:07 GMT+0100 (Midden-Europese standaardtijd); General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; set printer name
M665 R150 L351 B150 H450 ; Set delta radius, diagonal rod length, printable radius and homed height
M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them; Network
M551 P"Wendypotje" ; set password
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 S0 ; physical drive 1 goes backwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X100.00 Y100.00 Z100.00 E20.00 ; set steps per mm
M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z18000.00 E9000.00 ; set maximum speeds (mm/min)
M201 X1000.00 Y1000.00 Z1000.00 E500.00 ; set accelerations (mm/s^2)
M906 X2400 Y2400 Z2400 E2100 ; set motor currents (mA)
M84 S0 ; Disable motor idle current reduction; Axis Limits
; M208 Z0 S1 ; set minimum Z; Endstops
M574 X2 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin xstop
M574 Y2 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop
M574 Z2 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin zstop; Z-Probe
; M558 P5 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds
; G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
; M557 R85 S20 ; define mesh grid; Heaters
M140 H-1 ; disable heated bed (overrides default heater mapping); 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 S0 H-1 ; set fan 1 value. Thermostatic control is turned off; Tools
; Custom settings are not defined
-
@laakti Do you mean the endstops show they are triggered all the time with M119, or that they show triggered when the carriage is not touching, or triggered only when the carriage is touching?
Check that you have wired the correct endstop to the correct tower. Check this by send a G1 command that moves each carriage individually, and check that the appropriate microswitch is connected to the correct tower. For moving a carriage individually, see: https://docs.duet3d.com/User_manual/Connecting_hardware/Motors_testing
If that doesn't help, post your homedelta.g file, and make sure there is no homeall.g / homex.g / homey.g / homez.g files in the /sys folder of your SD card.
Ian
-
Thanks for your fast reaction. When the M119 command is given and I press at the same time a endstop it will show that the pressed endstop is trigered. I have normaly closed endstops configurated. The led next to the stepper output is on when I press the endstop. All this is working as it should be. I guess it has to to with the software. When homing all axis (3) are moving up (delta style printer) and when I press one of the end stops nothing happens. Pressing the endstop on axis Y the led next to the stepper output Y on the board is lighting up. I will post my homedelta.g later today. Will check first the /sys folder.
-
Here is the homedelta.g file:
; homedelta.g
; called to home all towers on a delta printer
;
; generated by RepRapFirmware Configuration Tool v3.3.15 on Tue Jan 03 2023 19:23:07 GMT+0100 (Midden-Europese standaardtijd)
G91 ; relative positioning
G1 H2 X455 Y455 Z455 F200 ; move all towers to the high end stopping at the endstops (first pass)
G1 H1 X-5 Y-5 Z-5 F200 ; go down a few mm
G1 H2 X7 Y7 Z7 F360 ; move all towers up once more (second pass)
G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred
G90 ; absolute positioning
G1 X0 Y0 F6000 ; move X+Y to the centreThe towers are all wired correct, no other home related .g files are in the /sys folder on the sd card.
-
@laakti your homing file is wrong. you should be using H1 moves for moves up to endstops and H2 moves when moving away.
Movement won't be stopped when using H2; homedelta.g ; called to home all towers on a delta printer ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Tue Jan 03 2023 19:23:07 GMT+0100 (Midden-Europese standaardtijd) G91 ; relative positioning G1 H1 X455 Y455 Z455 F200 ; move all towers to the high end stopping at the endstops (first pass) G1 H2 X-5 Y-5 Z-5 F200 ; go down a few mm G1 H1 X7 Y7 Z7 F360 ; move all towers up once more (second pass) G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred G90 ; absolute positioning G1 X0 Y0 F6000 ; move X+Y to the centre
-
@laakti said in problem with a 2 wire endstop duet 2 wifi:
I have normaly closed endstops configurated. The led next to the stepper output is on when I press the endstop.
If the LED is on when they are pressed, they are normally open endstop switches.
-
That solved my problem. Thanks to all for your help.
Tim
-
-