IMDHMIControls LibraryShop main store

Explainer

Why DOWNLOAD ALL differs from DOWNLOAD PLC CODE in Machine Expert HVAC

PLC programming Published 5 min read By IMDHMI controls team

Short answer

DOWNLOAD PLC CODE updates only the PLC application, so Modbus or CAN-node changes and display edits made under CONFIGURATION stay old on the controller. DOWNLOAD ALL transfers every software part and asks whether to write default values to EEPROM. Use the code-only download for program-only edits and the full download whenever any non-program area changed.

On this page
  1. What each command transfers
  2. Why the code-only download looks like it touches CONFIGURATION
  3. The decision before you download
  4. The EEPROM prompt is a data decision
  5. Worked example: one rung edit and one default change
  6. Reading the result when something stayed old
  7. The decision for each case
  8. Questions asked

The two download commands in EcoStruxure Machine Expert - HVAC move different amounts of the project, and picking the narrow one for a wide change is a common way to leave a controller half-updated. DOWNLOAD PLC CODE updates only the PLC application. DOWNLOAD ALL transfers every software part — configuration information, programming and display content — and then asks whether to write default values to EEPROM. The consequence is easy to miss: a Modbus or CAN-node change, or a display edit, made under CONFIGURATION stays old on the controller when only the code is downloaded, even while the new program runs correctly. Here is the scope of each command, why the code-only download looks as if it touches CONFIGURATION, and the decision for each kind of revision.

What each command transfers #

The scope is fixed by the command you choose, not by the tab you issue it from.

Project part DOWNLOAD PLC CODE DOWNLOAD ALL
PLC application (the program) Written to the controller Written to the controller
Configuration information Left as it is on the controller Written to the controller
Modbus and CAN-node settings Left as they are on the controller Written to the controller
Display content Left as it is on the controller Written to the controller
Prompt about writing default values to EEPROM Not offered Offered

The code-only download is the fast path for a program edit because it skips everything else. It is also a trap when the revision is wider than the program: the transfer completes, the new logic runs, and the node or display you changed under CONFIGURATION keeps behaving as it did before.

Why the code-only download looks like it touches CONFIGURATION #

Two things create that impression, and neither changes the scope.

The first is availability. Both commands can be issued from the CONFIGURATION tab and from the PROGRAMMING tab, so DOWNLOAD PLC CODE appears next to the configuration editors even though it does not write them.

The second is references. The program uses objects that the configuration defines, and after a code-only download the new program resolves those references against the configuration already stored on the controller. The configuration shapes the running result without having been transferred. The operating guide names the assumption behind this path: the programming side must still be able to retrieve the memory location of the objects the code uses. When objects have been added, removed or reconfigured past that point, DOWNLOAD ALL is the correct command.

The decision before you download #

List every area changed since the last successful transfer — program, configuration information, Modbus nodes, CAN nodes, display content, EEPROM defaults — and let the widest change pick the command:

  • Program only: DOWNLOAD PLC CODE; nothing outside the program is touched. Verify the edited logic online afterwards, the way the parallel branch in how to OR a comparator with a contact in Machine Expert HVAC ladder is confirmed rung by rung.
  • Any non-program area changed, or the controller's contents cannot be trusted to match the project: DOWNLOAD ALL, with the EEPROM answer decided in advance.
  • Either way, schedule the transfer for a moment when the plant can be down: both commands replace the running application.

A full download takes longer because it transfers more, and repeating the code-only command can never deploy what lies outside its scope.

The EEPROM prompt is a data decision #

Only DOWNLOAD ALL asks about writing default values to EEPROM, and the answer fixes what the controller holds afterwards: yes overwrites the stored parameters with the project defaults, no leaves the values already in the controller in place. Two cases cover the decision:

  • New or replaced controller, or the project defaults themselves revised: answer yes, then read back each value the machine depends on.
  • Controller in service with tuned or commissioned stored values, and the revision is a communications or display change: record the current values first, answer no, and confirm afterwards that they survived.

Worked example: one rung edit and one default change #

Suppose a revision does two things: a single rung edit in the program, and the default of a retained start-delay parameter raised from 30 s to 45 s. Count the changed areas: 2 in total, 1 of them outside the program. DOWNLOAD PLC CODE covers 1 of the 2, so it cannot deploy this revision; DOWNLOAD ALL covers 2 of 2.

The EEPROM answer is yes, because the changed default has to reach the controller. After the transfer, read the parameter back; the expected value is 45 s. A readback of 30 s means the stored value survived — 45 s − 30 s = 15 s short — so the prompt got a no or the code-only command ran. Repeat DOWNLOAD ALL, answer yes, and read again until the controller reports the project default. Then observe the machine through the edited rung to confirm the program half of the revision.

Reading the result when something stayed old #

The symptom pattern identifies a narrow scope immediately:

Observation after the transfer What it means What to do
New logic runs; the edited Modbus or CAN node still behaves as before The communications configuration was not written Run DOWNLOAD ALL, then test the node itself
New logic runs; the display still shows the old content The display component was not written Run DOWNLOAD ALL, then reopen the revised view
Neither the program nor the related function changed The transfer did not complete, or the wrong controller is connected Confirm the target and the completion status, then repeat the correct command
Every revised function works The controller holds the whole revision Confirm the stored values and close out

For a node change, test the behavior the edit was meant to produce — the intended device communicating through the revised settings, and the logic receiving the expected result — rather than trusting the completion message alone.

The decision for each case #

  • Program-only edit on a commissioned controller: DOWNLOAD PLC CODE, then verify the logic online.
  • Any change under CONFIGURATION — Modbus settings, CAN-node settings, general configuration — or any display edit: DOWNLOAD ALL, with the EEPROM answer chosen in advance, then verify the node or the view itself.
  • Controller replaced, or the project defaults revised: DOWNLOAD ALL and answer yes, then read back the values that matter.
  • In-service controller with tuned stored values and a non-program change: record the values, DOWNLOAD ALL, answer no, read back.

One rule covers all four cases: the command must match the widest changed area, and DOWNLOAD ALL is the only one that always can.

Questions asked

Can I fix it if I already used DOWNLOAD PLC CODE for a wider change?

Yes, and nothing needs undoing. Run DOWNLOAD ALL afterwards; it rewrites every software part, so the parts the code-only download skipped are brought to the project state on top of the program already transferred. Answer the EEPROM prompt with the decision you would have made the first time, then test the node or display that stayed old.

What happens if I answer the EEPROM prompt wrongly?

A wrong no is cheap: rerun DOWNLOAD ALL, answer yes, and the defaults are written. A wrong yes is expensive, because another download cannot bring back tuned values that defaults replaced; they must be entered again from the record you made before the transfer, which is why that record comes first.

Is there a figure for how much faster DOWNLOAD PLC CODE is?

No transfer time is documented, and none should be assumed. The saving is whatever the configuration and display parts of your project cost to transfer, so it grows with those parts. Plan around the scope rule, not a time ratio: the code-only command is right because the change is narrow, and only then is it also the quick one.

Why not use DOWNLOAD ALL for every transfer?

Scope-wise it always works, but on a machine in service it takes longer and puts the EEPROM question in play on every transfer, including pure program edits where no stored value should change. Reserving it for revisions that cross the program boundary keeps routine logic edits away from the controller's stored data.

Keep reading

  • How-to

    How to OR a comparator with a contact in Machine Expert HVAC ladder

    Machine Expert - HVAC will not build a GT comparator block inside a ladder parallel branch. Get the same Boolean OR by splitting the logic across two networks or by replacing the block with an expression combined through an OR block, then verify all four input combinations before download.

    PLC programming

  • Troubleshooting

    Fix ctrlX PLC license invalid exceptions on download

    The CmpApp invalid-license-metrics exception has two separate causes: a missing CODESYS IO-Link entitlement, shown by a demo-mode line in the log, or a known symbol-configuration bug cleared by Online > Reset Origin before the download. No Data Layer access license exists to buy.

    PLC programming

  • How-to

    How to change an S7-300 IP address without breaking the machine

    The IP address belongs to one Ethernet interface — the CPU's integrated PN port or a CP 343-1 in the rack — and changes in one place: that interface's hardware configuration, downloaded alone from the STEP 7 project the machine was built with. Record the old address, mask and router first, then update every partner that stored the old address. If the only need is access from another network, a one-to-one NAT leaves the controller untouched.

    PLC programming