-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
[FEATURE REQUEST]🦄GCODE Streamer Host definition for 3.X #243
Comments
some update for command / answer according Firmware: 2 - Marlin Kimbra 3 - Marlin 4 - Repetier |
Basic GCODE host functions are now available |
Next steps to work on for proper gcode host support
|
a basic GCODE host stream is now in https://github.com/luc-github/ESP3DLib/tree/2-0 Current limitation:
But framework / code base is now ready |
How? |
by typing the command manually for the moment |
The latest definition used currently on ESP3D-TFT is here: |
The ping pong streaming service is available in ESP3D-TFT as POC and will be ported to ESP3D once validate |
Is to difficult read gcodes from esp3d SD as a macros? |
what do you mean ? Macros are suposed to be few gcodes and so currently they are all send blindly at once without checking the response , and because they are only macros, if they failed it is not a big issue - but once gcode host will be implemented they will be handled as any other gcodes |
Time to define what host feature will be:
Basic description
1 - Read Gcode from SD
2- Send GCODE to printer FW via Serial
3 - Wait for ack
4 - if ack go to 1 / if error go to 2
Now need to clarify each part :
1 - add Line numbering in command
N1 G28
Reset the line numbering is M110 N0 on Repetier / Marlin / Smoothiware
2 - add command checksum for safety (all command char are XOR+*+checksum calculated)
N20 M105*20
ok 20
if error on line number or checksum you get
resend 20
Not sure if special command need to be handled (like @Pause) right now as it is not a host that have direct UI, but will be when Oled Screen is enabled as well as rotary encoder is supported.
One command is key: Emergency stop, to stop sending commands ans stop printer FW
The text was updated successfully, but these errors were encountered: