Changed Macro gcode for ROBO 3D so that M500 command is on a separate line.

This commit is contained in:
Gregory Diaz 2015-09-01 11:54:31 -07:00
parent 277fb9a128
commit 278bbc029d

View file

@ -104,11 +104,11 @@ namespace MatterHackers.MatterControl
Dictionary<string, string> macroDict = new Dictionary<string, string>();
macroDict["Lights On"] = "M42 P6 S255";
macroDict["Lights Off"] = "M42 P6 S0";
macroDict["Offset 0.8"] = "M565 Z0.8";
macroDict["Offset 0.9"] = "M565 Z0.9";
macroDict["Offset 1"] = "M565 Z1";
macroDict["Offset 1.1"] = "M565 Z1.1";
macroDict["Offset 1.2"] = "M565 Z1.2";
macroDict["Offset 0.8"] = "M565 Z0.8;\nM500";
macroDict["Offset 0.9"] = "M565 Z0.9;\nM500";
macroDict["Offset 1"] = "M565 Z1;\nM500";
macroDict["Offset 1.1"] = "M565 Z1.1;\nM500";
macroDict["Offset 1.2"] = "M565 Z1.2;\nM500";
macroDict["Z Offset"] = "G1 Z10; G28; G29; G1 Z10; G1 X5 Y5 F4000; M117 Lower Z to bed; M114;";
//Determine if baud rate is needed and show controls if required