Totem S with Limit Switches / Homing

Started by homing the laser head.

$#
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000]
[PRB:0.000,0.000,0.000:0]
ok

Back right (position after homing)
?
<Idle|MPos:-1.000,-1.000,0.000|FS:0,0|WCO:0.000,0.000,0.000>

Back left:
?
<Idle|MPos:-300.000,-1.000,0.000|FS:0,0|WCO:0.000,0.000,0.000>

Front left:
?
<Idle|MPos:-300.000,-287.000,0.000|FS:0,0|WCO:0.000,0.000,0.000>

Front Right:
?
<Idle|MPos:-1.588,-287.000,0.000|FS:0,0|Pn:X|WCO:0.000,0.000,0.000>

The switches are now in the back right corner. I actually like it homing back there because it gets the head totally out of the way.

I haven’t attempted printing anything yet. What will be the effect of the negative coordinate values?

What position is the origin in Device Settings now?

You don’t want to be working in a negative coordinate space. In fact, LightBurn expects a positive coordinate space.

And do you have a preference for where you want 0,0 to be ? What corner?

The position is currently set to the bottom/left, which is where I would like “0,0” to be. Is it possible to have it “home” to the back/right corner and still have it use the bottom/right as “0,0”? I’m thinking it’s possible because of being able to set the “working size” in the setup.

Typo! I meant “bottom/left” for “0,0”.

Yes. You can accomplish this with an offset.

G10 L2 P1 X-300 Y-300 ; this will set the offset
$10=0 ; this will change how the controller sends status from machine position to working position

Run these commands, rehome and check that bottom left is 0,0 and top right is 300, 300.

Ok, I believe I’m in business now! I homed the laser, then using the arrows on the “Move” screen I moved the head all the way to the left until it ran out of room, which ended up being “300”. I then moved it to the bottom left, and it ran out as it hit 285. So I subtract 1 from each of the max values and used those in my “Home Setup” macro:

$21=1
$22=1
$23=0
G10 L2 P1 X-299 Y-284
$10=0

Now, when I tell it to go to X=0 Y=0, it zooms down to the bottom left corner and stops just short of colliding in either ditections.

Thank you so very much for walking me through this. I purposely held off getting the laser until the winter set in because we do so much outdoors during nice weather. Well, I ended up being just as busy after the weather turned cold to be able to completely focus on the laser. I have a stack of different materials to start experimenting with (plywood, cork, slate, etc.) so now I’m looking forward to getting creative!

Oh wow. This sounds like a good time. Except for the cold weather part.

One note, if your workspace is now effectively reduced in size you may want to update your overall X,Y sizes.

What are the position numbers at the far upper right corner? Whatever the max values you may want to change $130, $131 to match as well as LightBurn workspace size.

This way LightBurn will have awareness of your laser size as will the softlimits.

Yeah, we have a new camper, two sailboats, two kayaks, two bicycles, three motorcycles, & when the weather’s nice, we’re not home much! With 5 kids & 7 grandkids (some playing sports), we’re constantly on the run.

I’ll update my settings when I get back home.

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