Results 1 to 5 of 5
Thread: Gcode in Firmware
-
04-10-2015, 02:20 PM #1
- Join Date
- Oct 2014
- Posts
- 114
Gcode in Firmware
Could a gcode string be saved in the firmware like a G28 or so? I am working on a nozzle cleaning process and would like to not have to do it with a slicer.
-
04-10-2015, 02:34 PM #2
Yes. I do not have an LCD Panel but the way they do their work is they 'inject' GCode commands into the printer's buffer. Basically, they are pretending the printer got the command from PronterFace even though the LCD Panel generated it. Check out one of the LCD Panel's .cpp code and you should be able to find what I'm talking about. Specifically, search for enquecommand and enquecommands_P. The _P version saves memory from being used in the RAM space.
-
04-10-2015, 03:01 PM #3
- Join Date
- Jun 2014
- Location
- Burnley, UK
- Posts
- 1,662
If you are talking about a set series of fixed movements on a menu button then bypass the Gcode part altogether and add it to Marlin directly. Marlin is well structured for adding bespoke code.
-
04-10-2015, 03:23 PM #4
-
04-12-2015, 08:04 AM #5
- Join Date
- Oct 2014
- Posts
- 114
Great thanks guys, I will try and sure post more questions here.
My 3D Norn Emissary print
09-13-2024, 02:28 AM in 3D Printing Gallery