Add LED control and several other macros
This commit is contained in:
1
macros/Diagnostics/Allow Cold Extrude
Normal file
1
macros/Diagnostics/Allow Cold Extrude
Normal file
@@ -0,0 +1 @@
|
||||
M302 P1
|
||||
1
macros/Diagnostics/Allow OutOfBounds moves
Normal file
1
macros/Diagnostics/Allow OutOfBounds moves
Normal file
@@ -0,0 +1 @@
|
||||
M564 S0 ; allow out of bounds movement
|
||||
1
macros/Diagnostics/Allow unhomed moves
Normal file
1
macros/Diagnostics/Allow unhomed moves
Normal file
@@ -0,0 +1 @@
|
||||
M564 H0
|
||||
1
macros/Diagnostics/Clear All Heater Faults
Normal file
1
macros/Diagnostics/Clear All Heater Faults
Normal file
@@ -0,0 +1 @@
|
||||
M562
|
||||
1
macros/Diagnostics/Disable Cold Extrude.g
Normal file
1
macros/Diagnostics/Disable Cold Extrude.g
Normal file
@@ -0,0 +1 @@
|
||||
M302 P0
|
||||
1
macros/Diagnostics/Disallow OutOfBounds moves
Normal file
1
macros/Diagnostics/Disallow OutOfBounds moves
Normal file
@@ -0,0 +1 @@
|
||||
M564 S1 ; prevent out of bounds movement
|
||||
1
macros/Diagnostics/Disallow unhomed moves
Normal file
1
macros/Diagnostics/Disallow unhomed moves
Normal file
@@ -0,0 +1 @@
|
||||
M564 H1
|
||||
1
macros/Diagnostics/Execute Config
Normal file
1
macros/Diagnostics/Execute Config
Normal file
@@ -0,0 +1 @@
|
||||
M98 P"config.g"
|
||||
1
macros/Diagnostics/Extruder Motor Off
Normal file
1
macros/Diagnostics/Extruder Motor Off
Normal file
@@ -0,0 +1 @@
|
||||
M84 E0:1:2:3
|
||||
12
macros/Diagnostics/MotorTest
Normal file
12
macros/Diagnostics/MotorTest
Normal file
@@ -0,0 +1,12 @@
|
||||
; Commissioning
|
||||
; During commissioning, you can test the X and Y motors independently by using the S2 modifier on the G1 command, like this:
|
||||
;
|
||||
M291 S3 R"Are you sure?" P"Commissioning: Testing X and Y motors."
|
||||
M291 S3 R"Ensure clearance." P"This will move the motors in all directions."
|
||||
M291 S1 T10 R"Testing..." P"Motors should move 10mm back and forth."
|
||||
G91 ; relative mode
|
||||
G1 S2 X10 ; move the X motor forward 10mm
|
||||
G1 S2 X-10 ; move the X motor back 10mm
|
||||
G1 S2 Y10 ; move the Y motor forward 10mm
|
||||
G1 S2 Y-10 ; move the Y motor back 10mm
|
||||
G90 ; back to absolute mode
|
||||
1
macros/Diagnostics/Motors Off M84
Normal file
1
macros/Diagnostics/Motors Off M84
Normal file
@@ -0,0 +1 @@
|
||||
M84
|
||||
3
macros/Diagnostics/Reset Motor Currents
Normal file
3
macros/Diagnostics/Reset Motor Currents
Normal file
@@ -0,0 +1,3 @@
|
||||
M291 S3 R"Are you sure?" P"This will reset motor currents to max."
|
||||
M906 X2000 Y2000 Z2000 E1400 I20
|
||||
M906
|
||||
4
macros/Diagnostics/SDCard Check
Normal file
4
macros/Diagnostics/SDCard Check
Normal file
@@ -0,0 +1,4 @@
|
||||
; Calls M39 to get details of inserted SD Card.
|
||||
M117 "Check Console for SD Card Details"
|
||||
M39
|
||||
M122 P104
|
||||
6
macros/Diagnostics/System Dump
Normal file
6
macros/Diagnostics/System Dump
Normal file
@@ -0,0 +1,6 @@
|
||||
; SystemDump.g
|
||||
;
|
||||
; Dumps a bunch of system information to the console with M122.
|
||||
;
|
||||
M291 S3 R"Are you sure?" P"This will run M122 and report system status to console."
|
||||
M122
|
||||
11
macros/Diagnostics/WIFI-AP-MODE
Normal file
11
macros/Diagnostics/WIFI-AP-MODE
Normal file
@@ -0,0 +1,11 @@
|
||||
; Configure Access Point Mode
|
||||
;
|
||||
M291 R"Create Duet Access Point? Y/N" P"This will create duetwifi-AP SSID to connect to." S3 T10
|
||||
|
||||
M552 S0 ; Disable network module
|
||||
G4 S5 ; wait 5 seconds
|
||||
M589 S"duetwifi-AP" P"duetwifi" I192.168.1.1 C1 ; Add duet wifi SSID to remembered networks list
|
||||
G4 S5 ; wait 5 seconds
|
||||
M552 S2 ; reenable wifi module
|
||||
|
||||
M291 R"duetwifi-AP SSID added." P"SSID password is duetwifi."
|
||||
11
macros/Diagnostics/WIFI-Add SSID
Normal file
11
macros/Diagnostics/WIFI-Add SSID
Normal file
@@ -0,0 +1,11 @@
|
||||
; Add default wifi network
|
||||
;
|
||||
M291 R"Add default WIFI network? Y/N" P"This will add duetwifi access point." S3 T10
|
||||
|
||||
M552 S0 ; Disable network module
|
||||
G4 S5 ; wait 5 seconds
|
||||
M587 S"NETWORKNAME" P"PASSWORD" ; Add duet wifi SSID to remembered networks list
|
||||
G4 S5 ; wait 5 seconds
|
||||
M552 S1 ; reenable wifi module
|
||||
|
||||
M291 R"duetwifi SSID added." P"Check console to verify IP address."
|
||||
9
macros/Diagnostics/WIFI-Forget Networks
Normal file
9
macros/Diagnostics/WIFI-Forget Networks
Normal file
@@ -0,0 +1,9 @@
|
||||
; Clear all wifi networks
|
||||
;
|
||||
M291 R"Clear WIFI networks? Y/N" P"Caution. New network must be added." S3 T10
|
||||
|
||||
M552 S0 ; Disable network module
|
||||
G4 S5 ; wait 5 seconds
|
||||
M588 S"*" ; Clear all saved wifi networls
|
||||
|
||||
M291 R"WIFI networks forgotten." P"You must add a new WIFI network."
|
||||
9
macros/Diagnostics/WIFI-Reset Module
Normal file
9
macros/Diagnostics/WIFI-Reset Module
Normal file
@@ -0,0 +1,9 @@
|
||||
; Use in case wifi module is not running. (Blue light off)
|
||||
;
|
||||
M291 R"Reset wifi module? Y/N" P"Caution. Will cause pause in print" S3 T10
|
||||
|
||||
M552 S0 ; Disable network module
|
||||
G4 S5 ; wait 5 seconds
|
||||
M552 S1 ; Enable network module
|
||||
|
||||
M291 P"Wifi module reset. Check console or DWC."
|
||||
Reference in New Issue
Block a user