11

enter image description here

By what process does the Prusa i3 determine it's home position?

I have a feeling that it works like this, but I'm not entirely sure about it:

  1. If none of the end stops are activated; assume you are somewhere between Max-X, Max-Y, Max-Z and the point 0,0,0.
  2. do
    1. For axis in Axies
      1. If axis endstop not signaling
        1. subtract 100 steps from axis.
  3. while endstops are not signaling, or if point 0,0,0 not reached;
leeand00
  • 1,953
  • 1
  • 22
  • 29

2 Answers2

8

It works like you describe, but it does not move all axes at the same time. It first moves the X-axis, subtracting steps while the X endstop is not pressed. When the X-axis is is homed (the X-endstop is gets pressed) it repeats the procedure for the Y-axis and finally the Z-axis.

Tormod Haugene
  • 4,022
  • 4
  • 23
  • 40
Flautarian
  • 126
  • 3
1

You have the endstop which sends a on or off to the controller board.

The boards firmware knows if it is a close or open switch.

Lets assume pressed is on and unpressed is off.

When the axis is at home it will read as ON. The firmware then will not allow the axis to move in the direction you have designated is the Home direction. Now this is probably where you got confused. You in fact are the one to open a code file, and say what direction is home. When your turn it on the first time, chances are you have done it wrong on at least one. Then you will frantically go and manually press it yourself as your printers hotend crashes HARD into the bed.. All of us have been there !

Generally Prusas use ramps 1.4

http://reprap.org/wiki/RAMPS_1.4

Your code is your firmware. Usually you just edit a header file (single file). These files are heavily documented, depending which you use. Your seller might provider you with a preconfigured header file.

Will note that yes, if the endstop slips or is not position right, the printer will crash into it self. Usually no damage, but it is a very unpleasant thing to happen.

Also worth noting that some firmware will force you to home before you move. Others will let you crash the printer on the opposite side. Just a motor, will do whatever you tell it to.

In short. You tell it how the endstops work and what direction is home on a printer.

kamuro
  • 2,972
  • 3
  • 25
  • 43
JJJ
  • 3,133
  • 3
  • 15
  • 29