Smoothieware and Homing fail

Good morning everyone. I ask for help from you experts. I did an upgarde of my k40 by expanding the worktop but now LB returns a homing error. The MB is a Viper first version (Smoothieware) and I use mechanical end stoppers. The strange thing is that after the homing error, if I press the home button on LB for two consecutive times, the laser does the homing regularly! What could it be?

What exactly was changed in this process?

What is the exact error that you’re receiving?

Installed mechanical end stop switch (makerbot). The message is ALARM: Homing fail

I want to make sure I understand what you’re saying. You both increased the size of the frame and also installed mechanical end stop switches? Are you saying the machine previously did not have switches at all?

Can you provide a photo of your machine with details on what’s changed?

Does the machine move at all when first attempting to home? Are you referring to homing at startup of machine or when requested by pushing home button?

Also, can you confirm that you’ve configured your device as Smoothieware type in LightBurn.

No before the changes the machine had two optical end stopper (the classical end stopper from k40 chinese machine).

Yes the machine moves normally and I refer to startup of machine and when I push the home button.

Obviously I configured the Smoothieware device in LB

When the machine starts up and starts moving the laser head toward the end stops, does it crash into the frame? Or what happens? Does it stop when connected with the end stops?

Do you have end stops only at home location or also max X Y positions?

Please run these tests and return the output:

  1. Power cycle your machine. Copy and paste all output from Console including the homing error
  2. With laser head in middle of machine, run M119 command in Console. Return all output
  3. Press and hold end stop for X-axis, run M119 while still holding end stop. Return all output
  4. Press and hold end stop for Y-axis, run M119 while still holding end stop. Return all output
1 Like

Many thanks! Today, after work, I’ll try this solutions and refer to you

However, the machine doesn,t crash into the frame but stops before the end stops. I have end stops only aat home…

How far does it move before stopping? How close to the ends tops do they get?

What was the original size of the machine and how big is it now?


This is the homing error!

Do you have a Z-axis and End stops for Z-axis? It looks like Z end stop is showing as constantly engaged.

If you do not have Z then disable Z-end stop.

Can you answer these questions?

Also, was the machine previously running Smoothieware or this is part of the upgrade?

I haven’t z-axis neither end stop for z-axis. How I can do for disable z-end stop?
The movement before stopping is not constant, sometimes the machine stops very closer to the axis, sometimes no. The original size was 310x210, now 540x430.
The machine mounted smoothieware previously.

Can you extract the config.txt file from the SD Card and post it here for review?

config.txt (24,1 KB)

Take a backup of your current config.txt, then make these changes and retest. I don’t think all of these are strictly necessary. It’s hard to say based on what you’ve said but I’m guessing it’s the alpha and beta max travel settings that are going to be relevant.

alpha_max                                    540     # 310 X    this gets loaded after homing when home_to_max is set
beta_max                                     430     # 210 Y

gamma_max_endstop                            nc            #

alpha_max_travel                             540    #  310 X       max travel in mm for alpha/X axis when homing
beta_max_travel                              430    #  210 Y       max travel in mm for beta/Y axis when homing

homing_order                                               # x axis followed by y then z last

#soft_endstop.z_min                           -50                 # minimum Z NOTE leave commented out to disable checking for this axis
#soft_endstop.z_max                            0                # maximum Z NOTE leave commented out to disable checking for this axis

Perfect! Now the machin homing perfectly!
Thank you for your help, you were great!!!
Maerry Christmas

1 Like