Quantcast
Channel: Reprap Forum - Sanguino(lolu)
Viewing all articles
Browse latest Browse all 1033

Re: Sanguinololu homing/end stop problems

$
0
0
In order to be able to home the Z-Axis to MIN or MAX you need 3 conditions:
either
MIN_HARDWARE_ENDSTOP_Z true and Z_MIN_PIN > -1 and Z_HOME_DIR-1
or
(MAX_HARDWARE_ENDSTOP_Z true and Z_MAX_PIN > -1 and Z_HOME_DIR 1
void Printer::homeZAxis()
{
    long steps;
    if ((MIN_HARDWARE_ENDSTOP_Z && Z_MIN_PIN > -1 && Z_HOME_DIR==-1) || 
        (MAX_HARDWARE_ENDSTOP_Z && Z_MAX_PIN > -1 && Z_HOME_DIR==1))

I don't see any difference between X and Y in the Configuration.h. Does the Y-Stepper motor work in both directions?
if yes, then probably it's a hardware issue, try without the X_MAX endstop.

Viewing all articles
Browse latest Browse all 1033

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>