Help please
-
What are you trying to do? What issue are you having?
-
It will not home properly so I can print
-
Here is the homeall code also
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool on Fri Mar 16 2018 20:00:07 GMT-0400 (Eastern Daylight Time) G91 ; relative positioning G1 Z5 F6000 S2 ; lift Z relative to current position G1 S1 X-320 Y320 F1800 ; move quickly to X or Y endstop and stop there (first pass) G1 S1 X-320 ; home X axis G1 S1 Y320; home Y axis G1 X5 Y-5 F6000 ; go back a few mm G1 S1 X-320 F360 ; move slowly to X axis endstop once more (second pass) G1 S1 Y320; then move slowly to Y axis endstop G90 ; absolute positioning G1 X15 Y15 F6000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed ;G1 Z5 F100 S2 ; uncomment this line to lift the nozzle after homing
-
A good place to start would be making sure your endstops are set up correctly, if you connect with a web browser go to the settings tab and machine properties, check the if the endstop is hit. When the endstop is pressed by hand it should change from no to yes and back again as you let go.
-
Wasn't aware I could even do that HAHA! I have literally sat here all day trying and waiting for some help. Thanks for answering!
-
the endstops all say yes automatically. when I press them they say no. It does not matter if i set them to active high or low and the option for end stop location is greyed out
-
This may help:
https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_Set_endstop_configurationAlso this:
https://duet3d.dozuki.com/Wiki/Connecting_endstop_switchesIm not sure what you mean by "endstop location is greyed out" where are you seeing that?
-
That part is in the RRF Config tool.
-
I dropped back down to firmware 120 and now they are showing the endstops correct
-
Still no luck… banging head in to the wall
-
On my bot changing this line in config.g
M574 X1 Y1 Z1 S0
to
M574 X1 Y1 Z1 S1Will cause my endstops to always be triggered until i press them. So it changing that will reverse the behavior, we know your endstops are wired correctly because pressing them on your bot will change the state, its just backwards.
You have M574 X1 Y2 Z1 S0 in your config so change it too M574 X1 Y2 Z1 S1.
-
Thanks for the help. It was doing something weird. When I would change the switches or direction of a motor it was doing opposite of what I expected. I swapped the x and y motors on the board and boom it worked correct…. Not sure why I had to swamp them tho... I am just happy to have it up after a week of fight lol
-
Firmware 1,20RC5 reports the endstop states incorrectly in DWC Machine Properties if they are set to active low. M119 reports them correctly.
-
HI i have also had the same problem where the endstop locations are grayed out in the web config tool. I am using the duet3d wifi board with the firmware 1.21. Initially i had to change the directions of the steppers so that they would home correctly, but that created another problem of having the steppers driving the wrong way. The M574 command only tells it whether the endstop is at the high end or low end of the axis not what direction to drive to look for the endstop.
I then found the code for the homing ie the homex.g, homey.g, ect... and changed the direction that it drove to find the endpoint.Original
G1 S1 Y1205 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y-5 F6000 ; go back a few mm
G1 S1 Y1205 F360 ; move slowly to Y axis endstop once more (secondModified
G1 S1 Y-1205 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y5 F6000 ; go back a few mm
G1 S1 Y-1205 F360 ; move slowly to Y axis endstop once more (second pass)after all that is there a reason the grayed out area is disabled?????
-
I think I've found a bug in the configurator. If you set the machine type to Delta, then the endstop locations are grayed out and disabled - which is sensible because the endstops are always at the high end. But if you then change the machine type back to Cartesian or CoreXY, it doesn't enable them again. I will get this fixed.
-
Thats great works now. Thanks
-
@flippnswitchez On a CoreXY swapping the motors reverses an axis. There are 8 combinations:
Motor 1 Motor 2 X Motor forward Y Motor forward X Motor forward Y Motor backward X Motor backward Y Motor forward X Motor backward Y Motor backward Y Motor forward X Motor forward Y Motor forward X Motor backward Y Motor backward X Motor forward Y Motor backward X Motor backward One of these combinations will always result in a left handed cartesian system. The other combinations will result in either a right handed cartesian system, reversed axises, or swapped axises. The exact setup you need depends on your motor location, wiring, and possibly belt routing.
For reference you ultimately want a left handed cartesian system. This is important because a right handed system will print things backwards, this isn't a problem 90% of time but is maddening 10% of the time. The correct cartesian co-ordinate system looks like this:
Purple is the location of my end stops so they are configured for X min, Y max and in my homing files I tell the printer to "home" to back-left corner.