Files
cr-x-mechanical-selftest/CR-X_selftest_full.gcode

129 lines
3.9 KiB
Plaintext

; ============================================================
; CREALITY CR-X - MECHANICAL / THERMAL / EXTRUSION SELF-TEST
; NON-PRINTING. Run via OctoPrint. STAY WITH THE PRINTER.
; Build volume assumed 300 x 300 x 400 mm. Bowden dual extruder.
; Nozzle NEVER extrudes cold - heats to 230C first.
; Bed rated <=100C, hotend PTFE-lined (kept <=245C).
; ---> Have the E-STOP / power switch within reach. <---
; ============================================================
; ---------- 0. INITIALISE ----------
M117 SELFTEST: init
G90 ; absolute positioning
M83 ; relative extrusion (safer for the E test)
M107 ; part-cooling fan OFF
G92 E0 ; zero extruder
M runout ignore ; (placeholder note only - see README if you have a filament sensor)
; ---------- 1. HOMING ----------
M117 HOMING all axes
; WATCH: each axis should seek the endstop, back off, re-tap.
; Listen for grinding / missed steps. If an axis crashes, kill power.
G28 ; home X Y Z
G4 S2 ; pause 2s to observe
; ---------- 2. Z LIFT for clearance ----------
G1 Z20 F600 ; raise nozzle 20mm so XY moves are safe
G4 S1
; ---------- 3. X AXIS TRAVEL (full width) ----------
M117 X axis sweep
G1 X5 F3000 ; near-min
G1 X295 F3000 ; near-max (5mm safety margin each end)
G1 X5 F3000
G1 X150 F3000 ; centre
G4 S1
; ---------- 4. Y AXIS TRAVEL (full depth) ----------
M117 Y axis sweep
G1 Y5 F3000
G1 Y295 F3000
G1 Y5 F3000
G1 Y150 F3000 ; centre
G4 S1
; ---------- 5. Z AXIS TRAVEL (dual lead screws) ----------
; WATCH: both Z screws should turn together, gantry stays level.
M117 Z axis sweep
G1 Z5 F600
G1 Z380 F600 ; near top (400 max, 20mm margin)
G1 Z5 F600
G1 Z20 F600
G4 S1
; ---------- 6. DIAGONAL / COMBINED MOVE ----------
M117 XY diagonal
G1 X5 Y5 F4000
G1 X295 Y295 F4000
G1 X5 Y295 F4000
G1 X295 Y5 F4000
G1 X150 Y150 F4000 ; back to centre
G4 S1
; ---------- 7. FEEDRATE / ACCEL SANITY (fast then slow) ----------
M117 speed check
G1 X50 Y50 F6000
G1 X250 Y250 F6000 ; fast
G1 X50 Y50 F1200 ; slow - listen for chatter/resonance
G1 X150 Y150 F3000
G4 S1
; ---------- 8. HEAT: BED to 100C ----------
; Thermistor / heater check. Watch OctoPrint temp graph climb smoothly.
M117 heating BED 100C
M140 S100
M190 S100 ; WAIT for bed
G4 S2
; ---------- 9. HEAT: HOTEND to 230C ----------
M117 heating HOTEND 230C
M104 S230
M109 S230 ; WAIT for hotend
G4 S2
; ---------- 10. PART-COOLING FAN TEST ----------
; Listen: fan should spin up, ramp, then stop. Check for bearing noise.
M117 fan 50pct
M106 S128 ; ~50%
G4 S4
M117 fan 100pct
M106 S255 ; full
G4 S4
M117 fan OFF
M107
G4 S2
; ---------- 11. EXTRUSION / FLOW TEST (hot only) ----------
; Load filament first! Extrudes ~90mm total, slowly, in relative mode.
; WATCH: steady flow, no clicking/skipping on the Bowden gears.
M117 extrude test
G1 E10 F60 ; prime 10mm
G4 S1
G1 E30 F120 ; steady feed 30mm
G4 S1
G1 E-6 F1800 ; retract 6mm (Bowden) - listen for the pull-back
G4 S1
G1 E6 F1800 ; recover
G1 E30 F120 ; feed again 30mm
G4 S1
G1 E-2 F1800 ; small final retract to stop ooze
; ---------- 12. COOL DOWN ----------
M117 cooling down
M104 S0 ; hotend off
M140 S0 ; bed off
M107 ; fan off (leave enclosure to vent as you like)
; ---------- 13. PARK / PRESENT ----------
M117 parking
G1 Z50 F600 ; drop gantry away from nozzle
G1 X10 Y295 F4000 ; present the bed to the front
M84 ; disable steppers
M117 SELFTEST DONE
; ============================================================
; All subsystems exercised: homing, X/Y/Z travel, diagonals,
; feedrate range, bed + hotend heating, fan ramp, extrude/retract.
; If anything sounded/looked wrong, note the M117 stage it failed at.
; ============================================================