Prusa
  • SHOP
    • Learn more
    • All deals
    3D printers
    • CORE One+ (Gen2)
    • CORE One L+
    • XL+
    • MK4S
    • Mini+
    • HT90
    Consumables and Merch
    • Prusament
    • Resin
    • Buddy filament
    • Merch
    • Accessories
  • SHOP
    • Latest products
    BY CATEGORY
    • 3D printers
    • Upgrades
    • Materials
    • Accessories
    • Spare parts
    • Courses
    • Merch
    • Sales inquiry & Price quote
    QUICK LINKS
    • Shipping information
    • Refunds & returns
    • Payment options
    • Warranty
    • VAT & Customs fees
    • FAQ

    0 item in your cartitems in your cart

    Your cart is empty

    Go to cartShop 3D printers

    My profile

    Log in to see orders, saved items

    My profile

    Signed in as

    • Orders
    • Logout
  • 3D PRINTING
    • Explore 3D printing
    FOR BEGINNERS
    • 3D printing 101
    • Types of printers (FDM/SLA)
    • How to choose a 3D Printer
    • Printables (3D models)
    BY APPLICATION
    • Rapid prototyping
    • Manufacturing
    • Engineering
    • Research
    • Arts & design
    GO DEEPER
    • Materials guide
    • Courses
    • Webinars
    • Case studies
    • Custom 3D printing
  • 3D PRINTERS
    • All 3D printers
    FOR
    • Home or garageHobbyists, tinkerers and home printing
    • Shop or studioIn-house production for small teams
    • EnterpriseFleets, security and scale
    • How to choose a 3D Printer
    SHOP & BROWSE
    • CORE One+
    • CORE One+ INDX
    • CORE One L+
    • CORE One L+ INDX
    • XL+
    • MK4S
    • Prusa Pro HT90
    • Prusa Pro AFS
    • Prusa Pro SLX
    MORE FROM PRINTERS
    • Upgrades
    • Spare parts
    • Critical infrastructure
    • Case studies
    • Signature Oak
    • Kits
  • MATERIALS
    • All materials
    BY USE
    • Every-day & design
    • Functional engineering
    • Composites
    • Pro speciality
    • SLA resins
    PRUSAMENT
    • PLA
    • PETG
    • ASA
    • PC
    • PA11
    • Flex
    • TPU
    MORE FROM MATERIALS
    • Materials guide
    • We make material in house
    • Sustainability
    • Order on the store
  • SOFTWARE
    • All software
    PREPARE THE PRINT
    • PrusaSlicer
    PRINT & MONITOR
    • Prusa Connect
    • EasyPrint
    • iOS & Android app
    • Prusa Farm
    GET STARTED
    • Download & install
    • Knowledge base
    MORE FROM SOFTWARE
    • Printables (3D models)
  • SUPPORT
    • Explore support
    FIND ANSWERS
    • Knowledge base
    • Troubleshooting
    • Courses
    • Webinars
    GET HELP
    • Contact us
    • Livechat
    • Shipping information
    • Warranty
    • Refunds & returns
    • Spare parts
    • Factory repair
    COMMUNITY
    • Forum
    • Reddit
    • Printables
  • TRUST CENTER
    • Trust Center overview
    BY TOPIC
    • GDPR
    • Certificates
    • Security
    • Compliance
    COMMITMENTS
    • Sustainability report
    TALK TO US
    • Contact the security team
  • COMPANY
    • About Prusa
    GET TO KNOW US
    • Our story
    • How we make printers
    • Open source
    • Brand & media kit
    NEWS
    • Blog
    • Newsroom
    • Events
    TRUST & PARTNERS
    • Sustainability
    • Resellers & distributors
    • Affiliate program
    • Contact
    • English
    • Čeština
    • Deutsch
    • Español
    • Français
    • Italiano
    • Polski
    • 日本語
  • Signed in as

    • Orders
    • Address
    • In-stock Alerts
    • My Courses
    • Subscription
    • Edit Account
    • Logout

Log in to see orders, saved items

Signed in as
  • Orders
  • Address
  • In-stock Alerts
  • My Courses
  • Subscription
  • Edit Account
  • English
  • Čeština
  • Deutsch
  • Español
  • Français
  • Italiano
  • Polski
  • 日本語
Shop

0 item in your cartitems in your cart

Your cart is empty

Go to cartShop 3D printers

My profile

Log in to see orders, saved items

My profile

Signed in as

  • Orders
  • Logout
SHOP
  • Latest products
BY CATEGORY
  • 3D printers
  • Upgrades
  • Materials
  • Accessories
  • Spare parts
  • Courses
  • Merch
  • Sales inquiry & Price quote
QUICK LINKS
  • Shipping information
  • Refunds & returns
  • Payment options
  • Warranty
  • VAT & Customs fees
  • FAQ

Featured products

    Popular categories

      Trending searches

        Articles

          Blog

            Products

              Categories

                Suggested searches

                  Searching…
                  No results
                  Something went wrong.
                  ↑↓ Select↵ OpenEsc Close search
                  1. Support
                  2. Printer troubleshooting
                  3. Logging data over serial line (MMU2S)
                   

                  Blog

                  • Prusa Black Friday 2026 Is Here! Grab the Biggest Deals of the Year
                  • 400°C HT Hotend is out! Plus: New Materials and HighTemp Sheets for CORE One+/L+.
                  • Blender for 3D Printing: The 5-Minute Guide to STL Editing

                  Newsletter

                  Signup and get our monthly squeeze on updates, blog, printables and much more.

                  By clicking, you agree to receive our newsletter.

                  This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply.

                  Heavy Duty Keyboard Holder (No Supports)
                  E-shop
                  • 3D Printers
                  • Printer Upgrades
                  • Filaments
                  • Accessories
                  • Prusa Merchandise
                  Prusa

                  © Prusa Research a.s.

                  Printables
                  • 3D Models
                  • Store
                  • Clubs
                  • 3D Design Contests
                  • Brands
                  Community
                  • World Map
                  • Forum
                  • User Groups
                  • Events
                  Help
                  • Prusa Help
                  • Prusa Academy
                  • 3D Printing Calculators
                  Software
                  • PrusaSlicer
                  • Prusa.app
                  • Prusa Connect
                  • Drivers and Software
                  Company
                  • About Us
                  • Blog
                  • Official Prusa Resellers
                  • Contact Us
                  • Certified for ISO 9001, ISO 14001, ISO 45001
                  • General Terms and Conditions
                  • General Terms and Conditions of Use of the PRUSA Websites
                  • Privacy Policy
                  • Information about cookies
                  • Customer Complaints Policy
                  • Status Page
                  • Do Not Sell or Share My Personal Information
                  • Supplemental Statements
                  Prusa
                  • General Terms and Conditions
                  • General Terms and Conditions of Use of the PRUSA Websites
                  • Privacy Policy
                  • Information about cookies
                  • Customer Complaints Policy
                  • Status Page
                  • Do Not Sell or Share My Personal Information
                  • Supplemental Statements

                  © Prusa Research a.s.

                  JOSEF PRUSA®, PRUSA RESEARCH®, PRUSA POLYMERS®, PRUSA ORANGE®, PRUSA 3D ® AND PRUSAMENT® are registered trademarks of Prusa Development a.s. used by Prusa Research a.s. under licence from Prusa Development a.s.

                  Logging data over serial line (MMU2S)

                  Relevant for

                  MMU2S
                  Article is also available in following languages
                  English
                  Čeština
                  Polski
                  Deutsch
                  Français
                  Español
                  Italiano
                  日本語

                  Information from the data logged via serial line can be useful when doing advanced troubleshooting with your MMU2S unit or for providing it to Customer support when requested.

                  To obtain the log you will need to connect the printer to a Windows computer or to RPi/Linux computer.
                  When you connect the printer by the USB cable to a Windows computer, the printer should be showing up in the Windows Device Manager as a “COM device” under “Ports (COM & LPT). Write down or remember the number of the COM port.

                  The port number can be also found in the PrusaSlicer menu under Configuration -> Flash Printer Firmware and then in a row labeled Serial Port. This is applicable to Linux as well.

                  You will also need to download the logging script. It is available for Windows and for Linux.

                  Windows

                  To register the Multi-material log using Windows, find the script in GitHub, and do the following:

                  1. Connect the printer with the USB cable to a Windows computer.
                  2. Paste the code from GitHub to Notepad++.
                  3. Go to File -> Save as and save the file as Windows PowerShell (*.ps1;*.psm1).
                  4. Right-click the saved script file and from the menu select “Run with PowerShell”.
                  5. If you get asked about “Execution Policy Change”, press “Y” [Yes].
                  6. When prompted for “PortName”, enter the COM port your printer uses, e.g. "COM4" and hit Enter.
                  7. When prompted for “BaudRate”, enter “115200” and hit Enter.
                  8. After that, the script will start showing the communication between the printer and the MMU2S unit. It will also start saving everything into a .log file in the same folder where the script is located. (For example “2022-08-08-MMU.log”).
                  9. Try to reproduce the MMU2S errors you are looking to resolve and mark down the time they occurred.
                  10. To stop the script from running, press Ctrl+C or close the window.

                  The above steps should show a log similar to the one below. This is an example of one failed attempt at the “Load to nozzle” function for filament #3 (with MMU2S firmware 1.0.6).

                  Linux

                  In order to run the Linux script, you will need to have installed some extra packages. You can install them using this command:

                  Linux script:

                  To register the Multi-material log using Linux, do the following:

                  1. Connect the printer with the USB cable to a Linux computer.
                  2. Create a .sh file using the script above (file name example: prn-session2.sh).
                  3. You will need to know the name of the serial port the printer is connected to in your system. For example, to log to a file test1_log.txt, using the serial communication on /dev/ttyACM0 and a with a description "MMU2S logging 08-08-2022" run the following command: sudo ./prn-session2.sh "test1_log.txt" /dev/ttyACM0 "MMU2S logging 08-08-2022".
                  4. After that, the script will start showing the communication between the printer and the MMU2S unit. It will also start saving everything into a .log file.
                  5. Try to reproduce the MMU2S errors you are looking to resolve and mark down the time the error occurred.

                  The above steps should show a log similar to the one below. This is an example of a successful attempt at the “Load to nozzle” function for filament #1 (with MMU2S firmware 1.0.6).

                   

                  Was this article helpful?
                  This action is available only to registered users. Please log-in.
                  Log in  to post a comment
                  No comments

                  Topics

                  • Troubleshooting
                    • Printer troubleshooting
                      • Factory reset (MMU2S pre firmware 1.0.6)
                      • MMU2S idler unable to move freely
                      • MMU2S Selector not moving
                      • MMU2S LEDs meaning
                      • Firmware updating issues (MK2.5S/MK3S+/MMU2S/MMU3)
                      • IR filament sensor calibration (MMU3, MMU2S)
                      • FINDA setup and troubleshooting
                      • Filament jam (MMU2S)
                      • Logging data over serial line (MMU2S)
                      • FINDA: Filament Stuck #04102 (MMU)
                      • Tangled filament
                      • Status LED explained (MMU3)
                      • Factory Reset (MMU)
                      • TMC driver shorted #04304 (MMU)
                      • TMC driver shorted #04314 (MMU)
                      • TMC driver shorted #04324 (MMU)
                      • Service menu - Factory Reset
                      • Service menu - Individual Filament Calibration
                      • SD cards and USB drives
                    • Diagnostics
                    • Print Quality Troubleshooting
                    • QR Error codes
                    • Print Error Messages