The last entry in the diagnostics buffer is for the change from stop to run.
There is nothing about any problems.
Entry 5 with the request for Stop is because of the HW Config change.
Is the IM151-7 CPU configured as slave for a DP master ?
If that is the case, I think that the problem is that the DP master does not connect to the IM151-7.