Toolhead swapping Anomaly

I have been trying to do a print and the printer keeps making a loud bang, hitting the side of the printer, and then, shortly after, the printer stops and I get that message. I have looked at the video and cleaned all of the buttons, and when I select got it or cancel the error message, the printer starts to work properly for a short time. I have done a calibration, a bed leveling, and I have cleaned all of the pogs. What is the problem? I just finished a 4 day print of a snow leopard and the printer worked fine.

I can’t tell you the cause from here, but I can tell you what the firmware is checking when it stops, which may narrow it down.

I read the tool change code of the U1 firmware (Snapmaker/u1-klipper, release 2.1.0). Each head has three sensors: one says “I am in my dock”, one says “I am on the carriage”, one confirms the grab. At every tool change the firmware reads them before parking, after parking, before picking and after picking. If the readings are not exactly “one head on the carriage, the others in their docks” after 10 tries, the print pauses with a code that starts with 0002-0523. The last four digits say which check failed (for example 0042 = the head did not return to its dock, 0023 = no head was picked, 0045 = pogo pins not connected), and the four before them say which head (0 to 3).

So two things would help a lot:

  1. The full code shown with the message (or in the Fluidd console at the moment it stops). I wrote down what each one means here: u1-dryrun/docs/toolhead-swap-codes.md at main · DesignMaster-Solutions/u1-dryrun · GitHub
  2. In the Fluidd console, with the printer idle, QUERY_PARK_STA NAME=extruder (and extruder1, extruder2, extruder3). Each answers with its state and the three sensors. A docked head that does not answer “PARKED” is the one to look at.

About the bang: is it always the same head, and does it happen while the head is being picked up or dropped at the back, or in the middle of the plate? If it is always the same head at the dock, that points to that head or its dock. If it happens with different heads, or the file is new since the snow leopard, share the sliced file and the slicer version and I will run it through the same firmware on my side and tell you whether the file itself commands a move that goes out of range.

Limits: this comes from reading the source, I have not reproduced your stop, and I don’t know which code the screen text “Toolhead swapping anomaly” corresponds to.

At the start of any print, the toolhead carrier calibrates its XY position by gently bumping the front and side of the top frame in the front left corner. Is this the process that is failing?

Sounds like a possible belt tension issue (too loose?). The loud bang is presumably from the homing sequence at the start of each print.

If the belt tension is off, the sensorless homing (which is what it’s called) doesn’t work properly.

Sensorless homing is how the motor driver can sense when the motor is stopped. It needs proper belt tension for this to work.

No, this is happening during the actual printing process.

Okay, this is a bit crazy. I did another calibration and started the print again. After slicing and pushing print I noticed that the toolheads pictured were labeled 1, 2, 1, &4. I changed the 1 to a 3, what it should have been, and now the printer seems to be printing correctly with no loud bangs and no swapping anomalies . I am not sure what happened, how 3 was changed into 1, or why that would affect the printing. Ideas?

Where – in SnOrca on the Device panel?

That would have been on the SnOrca just before sending the upload and print signal.

Stu

Stuart Reid
3D Printing Rookie