I have the ip4000 but the service errors are probably the same. In the Service Manual, Error 5100 is a "Carriage Error". The solution column lists the following:
Replacement of listed parts, which are likely to be faulty
Carriage Unit
Timing slit strip film
Logic board Assy
Carriage motor
Sounds like one of the above parts failed. But I don't know where you go from here. Is the printer still under warranty. Best maybe to contact Canon.
Steve W.