This article includes the following information about SmoothieError homing fails:

  1. Description

  2. Possible situations - robot is homing

  3. Source for error trigger

  4. Axes of errors

  5. Table of axes

  6. General cases

Description

A homing fail occurs when the limit switch was unexpectedly not hit while the OT-2 was homing. Homing fails usually happen if a) you’re using different hardware with a different axis length or b) the axis is stuck or skipping during the home.

Possible situations - robot is homing

When in use, the robot goes through the homing process many times. This includes the gantry homing in the X and Y axes, the pipette mounts in the Z and A axes, and the pipette plungers in the B and C axes. You may have homing fails any time during gantry/pipette movement, including:

  • Powering on the OT-2 (homing indicates it is powering on correctly)

  • During calibration steps

  • Start of a protocol or during protocol runs (after .drop_tip() or if specified in protocol using .home() )

  • Robot Calibration Health Check

Source for error trigger

There are several possibilities for the source of the homing fail:

  1. Pipette plunger is stuck/not operating properly

  2. Poor pipette attachment and/or electrical noise/static friction build up

  3. Faulty pipette

  4. Bent/broken limit switch

  5. Electronic board malfunction/broken communication cable

    1. Typically a result of a faulty motor controller board, but could also be an error with the central routing board, Raspberry Pi, or any of the connecting cables.

Axes of errors

When examining the G-code of a homing fail, like this one:

SmoothieError:
M907 A0.1 B0.05 C1.0 X0.3 Y0.3 Z0.1 G4P0.005 G28.2C returned ALARM: Homing fail

The main piece of information you should focus on is the last part: G28.2C. This shows the axis/component the OT-2 was trying to home at the time of the error, but does not indicate + or - (that’s for hard limits) and, thus, you can start your troubleshooting there.

Table of axes

Axis Name

Description

Limit Switch Location

X

Gantry right (+X) and left (-X).

+X

Y

Gantry back, away from front window (+Y) and forward, towards front window (-Y).

+Y

Z

Left pipette mount up (+Z) and down (-Z).

+Z

A

Right pipette mount up (+A) and down (-A).

+A

B

Left pipette plunger up (+B) and down (-B).

+B

C

Right pipette plunger up (+C) and down (-C).

+C

General cases

1. Axes B/C - Pipette plunger

The robot is halting during calibration/running a protocol and throwing an error message like this:

SmoothieError:
2M907 A0.1 B0.05 C0.05 X0.3 Y1.25 Z0.1 G4P0.005 G28.2B returned ALARM: Homing fail

In the above case, the left pipette plunger is throwing the error (B-axis):

  1. Remove the pipette and inspect it to see if there is anything obviously physically wrong with it (any rattling noises inside if you gently shake it, for example).

  2. Reattach to the left mount to see if the error persists

    1. If it works, most likely the cause was electronic noise/static build up that was dissipated when the pipette was removed.

  3. If the error continues, try running the unstick_axes.py protocol on the OT-2 (see below) and then home the OT-2 from the Opentrons App. Note that you may need to run this protocol 2-3 times if the first attempt was unsuccessful.

    1. Afterwards, rerun the original protocol to be sure the pipette is functioning properly.

      1. If the original protocol is really long, you might want to consider making a quick test protocol in Protocol Designer that has the pipette pick up a tip and do a transfer with your labware.

unstick_axes.py protocol:

metadata = {
"apiLevel": "2.8"
}

from opentrons import protocol_api
from opentrons.drivers.smoothie_drivers.driver_3_0 import SmoothieDriver



def run(protocol: protocol_api.ProtocolContext):
protocol.comment("B and C motors are performing the unstick axes commands")
if not protocol.is_simulating:
for i in range(3):
protocol._hw_manager.hardware._backend._smoothie_driver.unstick_axes('BC')

Continuing from the above example where the pipette was first mounted on the left when it was throwing the error...

4. If the error persists after running unstick_axes.py: Try attaching the pipette to the right mount and then home the robot from the Opentrons App. Additionally, you could go through the calibration steps or run a protocol after swapping which mount the pipette was originally on to test if the error is still occurring.

If a homing fail occurs on the right mount (would be on the C-axis in the error message): The pipette is most likely the source of the error, unless both mounts are experiencing a hardware error. The pipette may need to be replaced in this case as we typically don’t want you to have to open the pipette.

If the pipette works perfectly on the right mount: Most likely the error is the left mount (faulty hardware) and will require hardware troubleshooting.

To be completely sure which case is occurring, you can also test another pipette on the left and right mount to see if it has the same behavior.

2. Axes Z/A - Pipette mount

The robot is halting during calibration/running a protocol and throwing an error message like this:

SmoothieError: 
M907 A0.1 B0.05 C0.05 X0.3 Y1.25 Z0.1 G4P0.005 G28.2A returned ALARM: Homing fail

In this above case, the right pipette mount is throwing the error (A-axis). The troubleshooting will be very similar to that mentioned for the pipette plunger, except that the investigation will involve the homing limit switches for the pipette mounts. You should follow the same steps from 1-4 (exclude step 3 as that is plunger specific).

3. Axes X/Y - Gantry

The robot is halting during calibration/running a protocol and throwing an error message like this:

SmoothieError: 
M907 A0.1 B0.05 C0.05 X0.3 Y1.25 Z0.1 G4P0.005 G28.2X returned ALARM: Homing fail

In this above case, the gantry is not hitting the X-axis limit switch. The X and Y limit switches can be found on the back, right corner near the top of the Z-stage/gantry, each one labeled X and Y, respectively, on a white tab (see below, circled in red):

For these error messages:

  1. Check that all shipping brackets are removed.

  2. Inspect the X/Y limit switches to see if they are broken/bent.

  3. Inspect the electrical cables to see if they are properly connected or damaged in any way.

  4. Press the X/Y limit switch a few times manually and try homing again. Sometimes the switch can get “stuck” and keep the motor controller board in a failure state, throwing this error.

  5. If the error still presents, proceed to hardware troubleshooting.

Additional resources:

If you have any questions, please reach out to us at support@opentrons.com or through our live chat!

Did this answer your question?