I have made the Homing Sequence G28.2, making the head home to the top.

I have made the Homing Sequence G28.2, making the head home to the top. However, Laserweb still thinks it goes down. So the blue pointer gets located at the bottom left corner in the LW project window, while it really is at the top left.
So every time I start a new file it crashes into the top, because it thinks it has to go up, but should be going down. Crappy explanation, but hope it makes sense.
Can anybody help please?
Also;
What is the relation between home and zero?

(I am running a Cohesion3D on a k40)

+Peter van der Walt would it be possible to add more gcode commands to homing?
So we can home mix, bottom left, and then it moves to the bed by what ever size machine backwards?

G28 XY Y400 for example?

I appreciate your reminder to read the f*cking manual, which I have. I have read the page you are referring to, but don’t understand a few things. How/where do I set up my MAX ENDSTOP in firmware?
I understand this is probably super basic for you, not so much for me.

http://smoothieware.org/endstops
Perhaps peter should have done this one instead :wink:
http://letmegooglethat.com/?q=smoothieware+endstops

alpha_homing_direction
home_to_min

In which direction to home.
If set to home_to_min, homing ( using the G28 G-code ) will move until it hits the minimum endstop and then set the current position to alpha_min. If set to home_to_max, homing will move until it hits the maximum endstop, and then set the current position to alpha_max

The configuration already came on the microsd card, which already sets Y homing to max, as well as the proper pins for this.
Test your endstops by moving the head to the top left corner and running
M119
using the terminal box in the bottom of the LaserWeb window. You should see a 1 in the output line for each indicating that the X min and Y max endstops are engaged.

@raykholo yeah, we have done that. The end stops work. So does the homing.
But the issue is that when the head reaches home position(0,200), the software thinks it is at 0,0.
This obviously causes trouble when running a job, because laserweb then wants to move the head up to start the job, while the head already is at the top.

Ok, I see your point. Can you open the config file on the microsd card? In the endstops section we should see 2 things: first that beta_homing_direction is set to home_to_max
And second that the y min value is 0 and max value is 200. This is how it comes on the card/ file I provide. Can you please confirm this?

Yes, that is how the config file reads. :+1:

Then do a homing and run an M114 command, see what coordinates the machine thinks it’s at.

It reads:
C: X:20.0000 Y:-30.0000 Z:0.0000

As you see, now the blue pointer is way under the working area. When in fact it is at home (0,200).

Well that doesn’t sound right at all.
I will ask that you back up your config file, format the MicroSD card, and place a new config from the Dropbox onto the card. Safely eject the drive, reset the board, etc…

If I remember correctly you are pulsing L at 2.5 so use the config in that folder.

What’s your adress, can I send you a Christmas present? :blush:
That worked like a charm, so the issue was clearly the config file.

@Andreas_Benestad ​ I have exactly the same problem with you … i manage to do the above

And when i hit the home button the laser mark going to right position