Endstopstatus
-
Today i tested my endstops and it's kinda wierd.
So the Sensor is a Sunx GL-8H. Datasheet should be this one:
[https://ramcoi.s3.us-east-2.amazonaws.com/Panasonic/GL/Panasonic_GL-8-8U_proxs.pdf](link url)
I tested the endstop seperate. When i supply the sensor with 5V. The output voltage between load and ground is 1.8V. If the endstop is hit it's 0V. So it should be a normally closed endstop right? But the OutputVoltage is kinda low. Even if i raise the Supplyvoltage to 10V the ouputvoltage stays the same. Not sure why this is so. I can imagine, that this low outputvoltage does not trigger an High in the board and this can be the reason, why my endstops are not working currently. Did i wire them wrong ?Analog to the wiring diagramm in the datasheet i use:
Brown V+
BLue Ground
Black X-stop -
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
!