6ES5 374-2KG21
Siemens 6ES5 374-2KG21 SIMATIC S5 128 KB Flash EPROM Memory Card
The Siemens 6ES5 374-2KG21 is a long-format, 5 V only, 128 KB MC 374 Flash EPROM memory card for storing STEP 5 user programs in SIMATIC S5 systems. The Siemens ST 50 catalog lists it for the CPU 928A (6ES5 928-3UA21) and CPU 928B (6ES5 928-3UB21) used in S5-135U/155U central racks. Both CPUs can use 64 KB of the card’s capacity.
Maintenance teams use the card to keep a verified STEP 5 program and the required data blocks. The Flash memory retains its contents without power and can be erased electrically. UV-erasable EPROM cards use a different erase method. The 6ES5 374-2AH21 is a 256 KB RAM card in a similar long format.
Which CPU versions accept this card?
The memory receptacle varies by CPU revision. Siemens specifies 376-series memory submodules for the CPU 928-3UA12, CPU 928B-3UB11 and CPU 928B-3UB12. The 928-3UA21 and 928B-3UB21 have a 374-series card slot. Check the full CPU order number when selecting a spare.
How do similar 374 cards differ?
The 6ES5 374-1KG11 also holds 128 KB of Flash memory and comes in the short format. The 6ES5 374-2FH21 is a long-format 256 KB card from the previous Flash generation. Check the format, capacity and full order number together.
Siemens has a separate ordering table for the CPU 948-3UA11 and CPU 948-3UA21. It lists the 6ES5 374-2KH21 (256 KB), 6ES5 374-2KK21 (1 MB) and 6ES5 374-2KL21 (2 MB). The 64 KB usable capacity for the 2KG21 applies to the 928A and 928B versions listed above.
Programming the card and restoring the CPU
Erase and program the 374 card offline with a compatible Siemens PG and memory card slot or programming adapter. Use an S5 PG cable that matches the CPU interface when uploading blocks from the controller. Back up the SIMATIC S5 STEP 5 project and check the blocks you intend to write to the card.
The CPU automatically copies the card contents to internal RAM during an overall reset. This clears the existing RAM contents. Save the running program and any required DB/DX blocks in a separate project file beforehand.
Editor’s note
When buying a spare, check for 2KG21 on the card and 3UA21 or 3UB21 on the CPU. The CPU 928 family name alone does not identify the receptacle.
Check the program size on the PG. For these two CPUs, select the blocks to fit within the 64 KB usable capacity.
Read a used card on the PG and save its contents to a separate file before erasing it. After writing, read the blocks back and compare them with the source project.
For a planned replacement, switch off the S5 rack. Check the orientation of the CPU slot and card connector, then seat the card without forcing it.
If the CPU stays in STOP after a restore, check the PG diagnostics and the loaded blocks. Verify the backup before repeating an overall reset.
OtomasyonAVM resources and PDFs
+ Siemens SIMATIC S5 PLC overview · S5 CPUs and function modules
+ SIMATIC S5 manuals and PDF archive
Related topics
+ 6ES5 374-1KG11 short-format 128 KB · 6ES5 374-2KH21 long-format 256 KB · 6ES5 374-2KK21 long-format 1 MB · 6ES5 374-2KL21 long-format 2 MB
Browse SIMATIC S5
+ SIMATIC S5 memory cards · SIMATIC S5 · Used Siemens automation equipment
Siemens and external references
+ Siemens ST 50 Catalog, CPU 928A ordering table (PDF) · CPU 928B ordering table (PDF)
+ SIMATIC S5-135U/155U System Manual, Section 5.8, MC 374 programming and restore (PDF)
+ Siemens 4202137, 5 V only Flash card family and earlier equivalents (DE, PDF)