duet_vcore3/macros/Diagnostics/MotorTest

12 lines
575 B
Plaintext
Raw Permalink Normal View History

; 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