Using PLC Operating Modes for Executable Application Code
If the controller supports it, then you can set a suitable operating mode in oder to avoid accidental changes to the application.
The operating mode is changed using the Operating Mode command in the Online menu.
Possible operating modes:
Locked: The current mode is locked.
Operational: After restarting the controller, the same applications are loaded again and no debug functions are active.
Debug: No restrictions
For more information, see: Command: Operating Mode