Endstopstatus
-
looking at the circuit i think i need to connect my black wire to v+ aswell . if the transistor is triggered the whole v+ will drop over the transistor and i can measure this with the x stop pin
So connecting brown wire to v+ and xstop seems to be the way to go for me ??
-
Connect black to brown with a pull-up resistor.
The value is not critical, but it should be largish.
Anything larger than about 2,000 Ohms should work.Then you should see the output go from +5 when the endstop is not triggered and zero when it is triggered.
If you don't want to do that, you can connect the endstop output to the Duet and turn on the pull-up which is inside the microprocessor. That will work just as well.
-
Can you try enabling the pullup resistor on the pin by adding
^
to the pin name. ex:M574 X1 S1 P"^xstop"
-
I will try it tomorrow, for today i'm done xD
-
@Phaedrux Ok so i just wired up my y endstop again.
I changed the Setting to:
M574 Y1 S1 P"^ystop"
Than the plugin shows me: triggered yes, when i am not in endstop position and when im in endstop position it shows me Triggered no. So seems like it is a step in the right direction. But the interpretation of the signal is wrong.So i just changed it to active low:
M574 Y1 S0 P"^ystop"
Than my endstop shows me always triggered no, even if i am in the endstop position. You have any idea what is wrong ?
-
Leave the pullup enabled and set it active-low by adding "!^" to your pin configuration.
-
So active low is not set by S0 ?
-
@alankilian Nice it worked, ty very much!
-
@d0minik96 said in Endstopstatus:
So active low is not set by S0 ?
According to the gcode bible, Sx now sets the switch type in RRF3.
So I would leave it as S1.
-
S0 is no longer used in RRF3. You use S1 and must invert the signal with
!