I replaced it with an old one I found in our storage but the error was still the same. Unfortunately, we dont know where this other CPU was from, it may be broken as well.
Could something like a short circuit on the Input module destroy the CPU? Prior to this I had exchanged a sensor, but it was...