The tach transducer in the diagnostic socket is undoubtably the tach problem. Sometimes just removing it and reinstalling will correct the problem. Most times the unit needs replacement.
There isn't a transmission system in the world with more adjustments than your car. An expert here is worth his weight.
Owner 24 bay BSC
Bosch Master, ASE master L1
26 years MB technician