I hope someone can help me, for which I am very grateful. For a few months now I have been working with laser technology and have assembled a device for myself. Now I would like to be able to operate the laser not only with the PC. As software I use Lightburn. I would like to be able to start the device offline with this controller.
I have the following problem. I use the CNC firmware 1.0.1 in the MKS TFT 32 to control my MKS-DLC V 2.0 (GRBL 1.1h) for laser engraving. I selected CNC in the config file so that I can also use 3 axes. The baud rate corresponds to that of the controller 115200.
I have not connected the USB input of the controller to the PC. The message “connected” appears in green on the screen. After tapping a button, it turns red “disconnected”.
What type of wire do you have running between the TFT and the DLC board? Is it an 8 pin ribbon, or are you using separate dupont wires? I ask because if the RX and TX pins are reversed, that may happen.
Thank you for the quick reply. I have used the appropriate supplied 8-pin ribbon cable, which is plugged anti-twist. The connection can not be the problem. The interesting thing is, when I connected the PC with Lightburn, the buttons respond, but just an offline operation is not possible.
I am very grateful for the tips. I have looked at the thread. Unfortunately, I can not find a clue there for me for my problem.
I have played the latest firmware on the display and still always get the same error screen.
After the start appears first “connected”, but as soon as I e.g. in the menu Move a key press, then appears again “Disconnected”. I have not connected USB.
Maybe a few infos or considerations that could help.
I noticed that after “disconnected” appeared on the display, after about 45 seconds “connected” appeared again and the game started again from the beginning. Is it possible that there is some kind of lock due to a command. I think I read something like that in your thread. Only unfortunately I do not know myself with the individual commands so well. Do I have to change something in the config file?
It’s possible the init lock alarm is on. This prevents the machine from moving until it is soft reset or homed. You either have to send a $X or home the machine to clear it. Unfortunately, this can’t be done from the TFT. If you comment out the init lock in GRBL before compiling, this may solve your problem. Try connecting USB and sending $X from ugs or pronterface or whatever gcode sender you are using, then try operating from the TFT.
EDIT: sorry, you can home from the TFT, but not send the reset command. But that’s only if you have homing enabled
I have entered the reset command $X once via Lightburn’s console and once via the terminal program, but no success.
I have recorded the sent data from the TFT with a terminal program. Error 9 occurs when I have pressed a key in a menu. Then appears “Disconnect” with the error message error 9. If then “Connect” appears the following blocks come.
I then connected Lightburn again via usb and there the display reacts as it should, the homing position works and also the movement in the corresponding axes (Softlimits and Homecicle I then set again to true). As soon as I have interrupted the usb-connection or close Lightburn, the display is disconnected.