Check diagnostic buffer of CPU and search for reason of STOP. You can prevent CPU from going to STOP by downloading error OB's like OB82, OB86 etc (they can be empty, without any programming but have to be loaded), or by disabling asynchronous erors wia SFC DIS_AIRT. OB that is required to keep CPU in RUN is displayed in details of STOP event in diagnostic buffer.