All Axes will Home but have not Connected Any Endstops?
-
@pickett there is some info about how to wire them in general here:
https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Microswitch
(basically wire them normally-closed and connect between IOn.in and ground on the IO header of Duet 3) That is how your config has them defined. I assume you have them wired in this way and connected to io5 and io6 headers:
Once they are connected send M119 to check the state, then send M119 again with each endstoip held down in turn to confirm the state changes.
-
@t3p3tony yep connected to io5/io6 and have a BL TOuch defined as the Z Probe so no Z endstops....... Just wondering why its not homing the way I want it to as in why is it not going to each endstop for the X and Y and touching base with those endstops and then stopping at said endstops and calling that "home???"
In my homeall.g file it says to basically do that very thing I want it to do but it doesnt do that?????????
homeall.g:
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.3.3 on Thu Oct 07 2021 08:23:53 GMT-0500 (Central Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F9600 ; lift Z relative to current position
G1 H1 X-415 Y-415 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F9600 ; go back a few mm
G1 H1 X-415 Y-415 F360 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G1 X-20 Y-9 F9600 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F160 ; lift Z relative to current position
;G90 ; absolute positioning -
-
@cosmowave no sir but Im working on it right now matter of fact.....
-
@pickett If you go into DWC and scroll down to "Settings", then select "Machine Specific", you'll see a tab labelled "Endstops". That will show the real time status of all the end stops. With the carriages some distance away from the stops, they should show as not triggered and if you manually trigger each one, the status
willshould change. -
@deckingman unfortunately not without the endstops plugin installed now... hence why I use M119
-
@t3p3tony ok I am not seeing an endstops tab so please tell me how to go about getting this endstops tab plugin and or why should I use M119 in lieu of the E-stops tab?
-
@pickett https://github.com/Duet3D/DSF-Plugins/tree/master/EndstopsMonitor its here. but its simpler to use M119 .
-
@Pickett download from here:
https://github.com/Duet3D/DSF-Plugins/releases/tag/v3.3.0 -
@pickett you see the endstop tab only if you have installed the endstop plugin.
So, use M119 for checking the endstops.Send M119 without any endstop pressed. DWC will answer with endstop status...
Then push x-endstop and send M119 again (with pushed endstop). Check if the state has changed.Then the same with y-endstop....
-
@t3p3tony okay i get it now the M119 simply gives an up to date reading of the endstops while the Endstops plugin creates a tab to then show the status of the endstops ok ok I see but here is the thing it appears that I have the wiring done right but everytime I go to home my Axes each Axis will just move a few mm's then call it quits and will basically say "im home!" and will do nothing further kind of like this dude I know from work lols no but seriously can not figure out why each Axis never goes the whole way home and truly "homes" back home its wierd? Maybe Im missing something IDK???? This is like the only thing that is stopping me from getting to my first print................. have learned so much along the way though no doubt!
-
@pickett what is the result of the M119 command with and without the endstops pressed?
-
@t3p3tony I dont get it tbe Y is most certainly NOT at its endstop and neither is the X?????
m119
Endstops - X: at min stop, Y: at min stop, Z: not stopped, Z probe: not stopped -
@pickett invert the endstops with a "!" in the config
M574 X1 S1 P"io5.in" change to M574 X1 S1 P"!io5.in"
the same with y endstop
-
@cosmowave ok lemme update the config.g so should i update the homex.g and homeall.g and homey/z.g's as well????
-
@pickett No, only in config.g
-
@cosmowave ok now it looks like:
; Endstops
M574 X1 S1 P"!io5.in" ; configure active-high endstop for low end on X via pin io5.in
M574 Y1 S1 P"!io6.in" ; configure active-high endstop for low end on Y via pin io6.in
M574 Z1 S2 ; configure Z-probe endstop for low end on Z -
@pickett I suspect you may have the endstops wired as normally open, not normally closed. As @cosmowave mentions you can change the firmware to work with that, however there are good reasons to normally use normally closed endstops.
-
@pickett If you'd like to change your endstops to normally closed endstops (safer in case of wire failure), you have to wire them to "label" 1 and 3 on the endstops.
But then, i think you should invert the function again with deleting the "!" in config.g -
@cosmowave ok now the axis move but are going in the opposite direction so I guess I need to reconfigure my stepper motor direction of rotation in the configurator tool? Also the stepper motors seems to be vibrating really loud now like it is some sort of wiring issue but it is wired correctly i know this cause Im the one whom crimped the terminals, got the Black, Green, Blue, Red order. the Z properly homes cause well it just detracts then it dives --------------------000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000=============================================================================================9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999slowly down til it reaches the bed............. Ok will take a break from this for now coz I keep falling asleep onto my keyboard lolz will return for more troubleshooting techniques and what not!!!!! Thanks for everyones help this far will get it figured out one way or another!!!!!!!0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000r