KEYES ROSTOK Manual And Manual page 102

Table of Contents

Advertisement

// This is some debugging or other information on a line on its own. It may be sent at any
time.
Such lines will always be preceded by //.
The most common response is simply:
ok
When the machine boots up it sends the string
start
once to the host before sending anything else. This should not be replaced or augmented by
version numbers and the like. M115 (see above) requests those.
All this means that every line sent by RepRap to the host computer except the start line has a
two-character prefix (one of ok, rs, !! or //). The machine should never send a line without such a
prefix.
Exceptions: Marlin 1.0.0 Gen6 Firmware does not follow the two character rule. 'rs' is actually
'Resend' and '!!' is 'Error'. Example Lines:
Error: Line Number is not current line + 1. Last Line: 7
Resend: 8
Writing to File: print.gco
Done saving file.
File opened:print.gco Size:22992
File selected
When in the code base did this change take place and what other firmwares are affected?
Proposal for sending multiple lines of G-code
So far, this is a proposal, open for discussion.
Problem to solve
Each line of G-code sent from the host to the controller is answered with an ok before the next
line can be sent without locking communcations up. This makes operations very slow, as the usual
USB-TTL converters and probably also the host's operating system drivers come with substantial
latency, often 10 milliseconds.
For more details on this proposal, and some suggested solutions, and comments please
see
GCODE_buffer_multiline_proposal
Alternatives to G-code
Main article:
Firmware/Alternative#alternatives to G-code
Wikipedia:
STEP-NC: "STEP-NC was designed to replace ... G-codes ... adding tolerance
data ... [with a] XML format."
100

Advertisement

Table of Contents
loading

Table of Contents