M119 shows the endstop status... (In Marlin at least)
Marlin seem to like them being high when hit... (Connected to center pin and pin nearest to hinge) There are some settings to invert the endstop logic, but then it assumes that the max endstop is hit, unless you jumper it out...
Marlin has some settings that allow you to go to negative positions...My RAMPS board had the endstop header soldered on on position out. I connected to the I2C pins, and there was no header on the x-min connector. A solding iron and some spare headers fixed it up
Gert
// coarse Endstop Settings
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
On Tuesday, July 31, 2012 2:05:29 PM UTC-4, Gert van den Berg wrote:M119 shows the endstop status... (In Marlin at least)hi Gertthanks! I looked into Marlin Configuration.h, I found the following lines:const bool X_ENDSTOPS_INVERTING = true;const bool Y_ENDSTOPS_INVERTING = true;const bool Z_ENDSTOPS_INVERTING = true;...#define INVERT_X_DIR true // for Mendel set to false, for Orca set to true#define INVERT_Y_DIR false // for Mendel set to true, for Orca set to false#define INVERT_Z_DIR true // for Mendel set to false, for Orca set to truewhen I send M119 to the board, I gotx_min:L x_max:L y_min:L y_max:L z_min:H z_max:LI found x-axis can only move along x+, y can move both ways, and z is similar to x, only move along + direction.If I change all [XYZ]_ENDSTOPS_INVERTING to false, the output of M119 becamex_min:L x_max:H y_min:H y_max:H z_min:L z_max:H
the x-axis can only move -x direction; y can not move either way (endstops hit error), z can only move towards -z.do you know what exactly should I use in the Configurations.h?
Marlin seem to like them being high when hit... (Connected to center pin and pin nearest to hinge) There are some settings to invert the endstop logic, but then it assumes that the max endstop is hit, unless you jumper it out...now my wires connects to the 1st and 3rd pins (skip the middle one) of theend stop. Are you suggesting I should use the middle pin?
it would also be nice if you can comment on how you set yourhome position.
I use the defaults for the endstops, with the wires on the pins as mentioned below.
On Tuesday, July 31, 2012 4:12:53 PM UTC-4, Gert van den Berg wrote:I use the defaults for the endstops, with the wires on the pins as mentioned below.After using the invert connection (hinge+middle pin), x and z both worked fine.y-axis is the only one that is not working. Pressing the switch while y-axismoving towards did not do any thing :( I don't fully understand ...all switches are located at the min end.
To view this discussion on the web visit https://groups.google.com/d/msg/mendelmax/-/3O3VFf8oCv8J.Gert--
You received this message because you are subscribed to the Google Groups "MendelMax Support" group.
To post to this group, send email to mend...@googlegroups.com.
To unsubscribe from this group, send email to mendelmax+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mendelmax?hl=en.
To unsubscribe from this group, send email to mendelmax+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mendelmax?hl=en.
--
You received this message because you are subscribed to the Google Groups "MendelMax Support" group.
To post to this group, send email to mend...@googlegroups.com.
To unsubscribe from this group, send email to mendelmax+unsubscribe@googlegroups.com.
using a multi-meter, I found out that the y-stop was
a broken switch. No pins are connected after pressing
down the button :(
does anyone know where to get a replacement? I
need a new one to start testing the printer.
You should be able to print without homing Y? If it insists on homing it, manually shorting wires connected to the RAMPS board instead of the endstop when it approaches a reasonable start positions should allow you to print while figuring out where to get a replacement...
It seems like optical endstops might make sense for the Z axis... They are probably tricker to get than simple switches... (For X and Y, a millimeter or two inconsistency shouldn't be a problem, as long as nothing decides to home during a print...)
Gert--
You received this message because you are subscribed to the Google Groups "MendelMax Support" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mendelmax/-/3y1-CY7PQ7sJ.
I think the origin of the trouble came from pronterface. It appearsto me that pronterface relies on these end stops to set home position.If there is a command I can manually set the home position (say, tothe current position), I think I can get away from using end stops.
Slic3r will add some code to shut the extruder heat off and home the axis - make sure you REM or erase this before slicing.
--
You received this message because you are subscribed to the Google Groups "MendelMax Support" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mendelmax/-/Sy6ctDacsGYJ.
Endstops are definitely nice to have, but in the last few weeks I've gotten really used to printing without them. Here are some tips:
1. I disable software min/max in firmware so I can tell the printer to move to negative positions in case it is ever homed in the wrong position.
2. Get the printer to where you think home is. Then send "G92" to set the home position. (I create a button for this in pronterface)
3. Start a print, if the z height is wrong, adjust it "on the fly" by manually turning the aluminum couplers by hand until the filament is squished a bit, but not so much that you are causing extruder problems. Once you've done this once, you shouldn't have to do it again unless you are skipping steps on z. Next time you go to x0 y0 z0 it will be the correct home position.
4. At the end of a print, goto home using g0. Ie: "g0 x0 f1200" "g0 y0 f1200", etc. (I make buttons for these too).
5. If you want to turn off your printer, make sure it is in the home position first. That way when you turn it back on it will already be home and ready to go.
It is also useful to have your start gcode set home (G92) so you will never accidentally crash the hot end if your home position is off.
I've used both optical and mechanical end stops and they have both worked equally well for me. I highly recommend finding an endstop mount that is easily adjustable for the z-axis.
Again, its really nice having end stops (so you can have that "home, print" experience) but hopefully this will help some of you as you pick out some end stop holders and print them. :)
Eric (ravix)
I've got a similar problem- My X opto is on the right side of my printer, which means I need to home to the max, rather than the min. It seems to home properly, but when I o print, or use G codes to move to a location, it won't move- or it goes past the endstop and causes all sorts of nasty problems.After homing the X axis the printer thinks it's at X0 when really it should be at X200. I've tried several variations on inverting the axis or home direction in marlin firmware, but none seem to work, other than to set it up so max X is to the right- but then my prints all come out inverted.Is there another way to do this in firmware, or do I need to move my x opto to the left, or min side of the printer?Y and Z work fine, and are in the normal places.-Tom
I've got a similar problem- My X opto is on the right side of my printer, which means I need to home to the max, rather than the min. It seems to home properly, but when I o print, or use G codes to move to a location, it won't move- or it goes past the endstop and causes all sorts of nasty problems.
After homing the X axis the printer thinks it's at X0 when really it should be at X200. I've tried several variations on inverting the axis or home direction in marlin firmware, but none seem to work, other than to set it up so max X is to the right- but then my prints all come out inverted.Is there another way to do this in firmware, or do I need to move my x opto to the left, or min side of the printer?Y and Z work fine, and are in the normal places.
-Tom
On Friday, August 24, 2012 12:54:44 AM UTC-7, vlad wrote:
I tried and failed - surrendering to just put it like Larry says and everything will be ok
I understand what you are saying for the physical location of the endstop switches and it works correctly that way on marlin. But what if I want to move my Y endstop to the front of the printer? So home is at the top, left corner of print envelope. I've tried messing with configuration.h but nothing seems to want to make the Y axis home towards the front of the printer. It only homes correctly when the y wants to go to the back. The only thing that works for making the y home to the front is inverting the Y direction but this has a negative consequence. The prints are mirrored to what they actually should be.
To unsubscribe from this group and stop receiving emails from it, send an email to mendelmax+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.