Origin problem after enlarging work area

I am using a laser with a YoraHome Silverback CNC. The YoraHome controller has a CNC/Laser switch which allows it to work with a router or a laser. The work area is 600 mm X 600 mm. Home and origin is in the front left. I typically use absolute coordinates. I am using the latest version of LB with Windows 11. This configuration has operated correctly.

Recently I expanded the work area to 1000 mm X 1000 mm. After expanding the machine I changed $130 and $131 from 600 to 1000 and updated the machine size in Lightburn. Now it still homes properly in the front left but the coordinates are not X = 0, Y= 0. Coordinates are X = -15, Y = -15. 0,0 is closer to the center of the work area.

If I try to cut something near the front left it frames properly but when I hit start the laser moves to 0,0 near the center of the work bed.

Any ideas on what’s causing the problem? If I switch everything back to 600 X 600 it works properly.

Thanks

Not sure why it is doing this. The usual complaint is that the numbers are positive. For this reason, I am going to suggest an extra step for the fix, and assume you have a Zaxis.

  1. In the Console window, enter G10 L2 P1 X0 Y0 Z0 (this removes any machine coordinate offset). If you get things screwed up, you can always enter this and start over.
  2. Home the machine and record the coordinates in the Move window. For a CNC, they will typically be large numbers.
  3. Plug in those numbers in this command string and enter it in the Console window, G10 L2 P1 X(-Xnum) Y(-Ynum) Z(-Znum)
  4. The command should look something like G10 L2 P1 X-1000 Y-1000 Z-45
    ^^ Basically, you invert the polarity of whatever is shown in Step #2..

Let us know it this clears it up. Some controllers adjust the output with the pull off amount ($27) and not report exactly 0,0,0.

1 Like

Thanks for the quick response. After running the command in your line 1 the X & Y coordinates at home position are -39.252 and the Z is -0.118. 0,0 is still in the back right.

When I entered a positive offset (39.252) in your line 3 I get X=-40.797, Y=-40.797 and Z-.123. These went the wrong way and not by the expected amount.

After entering the line 1 command again I tried entering -39.252 as the offset and got X-37.707, Y-37.707 and Z -.113 when in the home position.

All of the axis move in the correct direction using the Move window.

This is correct. That is determined by the controller, although I expected positive values in Step #2

Yes, this makes sense. This also tells us the polarity is wrong.

I think you have zero out the G10 (enter line #1 as shown and Home the machine again) before entering new numbers. I think it uses existing numbers when computing the new position.

Try again, but enter the opposite sign when entering the replacement numbers. Fortunately, once it is set, it does not have to be done again.

If this does not work, there might be another offset in effect, typically G54.

Well I finally got the home position to be 0,0,0, but when I drew a few squares in the lower left front and pushed frame the laser head still went to the back right corner.
I connected the machine to UGS (Universal Gcode Sender) and set the home position to 0,0,0. The machine worked properly with UGS.

I then connect Lightburn and now the Home position shows 0,0,0 for the corrdinates. I drew a few squares in the lower left front and pushed frame and the laser head framed in the correct position this time. I ran out of time to actually try to cut a project but it looks like it may be fixed.

I noticed UGS sent the command G10 P0 L20 X0, G10 P0 L20 Y0 and G10 P0 L20 Z0 to zero the origin point. I haven’t studied G-Code enough to know what the difference is.

Thanks for the help.

1 Like