Add LED control and several other macros

This commit is contained in:
2021-06-03 22:09:42 +00:00
parent b86b210c9b
commit b0288dccc5
90 changed files with 19723 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
; 0:/macros/Calibration/E Steps Calibration.g
; Macro to calibrate the extruder steps per mm by extruding 110mm of filament slowly and comparing expected result with actual result.
M291 S3 R"Proceed?" P"Run E Steps per MM Calibration?"
;M117 "Homing"
;G28 XY
;G28 ;Z ; Home All Axis
;M98 P"0:/macros/1_Nozzle Access.g" ; Move print head to nozzle access
T0 ; Activate Tool0
G10 P0 S220 R0 ; Hot end to 220c
M291 S3 R"Heating to 220" P"Mark 110mm on filament from top of extruder body."
M116 ; Wait for temp to 220
M291 R"Temp reached." P"Extruding 100mm at 1mm/s"
M83 ; relative extrusion
G1 E100 F60 ; Extrude 100mm of filament at 400mm/min (6.56mm/s)
M400
G10 P0 S0 R0 ; Turn off hot end
T0 ; Deactivate Tool0
M98 P"0:/macros/Musical Tunes/TwoBits.g"
M291 S2 P"Measure distance to mark and update e steps."
;M291 S2 P"old_e_steps * (100 / (110 - distance_to_mark))"
;M291 S2 P"Repeat test to verify." R"E Steps calibration complete."

View File

@@ -0,0 +1,21 @@
; 0:/macros/Calibration/E Steps Calibration.g
; Macro to calibrate the extruder steps per mm by extruding 110mm of filament slowly and comparing expected result with actual result.
M291 S3 R"Proceed?" P"Run E Steps per MM Calibration?"
M117 "Homing"
;G28 XY
G28 ;Z ; Home All Axis
M98 P"0:/macros/1_Nozzle Access.g" ; Move print head to nozzle access
T0 ; Activate Tool0
G10 P0 S220 R0 ; Hot end to 215c
M291 S3 R"Heating to 220" P"Mark 110mm on filament from top of extruder body."
M116 ; Wait for temp to 220
M291 R"Temp reached." P"Extruding 100mm at 1mm/s"
M83 ; relative extrusion
G1 E100 F60 ; Extrude 100mm of filament at 1mm/s
M400
G10 P0 S0 R0 ; Turn off hot end
T0 ; Deactivate Tool0
M291 S2 P"Measure distance to mark and update e steps."
M291 S2 P"old_e_steps * (100 / (110 - distance_to_mark))"
M291 S2 P"Repeat test to verify." R"E Steps calibration complete."

View File

@@ -0,0 +1,4 @@
M83 ; relative extrusion
G1 E100 F60 ; extrude 100mm at 1mm/s
M400 ; clear movement buffer
M300 S300 P1000 ; beep