IMDHMIControls LibraryShop main store

Troubleshooting

Why an 840D sl PLC program upload fails when the NCU is visible

PLC programming Published 8 min read

Short answer

An 840D sl PLC program upload that fails after the NCU answers on X127 is an engineering-tool mismatch, not a network fault: discovery proves the path, while the Classic error about a program created with a newer version or Tia says a TIA Portal toolchain wrote the program. Record the CPU identity, open the project with the tool family that created it, and treat the HMI archive and STARTER backup as recovery artifacts, not source.

On this page
  1. Why does the upload fail when the NCU answers on X127?
  2. Which address and port reach the 840D sl service interface?
  3. How do you prove the network path is not the fault?
  4. Why does SIMATIC Manager report "created with a newer version or Tia"?
  5. Why does TIA Portal V16 show the NCU but not the integrated PLC?
  6. How do you identify the CPU inside the NCU before choosing a tool?
  7. What do the .arc archive and the STARTER backup actually recover?
  8. What is the decision path from here?
  9. Questions asked

The upload on an 840D sl fails in the engineering tool, not on the wire: when the NCU answers an accessible-devices scan and SIMATIC Manager still reports "The program was created with a newer version or Tia", the Classic tool has reached the program and rejected its format. Discovery traffic proves the path; it says nothing about whether the engineering system can read the program the integrated PLC holds. On an NCU 710.3B PN the PLC is a fail-safe CPU inside the NCU, so it does not need to appear as a separate scan entry for the machine to be reachable. Work the checks in order: prove the service path, read the CPU identity online, match the tool family that last downloaded the program, and use the HMI archive and the STARTER backup for what they actually recover.

Why does the upload fail when the NCU answers on X127? #

Because device discovery and program upload are different checks: discovery proves the laptop and the NCU exchange identification traffic, while the upload also has to match the PLC identity, the project format and the engineering system that last downloaded the program.

An NCU is several functions, CNC kernel, integrated PLC and drive interfaces, behind one set of Ethernet ports, and a discovery scan reports the stations it can identify, not the projects it can open. That is why the scan can list the NCU, the operator terminals and the panels while the upload still stops: the two checks share a cable and nothing else.

What you observe What it proves What it does not prove
The NCU answers the scan on the service subnet The laptop, adapter and cable pass identification traffic That the tool can read the program
The Classic tool reports a newer-version message Communication ran far enough to inspect the program An IP, mask or firewall fault
The NCU, TCU and MCP appear but no separate CPU The PLC is integrated in the NCU That an Ethernet link failed

Read the exact error text as the branch point: it arrives only after the path works, so changing addresses, cables or firewalls cannot clear it.

Which address and port reach the 840D sl service interface? #

Use the X127 service port: the NCU sits at 192.168.215.1 on that port, so address the laptop on the same subnet, for example 192.168.215.100 with a 255.255.255.0 mask, and select that physical adapter as the PG/PC interface.

The service address on the NCU is fixed, so the laptop adapts to it, never the reverse. Disable the laptop adapters that are not in use so the scan cannot bind to the wrong interface. The NCU also answers on a second interface in the 192.168.214.x range: a result there says nothing about the service subnet, and a laptop addressed for the service port will not reach that range without an address on it as well. When the NCU answers with firewalls and antivirus off, the path check is finished; stop adjusting the network and move to the tool.

How do you prove the network path is not the fault? #

Run the accessible-devices scan on the service subnet and read the arithmetic: with the laptop at 192.168.215.100 and the NCU at 192.168.215.1 under a 255.255.255.0 mask, both addresses fall in network 192.168.215.0, so the direct cable needs no gateway.

Worked example, masking each address with 255.255.255.0:

192.168.215.100 AND 255.255.255.0 = 192.168.215.0 (laptop)
192.168.215.1 AND 255.255.255.0 = 192.168.215.0 (NCU on X127) same network: direct cable, no gateway
192.168.214.50 AND 255.255.255.0 = 192.168.214.0 (example host on the NCU's other interface) different network: needs its own address or a router

The first two lines land in the same /24 network, so the laptop reaches the NCU directly; the third is a separate network, which is why a scan on the other interface is a distinct test, not a confirmation of the service path. On this machine the scan already answered with firewalls disabled and the NCU, TCU and MCP visible, so the path is proven and the remaining fault is identity or format. No gateway, mask or cable change can turn a format rejection into an upload.

Why does SIMATIC Manager report "created with a newer version or Tia"? #

That message means STEP 7 Classic reached the PLC and rejected the program's format: a toolchain from the TIA Portal family wrote the current program, and SIMATIC Manager V5.7 SP3 cannot read a TIA project representation, with no Classic service pack converting one.

The rule underneath is that the uploading tool must be the engineering system the program belongs to, which is the same rule behind why an S7-1200 upload fails across TIA Portal versions. Find the provenance before changing anything: the editable project's metadata, the machine's handover records or the integrator's documentation record which tool last downloaded the PLC.

  • Created in TIA Portal: open the original TIA project in a version that supports this NCU and CPU. Installing a newer Classic release will not read it. The same newer-version rejection appears in other automation software, and the resolution has the same shape, open the project with the family that created it, as resolving a project-created-in-a-newer-version error in HMI software shows.
  • Created in STEP 7 Classic: use the embedded STEP 7 that SINUMERIK Operate can open directly, or a Classic SIMATIC Manager whose installed device support recognizes the verified NCU and CPU. V5.7 SP3 qualifies only when the provenance is Classic.

Whichever branch applies, compare the recovered project against the online PLC before relying on it.

Why does TIA Portal V16 show the NCU but not the integrated PLC? #

The scan lists the stations it finds on Ethernet, the NCU, the TCU and the MCP, and the 317F PLC lives inside the NCU, so it never appears as a separate node; those three answers prove discovery, not upload support.

The TCU is the operator terminal and the MCP the control panel, not PLC nodes; NCU 710.3B PN PCU versus TCU retrofit guide explains that operator-station split. Expecting the integrated CPU as its own scan entry is the wrong expectation, and the USB PROFIBUS adapter on the NCU's DP port does not change it: an adapter helps only once it is the selected PG/PC interface with correct bus parameters, and even a working DP path does not remove a project-format mismatch. Drive tools sit under the same rule; why STARTER cannot go online to a G120 over PROFIBUS routing is the same path-versus-tooling split on the drive bus.

Discovery is also not support: TIA Portal engineering documentation lists consistent hardware and software upload from the 840D sl, NCU 710.3B included, but the deciding test is on your installation. The verified NCU and CPU 317F must appear in the installed hardware catalog without an unsupported-device indication before an upload can be expected to finish.

How do you identify the CPU inside the NCU before choosing a tool? #

Read the designation from online module information or the machine's hardware configuration and record exactly what the controller reports, including the F: the safety designation decides which project setup and device support the tool needs.

This machine shows the exact trap, order data naming a PLC 317-3PN/DP and diagnostics naming a CPU 317F. Resolve that discrepancy from the controller itself, not by choosing the CPU that looks closest: the F changes the project type and the device support the tool must carry. If the online read fails, the HMI's machine and system information and the archive metadata are the next sources for the same identity.

One safety note: an F designation marks a fail-safe CPU, so after any restore or upload the safety program counts as unvalidated until it is reverified against the machine's risk assessment, and the axes stay out of service until then.

What do the .arc archive and the STARTER backup actually recover? #

Neither artifact is PLC source: the STARTER backup restores the drives, the HMI start-up archive restores the machine through the HMI's archive function, and a PLC-only archive holds controller backup content; none of them replaces the editable project.

  • STARTER drive archive: restores the drive objects. Drive recovery, never PLC source.
  • HMI start-up archive (.arc): machine and HMI data, restored through the HMI's archive function. It is not a SIMATIC Manager project and not a zip container, so the failed unzip measured the tool choice, not the Ethernet path.
  • PLC-only archive: created from the HMI's machine and system area; controller backup content for restoring the PLC itself.
  • Editable project: hardware configuration, program blocks, comments and symbols; the only artifact from which you can maintain, modify and document.

Even a successful upload is a degraded copy: comments, symbolic names and offline-only data do not survive it, which is why uploading a PLC program is not full source recovery. Restore what failed with its own tool, and keep the editable project as the maintenance master.

What is the decision path from here? #

The upload succeeds only when the engineering system, its version and the device support match the CPU that owns the program, so work the list in order and stop at the first branch that fails.

  1. Prove the path once. The NCU answered the service-subnet scan with firewalls disabled; addresses, masks, cables and adapters are proven good, so stop changing them.
  2. Record the CPU identity online. If the read shows the F CPU, the project must be an F-CPU project; keep the full designation in the machine records.
  3. Establish provenance. Determine from project metadata or machine records which tool family last downloaded the program.
  4. If TIA Portal created it: open the original TIA project in a version whose hardware catalog shows the NCU 710.3B PN and the CPU without an unsupported-device indication, and upload there.
  5. If STEP 7 Classic created it: use the embedded STEP 7 from SINUMERIK Operate or a Classic SIMATIC Manager with device support for the verified CPU, and compare the result against the online PLC before relying on it.
  6. If provenance and the original project are both gone: restore from the PLC-only archive through its intended workflow, upload only if the toolchain supports it, and treat that upload as a degraded copy. Do not build a guessed hardware configuration and call it recovered source.

For the machine in front of you the branch is already decided: a Classic V5.7 SP3 upload that reaches the newer-version check, plus a TIA-only scan result, points to a program last downloaded by a TIA Portal toolchain. Fix it in TIA Portal with correct device support; the network needs nothing further.

Questions asked

Will a newer SIMATIC Manager service pack open a program created in TIA Portal?

No. The message is a format rejection, not a missing patch: STEP 7 Classic and TIA Portal keep separate project representations, and no Classic service pack converts a TIA-created program into a Classic one. Open the original project in the TIA Portal generation that created it, and move a project to Classic STEP 7 only through the documented migration route when a Classic environment is required.

Does the CPU 317F designation change how the project must be set up?

Yes. The F marks a fail-safe CPU, so the engineering tool needs safety-capable device support and a project configured for an F CPU; a standard CPU selection will mismatch the online identity and stop the transfer. Keep the safety program's editable source with the project, because an upload cannot return a complete, commented safety program on its own.

Can I restore the .arc file with a zip utility instead of the HMI?

No. A SINUMERIK archive is a container for the HMI's archive function, not a compressed folder: a start-up archive carries machine and HMI data, and a failed unzip in SIMATIC Manager measures the wrong tool, not the Ethernet path. Restore through the HMI archive function on the PCU, and create a separate PLC-only archive in the machine and system area when controller backup content is wanted.

Which backups together prove the drives, the HMI and the PLC are covered?

Three artifacts as a set: the STARTER archive for the drive objects, the HMI start-up archive for machine and HMI data, and either the editable project or a PLC-only archive for the controller. Label each with the software versions used to create it, SINUMERIK, STEP 7 or TIA Portal and STARTER, because a restore or upload only completes inside a matching toolchain.

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

  • How-to

    How to compare two CLICK PLC programs for differences

    CLICK Programming Software has no built-in project compare, and the vendor has said none exists in the current release. The working method is to upload each machine's running program as a dated baseline, compare hardware, field assignments, configuration and logic in six passes, classify every mismatch, and load one merged program only after every difference has an owner.

    PLC programming