Hi the program you have attached can not be opened.Try to explain what you entered in the program and what happens.What do you mean by "insertion" of the devices you have indicated? What do you insert during the PLC cycle without turning it off? Obviously it will go into STOP, because every insertion, if this is what you mean, of new peripherals, must be done with the PLC turned off. In addition when you turn on the plc, finding units previously not present, the CPU will be in a safe condition that is stop.
If you give us more information, we can help you better