IMDTouchKnowledge BaseShop main store

How-to

Transfer a WinCC flexible project to an MP277 via S7 routing

HMI and touchscreens Published 6 min read

Short answer

Yes, the engineering PC reaches the CPU 315-2 PN/DP over Ethernet, the CPU forwards the WinCC flexible transfer onto its MPI subnet, and the MP277 receives it at its MPI node address. That takes the CPU's routing configuration compiled and loaded, the panel configured on the MPI subnet, transfer enabled on the panel's MPI/PROFIBUS channel, and the PC's online access bound to its Ethernet adapter. Routing never targets the panel's Ethernet channel.

On this page
  1. The route the transfer takes
  2. What must be true before the first attempt
  3. Set the MP277 to receive on MPI
  4. Point the engineering PC at the route
  5. Transfer and confirm on the panel
  6. When a direct Ethernet cable beats the route
  7. Questions asked

Yes, by S7 routing. The engineering PC connects to the CPU 315-2 PN/DP over Ethernet on its PROFINET interface, the CPU forwards the WinCC flexible transfer onto its MPI interface, and the MP277 receives the project at its MPI node address. No IP address is involved at the panel end: the destination is an MPI node behind the CPU. Three things make the route valid — the CPU's routing configuration compiled and loaded, the panel configured as a station on the MPI subnet, and transfer enabled on the panel's MPI/PROFIBUS channel — with the PC's online access bound to its Ethernet adapter. The steps below set each one, and the last section says when a direct Ethernet cable to the panel is the better answer.

The route the transfer takes #

S7 routing is the transfer of data beyond S7 subnet boundaries: sender and receiver sit on different S7 subnets, and a station in between forwards. Here that station is the CPU 315-2 PN/DP with order number 6ES7315-2EH13-0AB0. Its first interface is MPI/DP, rated up to 12 Mbit/s, and that is where the MP277 hangs. Its second interface is the Ethernet PROFINET interface with a 2-port switch, and that is where the engineering PC arrives. STEP 7 gives every subnet an ID, and the compiled network configuration tells the CPU which subnet sits behind which interface — that configuration is what turns one CPU with two interfaces into a router.

The same forwarding rules carry programming-device traffic to nodes behind this CPU; configuring PG routing through a CPU 315-2 PN/DP to PROFIBUS drives relies on the identical mechanism. Two connected interfaces forward nothing on their own: until the network configuration with the panel on the MPI subnet is compiled and downloaded, the CPU stays silent.

What must be true before the first attempt #

Check these in order, because each one fails the transfer differently.

  1. CPU routing support. This CPU supports S7 routing across its two interfaces, so the case at hand is covered. A CPU with a single interface has nothing to forward through; only a direct connection to the panel works there.
  2. Engineering software coverage. The installed WinCC flexible release must list the MP277 10-inch (Touch or Key) as a device, and the project's configured variant must equal the panel on the machine — the transfer stops on a device-variant mismatch. On an older engineering PC, this CPU's compatibility with STEP7 V5.3 SP3 is documented for exactly this order number.
  3. Panel configured in the network. The panel must exist as a station on the CPU's MPI subnet in the STEP 7 project — the usual way is to create or save the WinCC flexible project within the STEP 7 project, so the HMI station appears in the network configuration with its own MPI node address. MPI holds up to 32 nodes with unique addresses; the CPU commonly keeps its default address 2, so give the panel a different one, for example 3.
  4. Routing data loaded. The network configuration is compiled and downloaded, so the forwarding data in the CPU matches the offline project.

Set the MP277 to receive on MPI #

The documented rule for transfer via MPI or PROFIBUS: settings on the Windows-based panel and settings on the configuration PC. Start on the panel.

  1. On the MP277, open the Control Panel and its transfer settings.
  2. Enable the transfer channel for MPI/PROFIBUS. Do not rely on the Ethernet channel: a WinCC flexible transfer cannot use S7 routing to reach the panel's Ethernet channel, so enabling it changes nothing for this route.
  3. Set the panel's node address to the one the network configuration expects, and the transmission rate equal to the CPU interface's rate — the common MPI setting is 187.5 kbit/s.
  4. Leave the channel enabled while you transfer; the panel accepts a project only on an enabled channel.

The operating HMI connection and the transfer service are separate functions — the panel can read PLC variables all day with its transfer channel disabled. A node address or rate change re-parameterizes the bus that carries the running HMI connection, so make such a change with the machine in a safe state and confirm variable traffic afterwards.

Point the engineering PC at the route #

  1. Bind the PC's Ethernet adapter with its TCP/IP protocol to the online access point the transfer uses — the same access point involved in connecting WinCC to PLCSIM through the S7Online access point.
  2. Prove the Ethernet leg first: ping the CPU's PROFINET address, for example 192.168.0.10 from a PC at 192.168.0.20. Where no switch sits near the cabinet, plug into the spare port of that interface's built-in switch.
  3. In WinCC flexible, open Project > Transfer > Transfer Settings... and choose the transfer channel for MPI/DP with the panel addressed through the S7 route — its MPI node from the integrated network configuration — not a direct Ethernet or serial target.
  4. If the dialog offers no routed destination, the panel is missing from the STEP 7 network configuration, or the WinCC flexible project does not sit inside that STEP 7 project. Fix that before touching any address.

Transfer and confirm on the panel #

  1. Start the transfer in WinCC flexible. The loader on the panel answers on the enabled channel and writes the compiled project.
  2. Confirm on the panel itself: open a screen changed in this compile, or compare the project information the panel reports with the compile just made.
  3. If the project arrives but starting WinCC flexible Runtime fails on an MP277 panel, the transfer did its job — the fault is in the runtime start-up, not in the route.
  4. If a node address or rate was changed to make this work, verify that the runtime's variable connection to the CPU recovers.

When a direct Ethernet cable beats the route #

The route crosses the MPI segment at the MPI rate, and that is its price. Worked example with illustrative inputs: a compiled project of 2 MB is 2,000,000 bytes × 8 = 16,000,000 bits; at 187,500 bit/s the serial floor is 16,000,000 ÷ 187,500 ≈ 85 s, about a minute and a half — before MPI framing, the routing handshakes and the panel's flash writes. A measured routed transfer runs longer than that floor; a direct Ethernet transfer of the same project takes seconds.

Case Use Why
The panel has a free Ethernet port you can cable Direct Ethernet transfer Enable the panel's Ethernet transfer channel, put PC and panel on one IP network, skip the route.
The panel must stay MPI-only The routed transfer above It is the supported way to reach an MPI-only panel from Ethernet. Budget minutes.
The CPU's first interface is configured as PROFIBUS and the panel sits on that bus The same procedure on the PROFIBUS channel Address and rate must match the bus; a mismatch is the classic failure, as in why an OP77B project transfer fails over PROFIBUS at 1.5 Mbps.
No Ethernet path to the CPU exists None of this works yet Get the PC onto the PROFINET network first; the route applies afterwards.

If the direct Ethernet upload then keeps failing, the causes are collected in why an Ethernet project upload from an HMI panel keeps failing. And if the panel also moves to Ethernet for runtime communication with this same CPU, configuring MP 277 Ethernet PN-IO communication with an S7-300 CPU 315-2 PN/DP covers that pair.

Questions asked

Does the engineering PC need its own MPI adapter for this transfer?

No. The point of the route is that the PC needs only an Ethernet connection to the CPU's PROFINET interface; the CPU's MPI interface provides the MPI side. A PC-side MPI adapter is needed only for a direct MPI transfer with no CPU in between, or when the CPU offers no routing.

Will a faster MPI rate shorten the routed transfer?

The serial floor scales inversely with the rate, but only if both the CPU interface and the panel accept the higher rate, and the change re-parameterizes the bus that carries the running HMI connection. Schedule it with the machine stopped and verify variable traffic afterwards. For a one-time load, a direct Ethernet cable is the cheaper fix.

Can one routed transfer serve several panels on the same MPI subnet?

Yes, one at a time. Each panel needs its own unique MPI node address, its own station in the network configuration and transfer enabled on its own channel, and the CPU forwards to whichever node the transfer addresses. Never give two stations the same address to save configuration work; that disturbs the whole subnet.

Does S7 routing also carry the panel's runtime variable traffic?

No. Routing serves engineering traffic: project transfers and online access. The runtime connection between the MP277 and the CPU over MPI is configured separately in the WinCC flexible connection settings, and it keeps working whether or not the transfer channel is enabled.

Keep reading

  • Explainer

    Where an MP377 Panel IP Address Actually Lives

    WinCC flexible does not expose the MP377 panel's own network address as a tag. The active address lives in the panel Control Panel network settings, the project or backup holds only the engineered value, and any on-screen address is a configured label, not a live readback.

    HMI and touchscreens

  • Troubleshooting

    Why an OP77B project transfer fails over PROFIBUS at 1.5 Mbps

    A failed OP77B download over PROFIBUS is a settings mismatch, not a dead panel: the PC adapter must run at the segment's baud rate, the DIP-set PROFIBUS address must match both the panel's Transfer settings and the STEP 7 slave entry, and the panel must sit in transfer mode with automatic transfer off for the first download. Clear the only-master setting when the S7-315 shares the segment.

    HMI and touchscreens

  • Explainer

    Why an HMI second Ethernet port does not route PC Runtime to the PLC

    A WinCC flexible transfer to the HMI's second Ethernet port proves only PC-to-HMI reachability. The two interfaces are separate networks; a PC Runtime reaches the controller through an explicitly configured network route or supported S7 routing, never automatic bridging inside the HMI.

    HMI and touchscreens