Machine goes to X- coordinate after homing


I recently bought SCULPFUN S30 Pro Max Laser with engraving area extension shaft 935 x 905 mm. Mounted and connected all according to instructions. Downloaded Lightburn and connected and setup the machine as instructed in online manual and video.
The problem is that after homing, X axis goes to - (minus) coordinate and Y stays at 0. When I try to do move the laser, I receive error:
G-code motion target exceeds machine travel. Machine position safely retained. Alarm may be unlocked. (Right-click the ‘Devices’ button to reset the connection)
On or near line 2:

It seams as the machine is expecting to go to X- and Y+ coordinates. In manual it is refereed as Quadrant II.
I have setup the machine (I hope) to use Quadrant I as home position is bottom-left and working area is without offset.
The machine has limit switches and they are working correctly.

Is there any additional setting in the machine that needs to be set for the machine to use + coordinates?

Here are the settings from the machine:
Waiting for connection…
Target buffer size found

Check jogging controls after homing. Do all directions work as expected?

I suspect you will need to invert the motor direction for X.


Non of the jogging controls work. I get Alert 2 constantly.
If I invert motor direction X then when I hit Home it tries to home on to the right (limit switches are to the left), and the laser collides with the railing and then stops.

Your firmware settings are messed up. Did you change them?

That’s because you inverted motor directions AND homing directions. You need to first make the movement correct fitting the arrow buttons. Afterward, the homing directions need to be set.

This should be Zero, unless you have limit switches on both ends of each axis. Did you try using settings for a machine other than a Sculpfun S30?

Meanwhile, I recommend turning that on as well. It doesn’t protect crashing right- or backwards, but it prevents crashing into the switches if the laser head was moved manually. So it’s more a switch protection function :slight_smile:

I presume you meant JOG instead of move manually. Won’t protect from an abusive owner with the power off.

I am not at home to test this, but I think the Home switches will throw an alarm if you Jog into them with $21=0 setting. Could be wrong tho…

No, if you jog, the laser will keep its position updated. I meant moving the head using the hands where the laser won’t notice that the position has changed. This is not uncommon to do that, I use this as well sometimes for rough or fine-tuning of position. Much faster than using arrow buttons :slight_smile:

No, they don’t throw an error. They only do if you have $20 enabled and jog using the buttons (but then the error is not raised by the switches but the workspace protection algorithm).

I already killed a switch because I didn’t turn hard limits on. The laser got stuck for a short time at the workpiece and lost its position during a job. At some moment later, it moved too close to the x-axis limit and broke the switch completely.

Difficult to argue against that kind of evidence.

I just looked at my S30 Pro settings. I do not have $20 or $21 set. Shame on me!!!

Hi to all,

Changing $3=4 and $23=7 as suggested and clicking Home moved the laser to the right and it collided with the railing. Also tried to disable limit switches but it did not work.

Here are screenshots of the machine settings:

Maybe first of all: if you experiment with gantry movement, have a finger on the power switch. If you see it moving to the wrong side, turn it off. The moment you hit the frame, you start damaging your mechanics.

Next, as suggested, use the arrow buttons to move the laser head. Try to click on the right and top arrow. In which direction does it move?
If those are not correct, click on “x direction pin invert” or the same for y. Can you make this work?

And its obvious it goes to the right because “x homing direction invert” is false. Set this to true. So you did not set $23 to 7. Actually, it looks like it’s set to 2.

When I set $23 to 7 it goes to the right away from the limit switch.

And also clicking on any arrow button I receive Alert 2.

No, when you set $3 to 4 (or 0) and then $23 to 7, it homes correctly.

Disable soft limits and test the arrow buttons. It can’t be that you get an alarm in all directions. Two directions will work.

Thank you! Problem was solved.

So the correct setting for me was:

Machine is up and running. Looking forward to see what it can do. :slight_smile:

If $3=1 is working for you, you swapped the x-axis motor cable by 180 degrees. Or you forgot to use the small cable that switches this back. Anyhow, as this can be adjusted in firmware, that’s no problem.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.