Granite Protocol A

From RepRapWiki
Jump to: navigation, search

Crystal Clear action run.png
Granite Protocol A

Release status: experimental

Description A communication protocol alternative to G-code
License  ???
Author Tesla893
Based-on G-code
Categories firmware, Firmware development, firmware suggestions
CAD Models
External Link

Granite Protocol A

--Rough draft finished 2010.10.30 is fundamentally sound but still needs to take a stance or find a solution for acceleration.

Description: Granite Protocol A Supports a limited command set. GPA is designed primarily to reduce the load on the printer processor, while testing some initial reduction in communication chatter volume. It is also somewhat human readable as long as you know your printer configuration. It is stage one of the three stage gradual improvement on RepRap to host communications.

Granite Host

Some researchers hope that specifying a very simple protocol will allow people to rapidly develop and build extremely simple and low cost Alternative Electronics and Firmware/Alternative.

Granite Protocol A version .01

Communication Medium : Serial

Format: n : The line number. Movements are grouped and must be sent in this order (T,X,Y,Z,E).

  • T : Total time for the move in seconds
  • X : X movement period
  • Y : Y movement period
  • Z : Z movement period
  • E : Extruder movement period. GPAv.01 only supports one extruder.
  • H : Extruder Temperature
  • B : Bed Temperature
  • Za : Set home. "a" is for the axis.
  • R : Request bed and nozzle temperature.
  • ON : Power supply on.
  • OF : Power supply off.


1 T1.1 X1000 Y1000 Z1000 E1000

Notes: Knowing the time for each move and the amount of commands we have buffered means we shouldn't need to send "OK" after each move. The host system will just send the next command after the specified time has passed.

Temperature commands can be sent with movements as long as they precede the movement commands.

Each command will be terminated with a newline character.