IMDHMIControls LibraryShop main store

Explainer

Why an S7-200 memory cartridge cannot transfer the user program

PLC programming Published 5 min read

Short answer

No. The S7-200 memory cartridge is documented for recipes and data blocks, so it cannot copy the user program between CPUs or answer the password prompt on an upload. Your backup route is the original project file from the programmer or machine owner, and the only working CPU stays powered and untouched while you find it.

On this page
  1. What the cartridge stores, and what it never stores
  2. Why the password prompt changes the route
  3. The power-up question, decided
  4. The route that works: the original project file
  5. Working the backup coverage for one CPU 226 at Level 3
  6. If the project file is gone
  7. Questions asked

No. The S7-200 memory cartridge stores recipes and data blocks, not the user project, so fitting a new cartridge to the old CPU will not move the program to a new CPU, and it does nothing about the password prompt that stopped your upload. The program, data and system block come off a protected CPU through one door only: the original project file from the programmer or the machine owner. And because the old CPU is your only working copy, it stays powered, running and untouched while you find that file. No cartridge experiments at power-up.

What the cartridge stores, and what it never stores #

The memory cartridge is data media. Its documented job on the S7-200 is to carry recipes and data blocks: parameter sets and values you move between controllers or restore later. The user project is a different object. It is the program block with the machine logic, plus the data block and the system block that configure the CPU, which is everything your backup was supposed to save. No documented cartridge function stores, copies or transfers that project, so there is no cartridge step in any legitimate program transfer for this CPU. Treating the cartridge as a removable program image confuses a data backup with project recovery, and in this case that difference is the whole answer.

Why the password prompt changes the route #

Your upload over the PPI PC adapter asks for a password because the CPU is set to the highest restriction level, Level 3, which prevents both uploading and program changes. That setting is doing its job: the logic reads back to nobody. A cartridge cannot change this, because copying data media is not an upload. The restriction guards the project read path, and no data path leads around it. One check before you accept that verdict: confirm the failure really is a password prompt. An upload attempted with the wrong version of the programming package fails with block format not recognised when uploading an S7-200 program instead of a password dialog, and that fault has a fix this one does not.

The power-up question, decided #

You asked what the old CPU does at power-up with a new cartridge fitted: whether the cartridge contents copy into internal memory, and whether that clears the program. You do not need the copy rule to decide this. Work both directions. If the CPU copies cartridge content into internal memory at power-up, a blank cartridge in your only working controller is a change you cannot take back. If the CPU copies internal data out to the cartridge, you gain a data card you have no use for and still no program. Either way the program cannot leave through the cartridge, so the experiment can only spend risk. Decision: the cartridge never goes into the only working source CPU, and it never meets a power cycle there.

Two corrections to the premise behind the plan. First, the logic is not hanging in volatile memory: the S7-200 keeps the program block, data block and system block in internal EEPROM, so an ordinary power-off does not erase the program. The real threat is a reset, not time. Second, that is why one rule stands: never clear or reset the old CPU as an experiment. A reset erases the program, data block and system block, and the machine will not run again until a project is loaded into it.

The route that works: the original project file #

Call the original programmer, or the company that built the machine, and get the project file saved from the programming software when the machine was written. That file holds all three items you wanted to back up: the program, the data and the system block, plus the protection setting itself, so you can re-apply or change the restriction on the replacement CPU. Open it in the Micro/WIN version the project was last saved in, which is the same question as getting the right Micro/WIN version for an S7-200 CPU 224. Check the CPU type and system block in the project against the controller you will load. The old CPU stays in the machine, running, until the replacement is loaded and proven.

Working the backup coverage for one CPU 226 at Level 3 #

Take the case as you stated it: one CPU 226, its program written by a programmer whose upload is blocked, protection set at Level 3, no cartridge fitted, and a replacement CPU waiting.

Inputs, each with its source:

  • Items the backup must save: 3 items, the program, the data and the system block (your own list for this machine).
  • Items the memory cartridge is documented to carry: 1 item, data, as recipes and data blocks (the S7-200 cartridge's stated use).
  • Items an upload can read back at Level 3: 0 items (the maximum restriction level refuses the upload).

The rule, in words: a backup plan is complete only when every item has a documented route off the CPU. Count routes, not intentions.

The arithmetic:

  • Coverage of the cartridge route: 1 of the 3 items (the data).
  • Items left with no route from this CPU: 3 − 1 = 2 items (the program and the system block).
  • Coverage added by upload: 0 of the 3 items.
  • Total recoverable from the CPU itself: 1 + 0 = 1 of the 3 items.

The result: a plan built on the cartridge and the upload backs up 1 of the 3 items the machine needs, and the two missing items, the program and the system block, are exactly the ones that decide whether this machine can ever run again.

The decision: the threshold for calling anything a backup here is 3 of 3 items. At 1 of 3, the cartridge plan fails. Fit nothing, power-cycle nothing, and put the effort into the project file, which carries all 3 items in one copy.

If the project file is gone #

Then the logic is rebuilt from the machine. The old CPU, still running, is your reference: record the wiring, the sensors and actuators, and the sequence as the operators describe it, write a fresh project, and prove it on a spare CPU before the swap. That is real engineering time, which is why the first phone call is still to whoever wrote the program. A saved file beats a rebuild every time.

Questions asked

Can the original programmer upload the project if he still knows the password?

No. At the maximum restriction level the S7-200 refuses an upload even when the correct password is entered. The password still unlocks downloads and a CPU reset, so it can put a program into the controller but cannot read one out. That is why the project file saved when the machine was built is the only readable copy of the logic.

Does the memory cartridge back up the system block?

No. The documented cartridge content is recipe and data-block data. The system block, which carries the CPU configuration such as input filters, retentive ranges and communication settings, is part of the project and returns only with the project file. A replacement CPU loaded without the matching system block runs on default configuration, which can change how inputs, outputs and the programming port behave.

What if the original project file cannot be found anywhere?

Rebuild the control from the running machine. Record the wiring, the device on every input and output, and the sequence as it actually runs; write the logic fresh; and test it in stages on a spare CPU before changing anything on the machine. Utilities that advertise stripping the password out of an S7-200 are not a recovery route you can put in a maintenance record: the supported paths are the saved project or a rebuild.

What should be written down before the old CPU is ever powered down?

Everything readable without the project: setpoints, timer and counter presets, recipe values and tuned parameters as the HMI or indicator lamps show them, plus the CPU and expansion module model numbers from their labels. Retentive data is held by the super capacitor once power is removed, so a long shutdown can take current values with it, and the project file you eventually find may predate later machine tweaks.

Keep reading

  • Troubleshooting

    Why Modbus cannot transfer a PLC ladder program over TCP

    No Modbus address reaches ladder memory: the application protocol defines four data tables — coils, discrete inputs, input registers, holding registers — and program storage is not in any of them. Swapping RTU for TCP changes transport, not protocol. On DirectLogic PLCs the program moves only over K-Sequence or DirectNET through the vendor's programming tools; Modbus stays for mapped user data.

    PLC programming

  • Troubleshooting

    Fix block format not recognised when uploading an S7-200 program

    A completed upload that Micro/WIN V4.0 cannot display means the transfer worked and the parser failed: the block in the CPU belongs to an older toolchain generation. Save the upload untouched, open the original project in the Micro/DOS or Micro/WIN release that created it, and convert a copy in V4.0. Download nothing until the recovered project opens, compiles and matches the block inventory you recorded.

    PLC programming

  • Explainer

    Why a MicroLogix 1200 has no read-only password for techs

    No. RSLogix 500 gives SLC 500 and MicroLogix controllers a single controller-level password, set in Controller Properties: whoever holds it can view, edit, and download, and whoever does not is locked out. Clear online edits per ladder file and treat the memory module as recovery — monitoring access must be solved procedurally, because no read-only login exists.

    PLC programming