Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2831

Feature Request: Report current line number (no replies)

$
0
0
I'd like to request a feature in Marlin, that it would be possible to get the line number for the line that is currently printing.
-This would of course include auto-report (a'la position-report).

This feature could be integrated in the current position report by adding an optional flag for the 114 command.
And there are two different line number types to report - the 'real-time' line number and the planned line number (refer to the 'R' flag).

I know that the line number will not be available when a printer is being controlled by software like OctoPrint or Cura, however, when printing from SD-card, it would be helpful in monitoring the current position.

When printing, it's "likely" possible to get a position and find the line number - but it's not 100% safe, because the print head might move to this position several times during the print.
Even worse, when CNC-routing, there cutter will definitely reach the same position several times, sometimes with different tools.
Laser CNC cutters will also come across the same position several times during the job.

The current line number could be reported on the display. Even if the controlling software is sending the G-code one line at a time, because then one could have a variable holding the line number (reset when the job begins, incrementing on each line sent).
This, however, would require that empty lines will be sent (either completely empty or just a '#').

The line number feature could be used for monitoring SD-card prints or CNC-routing done from SD-card on a computer connected to the device.
It would also be helpful in continuing from a power failure, so that one would not have to guess which line number was last sent to the device.
-But it would also be helpful if a line is causing problems; then it would be very easy to find out what is going wrong.

Viewing all articles
Browse latest Browse all 2831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>