1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Solved y axis moving wrong way while homing

Discussion in 'Troubleshooting' started by gunsmoke132, Apr 18, 2018.

  1. gunsmoke132

    gunsmoke132 Member

    Joined:
    May 13, 2016
    Messages:
    183
    Likes Received:
    14
    whenever I try to home the y-axis it moves the opposite way its supposed to and makes a grinding noise
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Is your stepper wiring backwards or is your Y endstop disconnected?
     
  3. gunsmoke132

    gunsmoke132 Member

    Joined:
    May 13, 2016
    Messages:
    183
    Likes Received:
    14
    i don't think so should it me normally closed?
    also when I press the +y on matter control what way should the bed move?
     
  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  5. gunsmoke132

    gunsmoke132 Member

    Joined:
    May 13, 2016
    Messages:
    183
    Likes Received:
    14
    so normally closed I checked the switch connections and they are working somewhat fine.
    also when I press the +y on matter control what way should the bed move?
     
  6. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    If the Y axis is homed it will move away from HOME
    You should HOME all axis first. Does that move the Y home too?
     
  7. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    See the firmware does it maths like this:
    for any axis
    HOME = 0
    every + step away from home is counted. every - step is counted (or decremented)
    If - steps are commanded we must be further + than the - asked for (i.e. you asked for -8 and we are +10 so we will allow it and we are now at "2").
     
  8. gunsmoke132

    gunsmoke132 Member

    Joined:
    May 13, 2016
    Messages:
    183
    Likes Received:
    14
    y homes how it should but now when it SHOULD stop it keeps trying and makes a grinding noise
     
  9. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Then the home switch is not working :)
    When it triggers the HOME switch it will stop.
    It sounds like it is staying closed.
     
  10. gunsmoke132

    gunsmoke132 Member

    Joined:
    May 13, 2016
    Messages:
    183
    Likes Received:
    14
    I doubt that though because I checked it with my multimeter and it seems to be functioning correctly
     
  11. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Well, the RAMPS is not seeing the change. Could be a bad connection from the switch to the RAMPS
     
  12. gunsmoke132

    gunsmoke132 Member

    Joined:
    May 13, 2016
    Messages:
    183
    Likes Received:
    14
    could be. whats your proposed fix?
     
  13. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    You can get the status of the endstops from the firmware at anytime by issuing an M119; in the GCode console
     
  14. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    If you can see that it is not reading the status correctly, trace the wires back to the RAMPS and make sure they are good.
    Read the endstop values from the wires where they would connect to the RAMPS card (to make sure the wires are good). OPen/ close the switch and see if you can see that on a meter.
    If all that is good then your RAMPS is not*.






    *possibly the arduino is bad rather than the RAMPS, but I'd assume the RAMPS bad first.
     
  15. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    While they seem complex the printers are really fairly simple electrically and mechanically. The power is all in the firmware :)

    If you manually open/close the switch you should absolutely see different return values from the M119; command
     
  16. gunsmoke132

    gunsmoke132 Member

    Joined:
    May 13, 2016
    Messages:
    183
    Likes Received:
    14
    ok so i got it to respond correctly. they are all "open". but the y is going the wrong way during the homing again :(
     
  17. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    That sounds like:

    1) bad firmware
    2) bad RAMPS
    3) bad arduino

    Reload the correct firmware for your printer model. There are several "flavors" of R1 so make sure you are using the right one:

    Beta, R1, R1+

    Also make sure that if you manually trip the HOME switch that the firmware sees the change.
     
  18. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    The differences between the models is slight, but there are some important ones.

    (beta had a normalized Z switch, the R1 and R1+ had two inverted ones)
    (the Z steps are different on all three models)
     
  19. gunsmoke132

    gunsmoke132 Member

    Joined:
    May 13, 2016
    Messages:
    183
    Likes Received:
    14
    i think i got it to kinda work. it homes well now but it moves the bed too far back when probing the z-axis before printing and i get grinding and it starts the print too far back
     
  20. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Then either the home was not all the way "home" or the size specified for the Y axis is too large or (most likely) something is getting in the way. Lift the bed and make sure there is not a wire bundle or something else blocking the bed travel. Make sure you can manually slide it full stop with the bed up.
     

Share This Page