As this is my first topic this year, Happy New Year everyone
I am starting by telling you that the issue is not extremely important, but perfectionist as I am, I would like to see it resolved.
I have an MKS DLC32 board controlling the laser machine and the issue is that to have the X axis working in the correct direction in Lightburn it âhasâ to be inverted using the boardâs display command.
If I put the value 2 in $3 through MKStool (Board Installation and Configuration Tool) the axis controls work fine using the display connected to the board (MKS TS35-R V2.0)
When I turn it on and control it with Lightburn, the X axis is inverted.
By accessing the board through Lightburn (Machine Settings) and changing from âfalseâ to âtrueâ âX direction pin invertâ and clicking on âwriteâ axis control is restored. However, the control of the X axis is inverted by controlling it via the display.
I did a test to check if using the LaserGRBL software (which I hadnât used since I installed the LB) the same thing happened, and I realized that with this software the control remains the same as that used via the display.
Question for queijinho (little cheese as we say here in Portugal, inspired by the game âTrivial Pursuitâ) it will be necessary to load the corrected initial configuration file (dlc_cfg) so that the X axis works in the same way in both control options (LB and display) or is there something that can be done in the Lightburn settings?
Both MKSTool and LightBurn should be changing the same $3 GRBL configuration. So changes in one will affect all applications using the controller.
This is surprising as LightBurn and LaserGRBL should behave the same way here.
Some questions for you:
Can you start by describing how your direction controls actually function in LightBurn when configured correctly for LightBurn. Does left move the laser left, right move right, up move up, and down move down?
Whatâs the origin configuration in LightBurn. Can you take a full screenshot of LightBurn?
Can you run these commands in Console and return output?
$H
$I
$#
?
Can you turn on âShow allâ in Console, then initiate this sequence of jogging moves: up, right, down, left. Then return the output of Console
Precisely. Thatâs what I thought and I was also surprised.
Facing the machine, the direction of the buttons corresponds to the direction of the laser head. Left button moves left and right button moves right. Button up moves the laser head towards the back of the machine and button down moves it closer to the front of the machine.
Of course. Iâll just place the laser head in the center of the table so I can execute the commands without hitting the âHard Limitsâ
Then the commands were made in the requested order.
This is something embarrassing.
Now that I did the test you suggested, LaserGRBL worked exactly like Lightburn, only the direction on the display remains inverted in relation to the software used.
The other day I was going to swear that it didnât behave this way because I was wondering how one software works according to the display and the other doesnâtâŚ
Well, that breaks the hope of being able to reproduce those results on the LightBurn side. On the other hand, it means a single solution could potentially resolve both applications.
This can likely be fixed through a firmware update but an initial search doesnât come up with a solution.
This would be my next option, using Github to try to find a solution. Since you have already found the answer I was looking for, I would like to thank you for the consultation work you saved me.
Since I had to install a specific firmware version to install the âflame detectionâ option, Iâm afraid that if I reinstall another firmware version the âflame detectionâ function will no longer work. And I prefer the active function to having the X inverted on the display. at least since I use it very little.
In the midst of the complexity of the entire firmware, reversing the direction of the X arrows doesnât seem complicated to me. Probably because it was so basic it escaped the programmersâ eyes when they sent the firmware out.
Iâll probably install newer software, to experiment, if everything works, great. Otherwise, I install the current firmware again and the X appears inverted on the display.
If you do this before this topic closes, Iâll leave the result here.
So,âŚ
With another firmware the problem is âsolvedâ but on the other hand I am left without the âflame detectionâ function, which doesnât interest me at all.
Therefore, until a new firmware comes out, I will keep the X axis inverted on the display and the âflame detectionâ function available.