Skip to content

Commit

Permalink
MMU: Update error-codes.yaml (#127)
Browse files Browse the repository at this point in the history
* Update error-codes.yaml

Update to error code type and new tip for filament eject screen.

* Fix Filament Ejected msg to match FW build rules

---------

Co-authored-by: DRracer <[email protected]>
  • Loading branch information
JakoobCZ and DRracer authored Feb 13, 2024
1 parent 721e81d commit e9fce62
Showing 1 changed file with 45 additions and 2 deletions.
47 changes: 45 additions & 2 deletions 04_MMU/error-codes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# ELECTRICAL xx3xx # Electrical - TMC non-temperature-related errors
# CONNECTIVITY xx4xx # Connectivity - UART/RS485 connectivity
# SYSTEM xx5xx # System - internal MMU errors
# BOOTLOADER xx6xx #
# BOOTLOADER xx6xx # Bootloader related issues
# WARNINGS xx7xx # Category-less warnings
#
# for TMC-related errors the decimal digit specifies the TMC/motor in question:
Expand All @@ -36,76 +36,87 @@ Errors:
action: [Retry]
id: "FINDA_FILAMENT_STUCK"
approved: true
type: WARNING

- code: "04103"
title: "FSENSOR DIDNT TRIGG."
text: "Filament sensor didn't trigger while loading the filament. Ensure the sensor is calibrated and the filament reached it."
action: [Retry]
id: "FSENSOR_DIDNT_TRIGGER"
approved: true
type: WARNING

- code: "04104"
title: "FSENSOR FIL. STUCK"
text: "Filament sensor didn't switch off while unloading filament. Ensure filament can move and the sensor works."
action: [Retry]
id: "FSENSOR_FILAMENT_STUCK"
approved: true
type: WARNING

- code: "04105"
title: "PULLEY CANNOT MOVE"
text: "Pulley motor stalled. Ensure the pulley can move and check the wiring."
action: [Retry]
id: "PULLEY_CANNOT_MOVE"
approved: true
type: WARNING

- code: "04106"
title: "FSENSOR TOO EARLY"
text: "Filament sensor triggered too early while loading to extruder. Check there isn't anything stuck in PTFE tube. Check that sensor reads properly."
action: [Retry]
id: "FSENSOR_TOO_EARLY"
approved: true
type: WARNING

- code: "04107"
title: "INSPECT FINDA"
text: "Selector can't move due to FINDA detecting a filament. Make sure no filament is in Selector and FINDA works properly."
action: [Retry]
id: "INSPECT_FINDA"
approved: true
type: WARNING

- code: "04108"
title: "LOAD TO EXTR. FAILED"
text: "Loading to extruder failed. Inspect the filament tip shape. Refine the sensor calibration, if needed."
action: [Continue]
id: "LOAD_TO_EXTRUDER_FAILED"
approved: true
type: WARNING

- code: "04115"
title: "SELECTOR CANNOT HOME"
text: "The Selector cannot home properly. Check for anything blocking its movement."
action: [Retry]
id: "SELECTOR_CANNOT_HOME"
approved: true
type: WARNING

- code: "04116"
title: "SELECTOR CANNOT MOVE"
text: "The Selector cannot move. Check for anything blocking its movement. Check if the wiring is correct."
action: [Retry]
id: "SELECTOR_CANNOT_MOVE"
approved: true
type: WARNING

- code: "04125"
title: "IDLER CANNOT HOME"
text: "The Idler cannot home properly. Check for anything blocking its movement."
action: [Retry]
id: "IDLER_CANNOT_HOME"
approved: true
type: WARNING

- code: "04126"
title: "IDLER CANNOT MOVE"
text: "The Idler cannot move properly. Check for anything blocking its movement. Check if the wiring is correct."
action: [Retry]
id: "IDLER_CANNOT_MOVE"
approved: true
type: WARNING

# TEMPERATURE xx2xx # Temperature measurement
- code: "04201"
Expand All @@ -124,6 +135,7 @@ Errors:
action: [Continue,ResetMMU]
id: "WARNING_TMC_SELECTOR_TOO_HOT"
approved: true
type: ERROR

- code: "04221"
title: "WARNING TMC TOO HOT"
Expand All @@ -132,6 +144,7 @@ Errors:
action: [Continue,ResetMMU]
id: "WARNING_TMC_IDLER_TOO_HOT"
approved: true
type: ERROR

- code: "04202"
title: "TMC OVERHEAT ERROR"
Expand All @@ -140,6 +153,7 @@ Errors:
action: [ResetMMU]
id: "TMC_PULLEY_OVERHEAT_ERROR"
approved: true
type: ERROR

- code: "04212"
title: "TMC OVERHEAT ERROR"
Expand All @@ -148,6 +162,7 @@ Errors:
action: [ResetMMU]
id: "TMC_SELECTOR_OVERHEAT_ERROR"
approved: true
type: ERROR

- code: "04222"
title: "TMC OVERHEAT ERROR"
Expand All @@ -156,6 +171,7 @@ Errors:
action: [ResetMMU]
id: "TMC_IDLER_OVERHEAT_ERROR"
approved: true
type: ERROR

# ELECTRICAL xx3xx
- code: "04301"
Expand All @@ -165,6 +181,7 @@ Errors:
action: [ResetMMU]
id: "TMC_PULLEY_DRIVER_ERROR"
approved: true
type: ERROR

- code: "04311"
title: "TMC DRIVER ERROR"
Expand All @@ -173,6 +190,7 @@ Errors:
action: [ResetMMU]
id: "TMC_SELECTOR_DRIVER_ERROR"
approved: true
type: ERROR

- code: "04321"
title: "TMC DRIVER ERROR"
Expand All @@ -181,6 +199,7 @@ Errors:
action: [ResetMMU]
id: "TMC_IDLER_DRIVER_ERROR"
approved: true
type: ERROR

- code: "04302"
title: "TMC DRIVER RESET"
Expand All @@ -189,6 +208,7 @@ Errors:
action: [ResetMMU]
id: "TMC_PULLEY_DRIVER_RESET"
approved: true
type: ERROR

- code: "04312"
title: "TMC DRIVER RESET"
Expand All @@ -197,6 +217,7 @@ Errors:
action: [ResetMMU]
id: "TMC_SELECTOR_DRIVER_RESET"
approved: true
type: ERROR

- code: "04322"
title: "TMC DRIVER RESET"
Expand All @@ -205,6 +226,7 @@ Errors:
action: [ResetMMU]
id: "TMC_IDLER_DRIVER_RESET"
approved: true
type: ERROR

- code: "04303"
title: "TMC UNDERVOLTAGE ERR"
Expand All @@ -213,6 +235,7 @@ Errors:
action: [ResetMMU]
id: "TMC_PULLEY_UNDERVOLTAGE_ERROR"
approved: true
type: ERROR

- code: "04313"
title: "TMC UNDERVOLTAGE ERR"
Expand All @@ -221,6 +244,7 @@ Errors:
action: [ResetMMU]
id: "TMC_SELECTOR_UNDERVOLTAGE_ERROR"
approved: true
type: ERROR

- code: "04323"
title: "TMC UNDERVOLTAGE ERR"
Expand All @@ -229,6 +253,7 @@ Errors:
action: [ResetMMU]
id: "TMC_IDLER_UNDERVOLTAGE_ERROR"
approved: true
type: ERROR

- code: "04304"
title: "TMC DRIVER SHORTED"
Expand All @@ -237,6 +262,7 @@ Errors:
action: [ResetMMU]
id: "TMC_PULLEY_DRIVER_SHORTED"
approved: true
type: ERROR

- code: "04314"
title: "TMC DRIVER SHORTED"
Expand All @@ -245,6 +271,7 @@ Errors:
action: [ResetMMU]
id: "TMC_SELECTOR_DRIVER_SHORTED"
approved: true
type: ERROR

- code: "04324"
title: "TMC DRIVER SHORTED"
Expand All @@ -253,6 +280,7 @@ Errors:
action: [ResetMMU]
id: "TMC_IDLER_DRIVER_SHORTED"
approved: true
type: ERROR

- code: "04305"
title: "MMU SELFTEST FAILED"
Expand All @@ -261,6 +289,7 @@ Errors:
action: [ResetMMU]
id: "MMU_PULLEY_SELFTEST_FAILED"
approved: true
type: ERROR

- code: "04315"
title: "MMU SELFTEST FAILED"
Expand All @@ -269,6 +298,7 @@ Errors:
action: [ResetMMU]
id: "MMU_SELECTOR_SELFTEST_FAILED"
approved: true
type: ERROR

- code: "04325"
title: "MMU SELFTEST FAILED"
Expand All @@ -277,6 +307,7 @@ Errors:
action: [ResetMMU]
id: "MMU_IDLER_SELFTEST_FAILED"
approved: true
type: ERROR

- code: "04306"
title: "MMU MCU ERROR"
Expand All @@ -285,6 +316,7 @@ Errors:
action: [ResetMMU]
id: "MCU_POWER_ERROR"
approved: true
type: ERROR

- code: "04307"
title: "MMU MCU UNDERPOWER"
Expand All @@ -293,6 +325,7 @@ Errors:
action: [ResetMMU]
id: "MCU_UNDERVOLTAGE_VCC"
approved: true
type: ERROR

# CONNECTIVITY
- code: "04401"
Expand All @@ -301,13 +334,15 @@ Errors:
action: [ResetMMU,DisableMMU]
id: "MMU_NOT_RESPONDING"
approved: true
type: ERROR

- code: "04402"
title: "COMMUNICATION ERROR"
text: "MMU not responding correctly. Check the wiring and connectors."
action: [ResetMMU,DisableMMU]
id: "COMMUNICATION_ERROR"
approved: true
type: ERROR

# SYSTEM
- code: "04501"
Expand All @@ -316,20 +351,23 @@ Errors:
action: [Unload,Continue]
id: "FILAMENT_ALREADY_LOADED"
approved: true
type: WARNING

- code: "04502"
title: "INVALID TOOL"
text: "Requested filament tool is not available on this hardware. Check the G-code for tool index out of range (T0-T4)."
action: [StopPrint,ResetMMU]
id: "INVALID_TOOL"
approved: true
type: ERROR

- code: "04503"
title: "QUEUE FULL"
text: "MMU Firmware internal error, please reset the MMU."
action: [ResetMMU]
id: "QUEUE_FULL"
approved: true
type: ERROR

- code: "04504"
title: "MMU FW UPDATE NEEDED"
Expand All @@ -338,24 +376,28 @@ Errors:
action: [ResetMMU,DisableMMU]
id: "FW_UPDATE_NEEDED"
approved: true
type: USER_ACTION

- code: "04505"
title: "FW RUNTIME ERROR"
text: "Internal runtime error. Try resetting the MMU or updating the firmware."
action: [ResetMMU]
id: "FW_RUNTIME_ERROR"
approved: true
type: ERROR

- code: "04506"
title: "UNLOAD MANUALLY"
text: "Filament detected unexpectedly. Ensure no filament is loaded. Check the sensors and wiring."
action: [Retry]
id: "UNLOAD_MANUALLY"
approved: true
type: USER_ACTION

- code: "04507"
title: "FILAMENT EJECTED"
text: "Remove the ejected filament from the front of the MMU."
text: "Remove the ejected filament from the front of the MMU.\n\nTip: Filament is automatically ejected when the end of the spool is reached."
text_short: "Remove the ejected filament from the front of the MMU."
action: [Continue]
id: "FILAMENT_EJECTED"
approved: true
Expand All @@ -367,3 +409,4 @@ Errors:
action: [ResetMMU]
id: "UNKNOWN_ERROR"
approved: false
type: ERROR

0 comments on commit e9fce62

Please sign in to comment.