Endstop switches doesnt work
-
I have wired the right, because when i measure on the plug, its right.
-
@goodchrhere said in Endstop switches doesnt work:
M574 Z1 S2 ; set endstops controlled by probe
M558 P0 H0 F300 T3000 ; disable Z probe but set dive height, probe speed and travel speedif you plugged it into the z endstop that would not work because you have disabled it.
M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1B4138 is the default and most likely wrong for your thermistors.
-
@goodchrhere said in Endstop switches doesnt work:
Does this type of endstop doesnt work?
Yes, its a common SPDT switch, that can be used as both normally closed and normally open switch.
@goodchrhere said in Endstop switches doesnt work:
I have wired the right, because when i measure on the plug, its right.
elaborate? and ref Veti's comment, which axis are you having trouble with?
Which board do you have, the Duet2 Ethernet and Duet2 Wifi has LEDs to indicate the state of the endstops, makes for easy diagnostic. The Duet2 Maestro does not have these LEDs.
But M119 will print the status of the endstops, please run
M119
before activating the enstop, and again while the endstop is active. -
Thermistor are right, the thermistor from bed and the thermistor from extruder 1 are in function.
i have a normal endstop switch like the first post for all 3 axes. for x and for y and for z.
it doesn't work on all axes.
I know about normaly open and normaly closed.
i tested both, with changes the wires in the plug, and change the firmware from active high to active low.I have a Duet 2 Ethernet with firmware version 2.02
I can test the M119 in yat in the evening, when i'm back at home.
-
faster to look at the endstop leds than to use m119, but you can also use m119 in the web interface and g-code console instead of the serial terminal.
but as veti points out, there are multiple lines configuring the z endstop, ending up with it disabled. so only x and y will work as the config is now.
-
okay, i will look to the endstops leds.
okay, i will change the configuring for the z endstop.Thanks for your help.
-
Check your wiring. See https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Microswitch
Connect the switch between GND and STP (the outer 2 pins of the 3-pin connector). Note: this is not the same as on RAMPS.
We recommend you use the normally-closed contacts of the microswitches, which are generally the outside two connections on the microswitch, and set the signal polarity to active high (S1) in the M574 command.`See wiring diagram: https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/4k56ZjaaAHrTJI6Z.huge
As others have pointed out, only X and Y endstops will work with your current config.g
Ian
-
@bearer said in Endstop switches doesnt work:
faster to look at the endstop leds than to use m119,
That only works if you can see the board when you press the switch, some put the boards in boxes and cant see the led's
-
@goodchrhere said in Endstop switches doesnt work:
Thermistor are right, the thermistor from bed and the thermistor from extruder 1 are in function.
they may be displaying a temperature, but when the temperature is hotter than room temperature it will display incorrect results.
-
@droftarts i checked my wiring 3 times. i measured with a multimeter on the plug, and ih have signal or no signal, but the duet doesn't recognize the signal. i know that only work in x and y because my config.
But x and y doesn't work. -
@goodchrhere said in Endstop switches doesnt work:
M574 X1 Y1 S1can you manually put this command in the console and try again?
post the actual output of M119 before and after the closing the endstop -
@veti i will do that today or tomorrow evening.
-
Looking at https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/4k56ZjaaAHrTJI6Z.huge
... where exactly did you plug in the two wires coming from the endstop switches? -
@themelle i did that, i checked the wiring 3 times.
-
@themelle said in Endstop switches doesnt work:
Looking at https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/4k56ZjaaAHrTJI6Z.huge
... where exactly did you plug in the two wires coming from the endstop switches?This.. we need pictures of where the switches are plugged in to the switches and the duet. And dont take it that we are saying you are wrong we are only trying to help you, so for us to do that we need to see if there is anything wrong you might have missed.
-
@calvinx okay i will make photos today or tomorrow evening.
thanks for your help -
okay, i dont know, i had new wired and x and y works. i'm an idiot xD
What i have to chance in my config, to active z with the same switch? -
@goodchrhere I'm glad you got it working!
To have Z axis behaving as X and Y you should just remove the linesM574 Z1 S3 ; set endstops controlled by motor stall detection ; Z-Probe M574 Z1 S2 ; set endstops controlled by probe
from
config.g
-
I‘t works fine, thanks for your helps!