-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] M117 cannot display : character #16722
Comments
Configurations, please |
I have attached the factory ender-3 configuration.h as requested, (i am not using a custom build) but …. In my initial write up, I should have used the term "line splitting" instead of concatenation. M117 PrtTm 02 This is STANDARD gcode behavior. (standard, but little known and unfortunate). What I am asking for is a way to temporarily disable (at command level, not at custom build time) the line splitting behavior associated with the : character. e.g. |
Wow - thanks for the update. But I am getting different results on 3 different printers with factory builds. They are all based on 1.1, so that must be why. Nice to see its fixed in 2.0 Is the above test command coming from an sd card, or a serial port? I think the : splitting support is only in the SD card command parser code. ( get_command() in Marlin_main.cpp - search for ':' ) I only use SD based printing, as I tend to keep my PC in sleep mode as much as possible, and windows is too unreliable to keep in the critical path for long prints. |
Marlin_main.cpp doesn't even exist any more. no mention of printing from SD card in original post at all. thus i used serial From SD. |
Its now in queue.cpp
https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.0.x/Marlin/src/gcode/queue.cpp#L520 |
I think its a typo from the stone age.. meant to to be ; to drop any end of line comments that got onto the sdcard. |
"thinkyhead" has just removed the ":" code as no longer needed. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Need a way to disable ":" line concatenation feature for M117 commands.
Ideally should not require modification of the M117 text.
e.g. Prefer some form of a prior gcode command, (not compile at time).
e.g. M??? C0 ; disable colon line concatenation
Another solution would be to ignore :'s that appear inside a quoted string. However, this method has the disadvantage of requiring modification of the actual M117 command (which may be generated by a slicer that you cannot directly control).
Steps to Reproduce
M117 PrtTm {print_time} ; display estimated print time as computed by cura slicer
-- or --
M117 PrtTm 02:22:33
Expected behavior: [What you expect to happen]
M117 PrtTm {print_time} ; display estimated print time as computed by cura slicer
display as: PrtTm 02:22:33
Actual behavior: [What actually happens]
displays as: PrtTm 02
Additional Information
Confirmed to happen on AnetA8, tronxy x3, ender 3 pro. Most likely occurs on all systems that support : line concatenation
The text was updated successfully, but these errors were encountered: