Here's a question related to the solution you described:

Can you explain what is the origin return machine code KM-ASSYM5-07 and how does it relate to the error message M113-Z axis is out of step when nozzle 1 is running?
The error M113-Z axis is out of step when nozzle 1 is running, indicating a problem with the Z-axis position of the printer. A possible solution is to perform an origin return, which involves resetting the