Following the Wiring Guide - Can't see my endstops
-
Hello all... I finally got my Duet boads delivered after 7 weeks of waiting and I'm going through the install and wiring guide on the Dozuki wiki.
I'm on Step 7 where I've connected my Y-Endstop and I can see the red LED is on, and when I manually hit the endstop switch, the LED blinks.
But as I follow the guide, it references an older UI to check the endstop mapping, which I've read is no longer available, and 3.3 has a plugin to put this back in, but 3.2 is the latest stable release...
So I read I can run a M409 command to get the object model, but when I do that, I don't see my endstops in here either.
{ "key": "", "flags": "", "result": { "boards": [ {} ], "directories": {}, "fans": [], "heat": {}, "inputs": [ {}, {}, {}, {}, {}, {}, {}, {}, null, {}, null, {} ], "job": {}, "limits": {}, "move": {}, "network": {}, "scanner": {}, "sensors": {}, "seqs": {}, "spindles": [ {}, {}, {}, {} ], "state": {}, "tools": [], "volumes": [ {}, {} ] } }
Probably important to note that I'm currently running on USB power, but when I had the PSU connected, I was experiencing the same behaviour.
Is there something I'm missing here?
-
@infidelprops Use M119 instead: https://duet3d.dozuki.com/Wiki/Gcode#Section_M119_Get_Endstop_Status
Will also depend how you have the endstops setup in config.g. Post that if problems continue.
Ian
-
@droftarts Thanks! I forgot to mention I did that run that as well, but it tells:
Endstops - X: no endstop, Y: no endstop, Z: no endstop, Z probe: at min stop
This is my config.g Endstop setup
; 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 S2 ; configure Z-probe endstop for low end on Z
I'm using the OEM switches on the Ender 5 Plus
-
@droftarts - Forgive me... Looks like I need to restart the board when I make changes and now I can see the endstops
M119 - Not triggered
Endstops - X: at min stop, Y: not stopped, Z: at min stop, Z probe: at min stop
M574
Endstop configuration: X: low end switch connected to pin xstop Y: low end switch connected to pin ystop Z: low end Z probe
M119 - While holding the trigger
Endstops - X: at min stop, Y: at min stop, Z: at min stop, Z probe: at min stop
So the solution was I needed to press the restart button to load the new configs.
-
@infidelprops yes, config.g is run at startup only, so need to restart if you want changes to take effect, though it usually prompts you to restart when you save.
You can run it manually by sending M98 P”config.g” without restarting, and you’ll see any error messages it produces, which you don’t see on a restart, which is handy for debugging.
Ian
-
@droftarts Great advice, thanks!