I want to send to the MKS TFT28 V4.0 TFT screen of my Artillery X1 printer the command: M118 A1 P0 action:notification Time Left hms (e.g. 02h04m06s)
What did you already try to solve it?
*I tried plugin "Display Layer Progress" but I did not find how sent the command M118 instead of M117
*I tried plugin "Event Manager" it function perfectly for orders
M118 A1 P0 Action: Print_start
M118 A1 P0 Action: Print_End
M118 A1 P0 Action: End
M118 A1 P0 Action: Pause
M118 A1 P0 Action: Resum
But I did not find how to spend the remaining time like : M118 A1 P0 action:notification Time Left hms (e.g. 02h04m06s)
The M118 command is used to send commands and not just display.
In my case for the moment with "event manager" it allows me when I launch a print from octoprint , my TFT menu switches to the print screen with access to the babystep for example. In this menu we also have the progress bar that I want to update with the M118 command.
The advantage with the M118 command is that we can address all the serial ports (option P0 in the command) in my case the TFT is not on the same UART as octoprint.
I think, but it is to be confirmed by the community that we could replace in DLP the M117 by the M118. You can make it compatible with both modes by offering this option.
I don't think you can have a printer with a TFT screen and an LCD screen at the same time.