I usually leave the OB121 (PROG_ERR) in the plc. The reason for doing this is that I can download and troubleshoot the program when the machine is used. Without it I have to be carefull not to download a corrupt / obsolete instance db (or block).Werner said:XbIK is right. But I never leave OB121 in the plc. This OB is called for instance when you try to open a DB wich is not present in the PLC. If you leave OB 121 in the plc you will never know youre program is not working. (Or you have to watch the red System Failure led on the plc).
The other ob's are called for instance when profibus slaves are disconnected. This is a situation wich might be intentional. So an empty OB solves the plc stop problem.