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.
To register the Multi-material log using Windows, find the script in GitHub, and do the following:
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).
In order to run the Linux script, you will need to have installed some extra packages. You can install them using this command:
sudo apt install socat rlwrap tio moreutils
Linux script:
log=${1}
dev=${2:-/dev/ttyACM0}
dsc=${3}
rate=115200
prefix=${log%%_log.*}
echo $3 >${prefix}_dsc.txt
if [ -z "$log" ]; then
echo "Usage: $0 <log> [device] <description>"
exit 2
fi
echo "Log: $log"
echo "Port: $dev"
echo "Description: $dsc"
echo "Dsc file: ${prefix}_dsc.txt"
{ rlwrap -a -S '> ' tee >(sed -ue 's/^/SEND /' >&2)
| socat - "$dev,b$rate,cfmakeraw" | sed -ue 's/^/RECV /'
} 2>&1 | ts '[%Y-%m-%d %H:%M:%.S]' | tee "$log"
To register the Multi-material log using Linux, do the following:
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).
If you have a question about something that isn't covered here, check out our additional resources.
And if that doesn't do the trick, you can send an inquiry to [email protected] or through the button below.