Power off the CPU again and before restarting.
A Siemens-branded memory card (2MB or larger). Procedure: S7-1200 Password Unlock
Insert the memory card into a PC and ensure it is empty. You may need to delete any existing .S7S files or folders from it. Power off the S7-1200 CPU. Insert the empty memory card into the CPU's card slot. Power off the CPU again and before restarting
The CPU is now at factory defaults and ready for a new program download. Method 2: Reset via TIA Portal (Online & Diagnostics) S7-1200 Password Unlock