Welcome! Log In Create A New Profile

Advanced

issue with marlin and m117 command

Posted by jbernardis 
issue with marlin and m117 command
October 18, 2012 12:44AM
I am having an issue with using the m117 command with marlin. This command is supposed to display a message on the LCD display, and indeed if I send an m117 interactively, I can display a message on the LCD.

The problem comes when I embed the m117 in a gcode file. When I do this, the display shows the digits "117" before the message and then some garbage characters afterwards. I am using my own host software, but it's based on kliment's printcore. I looked at the marlin code, and it seems to simply be displaying the command buffer starting at offset 5 (enough to skip "m117 "). What I THINK is happening, though, is that print core precedes each line from a gcode file with a sequence number, and it adds a checksum to the end. I think marlin is not considering this sequence number when it uses 5 as an offset, and I think it is also ignoring the fact that there is a checksum, and displays that also.

Has anybody else seen this issue?
Sorry, only registered users may post in this forum.

Click here to login