6ES5 374-1KH21

Siemens 6ES5 374-1KH21 SIMATIC S5 256 KB Short Flash EPROM Memory Card

The Siemens 6ES5 374-1KH21 is an MC 374 memory card in the SIMATIC S5 range, documented for the S5-115U CPU 945. It has a short housing, 256 KB of Flash EPROM and a 16-bit word organization. The 5 V only designation refers to both reading and writing. Siemens lists submodule ID 500 in the CPU 945 manual.

The card retains the STEP 5 control program through a power loss and can load it into the CPU’s internal program memory. For example, a verified machine program can be loaded from the card after a CPU replacement. The program and data blocks currently in the CPU can differ from the version on the card, so read and compare both before replacement.

Which CPU 945 versions should you check?

The Siemens ST 50 catalog lists the 1KH21 among the memory card options for the 6ES5 945-7UA13 and 6ES5 945-7UA23. If the installed processor is a CPU 945 7UA11 or CPU 945 7UA21, compare the full order number and revision with its memory table. Siemens lists a separate set of memory submodules for the CPU 944.

What hardware and software are needed to write the card?

Writing this 5 V Flash card requires STEP 5 V6.6 or later and a compatible programming device. Insert the card in the PG’s S5 memory card slot and use the STEP 5 EPROM/EEPROM function. Siemens specifies the 6ES5 985-2MC11 programming adapter for suitable PGs without a built-in card slot. Save the existing contents before rewriting a used card, then read the programmed blocks back from the card and verify them.

Use a separate S5 PG connection to retrieve the project from the CPU or read its diagnostics. For suitable PG 7xx connections, the 6ES5 734-2BD20 is 3.2 m and the 6ES5 734-2BF00 is 5 m. The Flash card is written in the PG’s card slot or adapter.

When does the CPU load the program from the card?

The CPU 945 copies the card’s blocks to internal program memory at power-up or after an overall reset. At power-up it reloads blocks that came from the card. Independently valid blocks can remain in RAM. If the CPU reloads a data block from the card, values changed during operation can revert to the stored values.

How does the 1KH21 differ from similar cards?

In the short 5 V Flash range, the 1KG11 is 128 KB, the 1KH21 is 256 KB and the 1KK21 is rated at 1 MB. The 1FJ21 is a 512 KB short Flash card from the earlier generation. Check the nominal card capacity against the program memory the CPU can use.

Siemens lists the 1KH21 as the successor to the 1FH21. The earlier generation reads at 5 V and writes at 12 V. The 1KH21 uses 5 V for both operations. The 2KH21 has the same 256 KB capacity in a long housing. The 2FH21 is an earlier long Flash card, while the 2AH21 is a 256 KB long RAM card. The 2KK21 and 2KL21 are the 1 MB and 2 MB options in the long Flash range.

Editor’s note

When sourcing a spare, photograph the 1KH21 suffix and the short housing together. The 2KH21 is easy to confuse with it because the capacity is the same.

Back up the card contents and the CPU’s current STEP 5 program separately. Before an overall reset, also save any data blocks that change during operation.

Check the PG’s 5 V Flash write support, STEP 5 version and adapter if required. After programming, compare the blocks by reading them back from the card.

Switch off the PLC supply before inserting or removing the card. Check its orientation and make sure it is seated in the CPU’s memory slot.

If the CPU stays in STOP at startup, read ISTACK and the loading error record. Siemens associates ASPFA with an invalid submodule ID and F003H with faulty card contents.

OtomasyonAVM resources and PDFs

See the Siemens SIMATIC S5 PLC overview and S5 memory cards for related hardware.

OtomasyonAVM SIMATIC S5-115 PDF archive.

Related topics

1KG11 128 KB short Flash card, 2KH21 256 KB long Flash card and S5-115U CPU 945.

Browse the S5 range

S5 memory cards and SIMATIC S5 CPU family.

If you have a card to sell, send a label photo, quantity and working condition to otomasyonavm@gmail.com.

Siemens and external technical references

Siemens 6ES5 374-1KH21 data sheet – 256 KB short 5 V Flash EPROM (PDF)

Siemens S5-115U CPU 945 manual – Memory table, program loading and diagnostics (PDF)

Siemens technical notice 4202137 – 5 V Flash cards and predecessor order numbers (German PDF)