×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 69063974, Entry date: 08/19/2013
(5)
Rate

How do you detect an inconsistently or incorrectly formatted SIMATIC Memory Card (SMC) and how do you repair it?

  • Entry
  • Associated product(s)
You receive a message about this in the diagnostics buffer or on the display of the S7-1500 CPU. Follow the remedy in this entry to repair the SMC.

Description
The SIMATIC Memory Card (SMC) has a special FAT32 file system that can be used in Windows. If you use the card in a standard card reader in Windows, the card must always be disabled using the "Eject" function or the "Safely Remove Hardware" function before removing it from the card reader. Otherwise, you might lose your data. On the SIMATIC Memory Card there are two files that the S7-1500 requires for processing. These two files are identified as hidden files. If these two hidden files are deleted on the SIMATIC Memory Card, you can no longer use the memory card in that way with an S7-CPU. You must first reset the original formatting on the SIMATIC Memory Card. You can determine this state in the S7-1500 Display or with STEP 7 (TIA Portal). You have the following scenarios for this:

In STEP 7 (TIA Portal) you receive the message below in the diagnostics buffer:

  • Event: "Card reader/writer warning: inconsistent structure of the load memory"
  • Event ID: "16# 02:4177"
  • Description: "CPU maintenance requirement: Card reader/writer warning: inconsistent structure of the external load memory, current card type: Program card ..."

or

  • Event: "Error when evaluating memory card: Load memory not accepted..."
  • Event ID: "16#02:4175"
  • Description: "CPU error: Error when evaluating memory card: Load memory not accepted or cannot be created, current card type: Memory card incorrectly formatted ..."

You also receive a corresponding message in the S7-1500 Display.

Instruction
You have various options for restoring the SIMATIC Memory Card.

If the memory card was not disabled properly using the "Eject" function or the "Safely Remove Hardware" function, the card can be repaired with Windows 7:

  1. Slot the SIMATIC Memory Card into a standard card reader. Windows 7 automatically checks whether the card was removed correctly by the last user (bit with boot sector).
  2. The "Do you want to check and repair "SIMATIC MC"?" dialog opens. Click "Check and repair (recommended)".
  3. Click "Start". The card is now repaired.
  4. Close the dialog.

Note

  • Do not use Windows Explorer nor any other Windows tools for formatting. Such formatting would render the SIMATIC Memory Card unusable for the S7-CPU. In this case you must first reset the original formatting.

If you have deleted the file system (hidden files) of the SIMATIC Memory Card, the memory card can be repaired and formatted only with a S7-1500 CPU with TIA Portal or with an S7-1200.

Restoring the memory card with the S7-1500 CPU

  1. Slot the SIMATIC memory card into an S7-1500 CPU and establish an online connection with S7-1500 CPU.
  2. Open the "Online & Diagnostics" view of the CPU.
  3. In the "Functions" folder you select the "Format Memory Card" group.
  4. Click the "Format" button.

Restoring the memory card with the S7-1200 CPU
If you restore the memory card with the S7-1200, the program is loaded automatically from the CPU to the memory card. There is then no longer any program on the CPU.

  1. Slot the SIMATIC memory card into an S7-1200 CPU that is switched off.
  2. Switch on the S7-1200 CPU.
  3. Wait until the MAINT LED stops flashing.

Note
Bear in mind that the hidden system files of the memory card are only restored automatically with firmware version V2.0.1 or higher. This is not possible with earlier versions of the firmware and you can no longer use the memory card.