DWC 2 Checking end stops
-
I have just upgraded the firmware and DWC on my Duet 2 Wifi to V3.2.2 from V2. something. This has of course required an updated version of Config G etc .
My end stops on x and y were standard micro switches wired to the two outer tabs and worked perfectly on the old firmware.
The upgraded end stop section of Config.g looks like this:
; Endstops
M574 X1 S1 P"!xstop" ; configure active-low endstop for low end on X via pin !xstop
M574 Y1 S1 P"!ystop" ; configure active-low endstop for low end on Y via pin !ystop
M574 Z1 S2 ; configure Z-probe endstop for low end on ZIf I send M119 it tells me that X and Y are at min stop when in fact they are both mid travel. If I manually activate either stop M119 returns "not stopped". If I change M574 from S1 to S0, M119 reports "No End stop".
The LEDs beside the respective stepper plugs are red if the endstop is not triggered and off when they are triggered.How do I change my Config .g to give the correct end stop state?
-
Remove the
!
from the pin name to invert the signal back to normal. -
Thanks Phaedrux. That was indeed the solution.
I checked back on the Gcode dictionary and that little gem was hidden down in the notes rather than in the parameters list. There are a lot of subtle changes in this new version of the code that make it difficult for the occasional user.
Thank you for your help in resolving this. Much appreciated
-
This might help: https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview