After 'homing', Origin changes by 2mm for future cuts until I 'home' again

I bought an Atomstack P9 M50 some years ago, and didn’t really get on with it, so it had little to no use, mainly because the fumes meant I had to put it in the garage, and I didn’t have a PC, so had to use SD cards and it was a PITA if I wanted to change the design or parameters. I dabbled with a couple of minor jobs but gave up.

I recently acquired a laptop which was powerful enough, so I decided to try again and its making more sense.

But I am struggling to burn exactly where I want…

I watched a few videos which covered “Absolute Coordinates” and this will certainly work.. But I am having a problem. I have set ‘Start From’ to ‘Absolute Coords’ and proved that it works by moving stuff around the working area, which reflects on the physical bed.

So when its time to burn I do “home” and then send the job, it does it where I think.. But if I then if I hit start again, it does the same job, but this time 2mm to the right.

And from here on, I can do the same job over and over and its EXACTLY in the same place as the 2nd job.. Its perfect.. If I “home” again, the next print is in the 1st place.. And again the 2nd is 2mm to the right.

I can reproduce this at will.. If I draw a circle.. Go to ‘home’.. and then “start”, it burns in location X.. If I go ‘home’ and and “start”, it burns in exactly the same place… But if I “start” again (without homing) it will come out 2mm to the right.. And from then on, it will burn in the same position (2mm to the right) every single time.

I guess this is either a config thing in Lightburn, or a bug on the Atomstack. Does anyone know what I can do, if anything to fix this?

Welcome to the forum! We are happy to help.

It is MUCH easier for the forum to give you concise solutions if you can help us see what you are working with.

Screen shots are the best - press SHIFT+WIN+S to open the clipping tool. Drag a box around what you want to copy, and then ctrl+V to paste that screenshot into the discussion.

Screenshot of your work space

Screenshot of your cuts and layers window

Screenshot of your Preview screen

With that info, we can usually diagnose your issue in one reply, rather than having to ask multiple questions.

Not really sure what I can show… For the purpose of this test, I just draw any shape (for my tests a circle) and start it..

I can’t really show you what is happening with screengrabs.

This is what happens when laser is set to “Absolute Coords”:

  1. Press Home, laser goes to 0,0
  2. Press Start, circle is burned
  3. Press Home, laser goes to 0,0
  4. Press Start, circle is burned exactly over the one from step 2
  5. Press Home, laser goes to 0
  6. Press start, circle is burned exactly over the one from step 2 & 4
  7. Press start, circle is burned 2mm to the right of the one from Step 2, 4 & 6
  8. Press start, circle is burned in the same position as step 7
  9. Press start, circle is burned in the same position as step 7 & 8
  10. Press Home, laser goes to 0
  11. Press start, circle is burned in the same position as step 2,4, and 6

I don’t really know how to show this… Here is what it looks like when its burned

It doesn’t matter what I design.. I havn’t even got that far yet.. i am just doing some experiments to familiarise myself with how everything works.. But I can’t get a cut to happen exactly where I want it because of this.. As long as cut ones after homing, and then don’t home again, it cuts in the same place every time, but I am sure its not ment to be like this.

If you make a third does it move again or stay the same as the second? My guess is you have play in your X drive probably due to loose set screws in the drive pulley.

No.. I tried to capture this in my last post when I said

  1. Press Home, laser goes to 0,0
  2. Press Start, circle is burned
  3. Press Home, laser goes to 0,0
  4. Press Start, circle is burned exactly over the one from step 2
  5. Press Home, laser goes to 0
  6. Press start, circle is burned exactly over the one from step 2 & 4
  7. Press start, circle is burned 2mm to the right of the one from Step 2, 4 & 6
  8. Press start, circle is burned in the same position as step 7
  9. Press start, circle is burned in the same position as step 7 & 8
  10. Press Home, laser goes to 0
  11. Press start, circle is burned in the same position as step 2,4, and 6

Its burns in 2 positions.. One straight after home.. And the 2nd, the job immediately after.

If I only home once and run the job 4 times as a test… It once in one spot and 3 times in another (2mm to the right)

If I run the 4 jobs but home after every job, it burns all 4 on the same spot..

I am amazing how accurately it cuts on the same spot.. it just shifts between 2 different positions if I do ‘home’ or not.

Absolutely agree with Dskall. You have an issue with the axis where the drift is appearing (x axis I assume) Check your belts and bolts - it is 100% a mechanical issue rather than software. The forum hive-mind will help you get it sorted.

Also check you laser head mounting bolts - and anything else that can shift out of place.

I hear you.. But how am I able to burn at exactly the same spot, over and over and over.. it only happens when I ‘home’.. I don’t doubt you, but I am trying to imagine a scenario where the belt could slip when I ‘home’, but between jobs.

I will have a good look tomorrow and see if I can see anything obvious…

Homing shifts the shaft on the pully and you get one position, when it engraves it shifts again and stays in the new position which is why it will then engrave in the same spot again. Just tighten your set screws and you will solve the problem.

Make sure the laser and the wood don´t move.
The machine may also have some “belt tooth” tension at the home position, with the laser connected save your machine settings to a file before the next step, keep that file in a safe place for future use if needed.

After that change $1 to 255 and repeat the tests.

A bit of info on GRBL settings.

Explanation: This keeps power on the steppers so they cannot move or “bounce back” due to cable tension. Once the machine is Homed, movement of the laser module should never be permitted without using Lightburn control. If the module physically shifts in position, or it is moved by hand, neither the controller nor Lightburn knows this.

An update on what I have found.. All the belts are tight and the pulleys secured.. Everything is rock solid.. I am from a 3D printing background with 12 years experience so I would have been surprised if not disappointed if this had been the problem.

I do think I might have found the root of the issue.. and it could just be a bad design of the laser.

If I go “home” it uses limit switches to detect when its there.. But once its in place, I would assume that this is 0,0?? But if I use the “Move” tab and go to 0,0 the head moves a mm.

So whether this is hardware or software I can’t tell.. But even though it moves to ‘home’ and I assume marks this as 0,0 when I move to 0,0 its not quite there.

this would explain the problem, as after the cut, the settings make it go back to 0,0 which is clearly putting it in a different place to “home”.

I wonder if moving to 5,5 instead for example might help, so this is something I am going to try.

Someone did have a good idea, which was to do a “home” before every print and add this into the Start G-Code but I can’t for the life of me work out how to do it.

Does anyone know how I can make the laser go/set “home” (using G-Code)?

If anyone else has any other thoughts how I can work around this, whilst still using Absolute Co-Ords, I am open to trying.

@parsec I havn’t ignored your ideas.. I am focusing on hardware for today..

When you start your machine, the laser does not go home, touches the end stop, moves out a little again to finally precisely go to 0:0? - does this startup process work normally?
What does the position write?

I will go out and check in a bit.. I don’t think my machine homes on startup.. But I have LB set to home when it start. But all of my tests have been with the “home” button

When I hit the “home” button, the head goes to the end stops and just sits there.. This I assume sets the head to 0,0

But if I then “move” to 0,0, it moves just a little bit (in one direction (not sure which is X or Y on my machine as I have it facing a weird way)).

I didn’t know there was a “get position” feature.. I will check.

Try to see if you can’t find anything here, the source is recommended :wink:

I have cracked it… I can’t tell you how happy I am.

@bernd.dk It was the “Get Position” feature that helped me work out what was going on.

After “homing” get position showed it at 1,1. And I realised, like you said, it was deliberately moving 1mm away from 0,0 after homing to a park position at 1,1

All jobs from here cut in a given position on the bed.. But if I moved the carriage to 0,0 and cut, it would cut in a different position?? Why?? Because the limit switches have a bit of spring on them and this physically pushed the carriage away from 0,0 without but the cutter or LB didn’t know (obviously).

So the software thought it was at 0,0, but the carriage had actually moved a mm or so.

Because of this starting at 1,1 (after a home) made it cut in one position. But starting at 0,0 made it cut in another.

To fix this I changed the “Return to Finish Position” to 1,1 and now its fine.. It cuts in exactly the same place every time.

This is clearly a slight quirk of the Atomstack P9 (and perhaps other similar cutters).. When the if carriage goes to 0,0, the spring in the limit switches physically moves it back, so that its not actually at 0,0 any more.

Thanks all for your patience.. I really appreciate your time.

Nice that you have made a step forward.
But your conclusion does not look quite right. The laser head moves to the switch, triggers it and moves back a certain way at a certain speed/time to slowly drive back to the switch to activate it finally. The laser should not drive so far back to the switch that it is physically pushed back. It is as if it calculates the end position incorrectly. Possibly the time the laser drives back (from the endstop) is not long enough. How does the movement to the end switch look on the other axis?

Even with the machine powered off I can see that this is happening..

If I manually move the head all the way 0,0 and let it go, it moves very slightly away, and I am 90% sure that this is pressure from the limit switches.

So when you home, it deliberately moves to 0,0, presses the switches and then moves out 1,1 where it sits quite happily with LB knowing that its at 1,1, so all jobs are based on it starting at 1,1

But when the cut is finished, LB tells it to go to 0,0.. Where it goes and then bounces back (not under software control) because the switches (or something springy) are pushing the carriage away.

So LB thinks the head is at 0,0, but its actually moved…

If I set LB to go to 1,1 after the cut, it goes back to 1,1 after cutting and sits there quite happily and doesn’t move.

I can reproduce this at will.. if I use “move” to put it at 0,0.. it goes there, LB thinks its at 0,0, but the carriage moves slightly due to some spring tension… But if I “move” it to 1,1 it goes there and stops and does not move. And now LB thinks it at 1,1 and it is at 1,1.

This is some physical issue with the machine itself, where there is some spring tension, right at 0,0.. And as I said, I think its the springs in the switches doing it. It might not be the switch.. Perhaps its some spring in the cables.. But its 100% a problem with the machine where it doesn’t like sitting at 0,0.

W

With your hand or Lightburn. You should never move it by hand. If $1=255, it should be very difficult.

As @bernd.dk said, this is not a “quirk” and should not happen.

Your description of the Home cycle is confusing. Does it match my description below?

HOME

  1. Trolley and gantry rapid move towards the switches.
  2. When the switches are hit, the machine will stop and reverse. First Zaxis must complete if installed, then X and Y. It may not reverse X or Y until both switches are found for X and Y.
  3. The machine will pull off the switches slowly until the switches open.
  4. The machine will reverse back onto the switches very slowly until the switches close.
  5. The machine will reverse and pull off the switches slowly until they open.
  6. The controller establishes this as the Home position. It is usually shown as something very close to 0,0 as the position if the controller is set for the first quadrant. If it shows large numbers, this can be changed with the G10 command.

If you have limit switches, this is how it should work.

If you do not have limit switches, where it powers up is the Origin. Home is a machine mechanical function. Origin is a software design position. They are not the same thing.

If yours does not do it this way, please state step-by-step what it does.

I fear I am explaining this badly… Let me try again.

So first of all, I 100% have a mechanical fault or quirk on my machine. If I remove the power and just move the carriage by hand to the home stops and let it go, it “springs” back a mm or so.. I believe this to be either the spring pressure, or perhaps the cabling but there is no doubt that if I push the carriage as far as it will go and release it, it springs back only a tiny bit, but enough…

In LB, if I do “home”, the carriage deliberately moves to its limits.. Presses the switches.. And then moves back to 1,1… After this if I do “Get Position” its shown as 1,1.

As far as I can tell, home instructs the carriage to move as far as it can go until it detects the limit switches.. It then marks this as 0,0.. And finally deliberately moves out 1mm on each axis to end up at 1,1.

After homing my carriage is at 1,1 and works fine and lays down the job where it needs too.. As long as I home between jobs, it starts at 1,1 each time and cuts in EXACTLY the same place each time

However, if do a “move” (in software) to 0,0 and then cut, it doesn’t quite align with the cut I made after homing (which started at 1,1)

In summary if i start at 1,1 and cut, its cuts in place X.. And if i start at 0,0 it cuts in place Y where Y is slightly different to X.

And the reason for this is the very first thing I said at the top, because my Cutter has a Quirk/Fault. When my carriage ends up at 0,0 it ‘springs’ back slightly to a new position.. But because it does this mechanically and not via software, LB still thinks it at 0,0 (confirmed with “Get Position”), even though it has moved slightly.

It seems the root of the problem was that after cutting LB was instructed to move 0,0. So after a job, the carriage would move to 0,0 and then because of my “spring” problem, the carriage moves slightly so its not actually at 0,0.

The solution was to make LB move to 1,1 after cutting.. And this has entirely solved my issue. Now every single job I do, will cut in exactly the same place.. It doesn’t matter if I “home” first or not.. I drew a cross and ran it 10 times and every single time its in the same place, one burn on top of another..

I don’t want to waste anyones time with this.. For me its fixed.. And it might only be me who has this issue.. But I am happy with the workaround I have come up with.. I am only likely to use this a few times a years.. Its not something I am using regularly, so its not worth spending more time on this.. As long as I can burn exactly where I want, I can do the odd engrave when I need too as thats all I wanted..

Again, thanks to everyone for their help.

Some lasers have that quirk
Test with $1=255 and everything is solved.