Greetings from New Zealand,
I have just installed a lightobjects z table into my k40 which has a c3d laserboard with smoothie firmware.
I have added an end stop at the top of the z table at the focal distance of the beam. If I press the up button in LightBurn the table goes up and the down button moves it down.
If I navigate using the laserboard panel to home all axes the laserboard successfully moves the table up until it hits the switch and then moves down a bit and back up as expected. All good so far.
Reading the coordinates at this homed position says z is 50. Zero is at the bottom. It is configured in the config file on the SD card to home_to_max and the end stop is connected to the z max connector.
Using M119 to test the switch reads zero for not pressed and 1 for pressed.
The problem is when I start a job in LightBurn the table moves all the way to the bottom to where z equals zero plus the material thickness. The table moves down between passes instead of up when I have a positive z step per pass set in LightBurn.
I have relative z moves only checked in the device settings which I thought would allow the job to start at whatever the current z position is but the table moves at the start of a job nevertheless.
I have tried checking reverse z direction but then the up button moves the table down and the down button moves it up.
I seemed to have missed something.