What’s wrong with my homing?

The gcode system doesn’t have an inbuilt diagnostics system, so when helping customers debug their laser system, we need to be a bit creative to work out what’s going on.

Homing is fundamental to gcode, and it requires all of the following to be right to operate correctly:

  • Limit Switch wiring and configuration
  • Motor wiring and configuration
  • Mechanical movement system

We’ve found the quickest way to understand the root cause issue of a homing problem is what we simply call the ‘2 part home at power up’.

Instructions for the ‘2 part home at startup’. Note point ‘a’ in the top-right quadrant.

The steps are:

a) Turn off your machine
b) By hand, manually drag your laser head into position ‘a’.
c) Turn your laser back on. If you haven’t got ‘auto homing at startup’ turned on, then perform a homing command.
d) Observe the results carefully (recording a video can be helpful).

Here are some possible scenarios:

  1. The ideal scenario – the laser head moves smoothly in the a1 direction, then noiselessly continues in the a2 direction until it arrives at the corner. When in the corner it shuffles away from the corner and then back and stops.
  2. The movement wrong scenario – The laser head does not move in the direction a1 even to start with. For whichever axis is going in the wrong direction, change whichever is easier for you – the motor connections or motor configuration.
  3. The something fundamental scenario – The laser head moves in the a1 direction, but grinding or irregular movement occurs before it gets to the end of the a1 line. This is some kind of movement problem, it could be belt tension, incorrect stepper motor current, or a mechanical obstruction.
  4. The malfunctioning limit switch scenario – The laser head moves in direction a1 and then makes a grinding sound as it moves along line a2. This indicates the Y limit switch is not functioning. The grinding sound occurs because the Y motor continues to push the laser carriage into the far end of the laser cutter.
  5. The switcheroo scenario – The laser head moves in direction a1, and stops there for a while, making a continuous grinding sound. This indicates that the limit switch wires are swapped around in their connection to your controller! Why is that? When the a1 movement completes, the controller ‘thinks’ the laser head has hit the left hand side of the workspace, and so turns off the X axis motor. Meanwhile, the Y axis motor remains on, which of course grinds into the far side of the machine.
  6. The pull off scenario – The laser head moves along path a1 and a2 without noise or dramas, but a moment after it lands in the home position, it report an error. This is probably because you have mechanical limit switches rather than the more typical optical (photointerruptor) version. The mechanical version requires a different configuration to reflect its geometry. Simply type $27=4 in the Lightburn console window then press enter. For further information, see https://awesome.tech/limit-switches-and-homing/

You can also try the 2 part home at power up from position b to help deduce the root cause.

Clear as mud?

Leave a Reply