Configuring S7-1500 to KTP1200 HMI Communication Across TIA

David Krause11 min read
SiemensTIA PortalTutorial / How-to
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Overview

Engineers frequently inherit a legacy SIMATIC S7-1500 CPU program that was created in an older TIA Portal version while the HMI side has already moved to a newer release. A common field configuration is an S7-1513-1 PN (6ES7 513-1AM02-0AB0) programmed in TIA Portal V15.1 paired with a KTP1200 Basic 2nd-generation panel (6AV2 123-2MA03-0AX0) configured in TIA Portal V17. The two devices live in two independent TIA projects, and the question is whether the HMI can still poll process tags from the CPU without merging the projects.

The short answer is yes. TIA Portal supports three practical paths to make this work:

  1. Device Proxy / HMI device proxy – keep two projects, insert a proxy of the S7-1500 into the HMI project.
  2. Absolute addressing only – drop HMI tags with raw I/O, DB, and Merker addresses; no project integration required.
  3. Project migration – upgrade the PLC project to TIA V17 and combine both devices into a single project.

Because the S7-1500 is a symbolic-IO controller, symbolic access is the preferred runtime mode, which means Option 1 or Option 3 should be evaluated first. Absolute addressing works, but it removes symbolic naming, online tag diagnosis, and PLC type checks from the HMI side.

Prerequisites

Item Specification / Notes
PLC CPU SIMATIC S7-1513-1 PN (6ES7 513-1AM02-0AB0), firmware V2.6 or later recommended; supports S7 communication and PUT/GET.
HMI panel SIMATIC KTP1200 Basic 2nd Generation, 12" widescreen, PN interface, article number 6AV2 123-2MA03-0AX0.
Engineering – PLC STEP 7 Professional V15.1 Update 4 or later in the PLC project.
Engineering – HMI WinCC Professional / Comfort V17 (TIA Portal V17 Update 3 or later) for the HMI project.
Network Shared PROFINET subnet (typically 192.168.0.x/24) with the CPU and HMI on the same VLAN/broadcast domain.
Access rights CPU security → "Permit access with PUT/GET communication from remote partner" must be enabled when using absolute addressing without project integration.
Licenses WinCC Comfort for the KTP1200 configuration; no additional runtime license for basic S7 connection.
Compatibility boundary: TIA Portal cannot open or modify a V15.1 project in V17 without a migration. Do not attempt to compile the V15.1 PLC program with V17 unless you intentionally run the migration wizard. The two projects are intentionally isolated; only the HMI side is touched in V17.

Understanding the Mixed-Version Topology

The physical layer does not change with the TIA version – the S7-1500 and the KTP1200 still speak standard S7 communication over PROFINET (TCP/UDP, ISO-on-TCP port 102). What changes is the engineering representation:

  • The CPU's symbol table, DB structures, and PLC tags live in the V15.1 project.
  • The HMI tags, screens, and alarms live in the V17 project.
  • The binding between them is created at compile/download time of the HMI project, either through a proxy of the CPU or through hand-typed absolute addresses.

Inline diagram – logical view of the two projects:

TIA Portal V15.1 – PLC Project S7-1513-1 PN 192.168.0.10 PLC Tags DB100, I/Q, Merker TIA Portal V17 – HMI Project KTP1200 Basic 192.168.0.20 HMI Tags Proxy or Abs Addr PROFINET / S7

Option 1 – HMI Device Proxy (Recommended for S7-1500)

A device proxy is a placeholder of the CPU inserted into the HMI project. The proxy holds the type, firmware version, connection parameters, and the PLC tag name space. It lets WinCC TIA Portal compile and download fully symbolic HMI tags without ever opening the original PLC source.

  1. Export the PLC station from the V15.1 project: in the project tree, right-click the S7-1513-1 device → Export device to TIA Portal Exchange Format (.tie file). The export contains the device description, PLC tag table, and DB interfaces.
  2. Open the HMI project in TIA V17. In the project tree, choose Devices & Networks → Add new device → Siemens → PLC → SIMATIC S7-1500 → CPU 1513-1 PN and select "Create device proxy".
  3. Import the .tie file you exported in step 1. The proxy is added to the HMI project and recognized by the HMI as a valid S7 partner.
  4. Drag a new HMI connection from the KTP1200 to the proxy CPU. The connection uses the CPU's PROFINET interface and IP address (e.g., 192.168.0.10). WinCC will default to S7ONLINE as the access point.
  5. Open the proxy's PLC tag table. All symbolic tags from the V15.1 project are present, including their data types. Build your HMI tags by referencing the proxy's symbolic names – no manual address entry is needed.
  6. Compile the HMI project (Right-click KTP1200 → Compile → Software (all)) and download to the panel.
Watch the proxy version: the proxy must reference the same CPU order number (6ES7 513-1AM02-0AB0) and the same or newer firmware. If the V15.1 project uses a different article number, the proxy import will fail or warn about a downgrade. Re-export with the matching catalog profile before importing.

Option 2 – Absolute Addressing (No Project Integration)

When you cannot or do not want to share a TIA Exchange file, the HMI can be pointed directly at raw addresses. WinCC resolves the symbolic DB names at runtime through the S7 connection, but the engineering side loses symbolic validation.

  1. In the HMI project, open Devices & Networks and add a new S7 connection to the KTP1200. Set Partner (PLC) IP = 192.168.0.10, Partner rack/slot = 0/1, and leave the Connection name as the default "Connection_1".
  2. In the PLC's properties (accessible from the V15.1 project), navigate to Protection & Security → Connection mechanisms and enable "Permit access with PUT/GET communication from remote partner". Without this flag, the HMI connection will be refused with the S7 error 0x8030.
  3. Create an HMI tag for each value the panel needs. Use absolute addressing such as:

DB100.DBD0      REAL   – ProcessValue1
DB100.DBX4.0    BOOL   – MotorRunning
DB100.DBW6      INT    – SetpointSpeed
I 0.0           BOOL   – DI_00
QW 100          WORD   – AO_100
  1. On the screens, bind the IO fields, buttons, and indicators to these HMI tags. The acquisition cycle is set per tag (default 1 s; tighten to 250 ms for fast loops).
  2. Compile and download to the KTP1200 Basic. The panel will poll the CPU over ISO-on-TCP port 102 using the configured IP.
Symbolic access disabled by default with absolute tags: if a DB is optimized (ATTRIBUTE \_:=\_: ACCESS\_:='optimized' or keyword "AT" absent), absolute addressing will fail at runtime. Either declare the DB as standard (non-optimized) in the V15.1 project, or move to Option 1 / Option 3 to keep symbolic access.

Option 3 – Migrate the PLC Project to TIA V17 and Combine

If the V15.1 project can be moved forward, the cleanest engineering result is a single V17 project that contains both the S7-1513-1 and the KTP1200.

  1. Back up the V15.1 project (File → Archive). Do not skip this – the migration modifies block signatures and the archive is the only rollback path.
  2. Open the project in TIA V17. The Portal prompts to Migrate project; accept. Expected warnings: unsupported libraries, hardware catalog updates, and SCL syntax tightening.
  3. Resolve the migration log. Common items:
Migration Warning Cause Action
"Block family ... no longer supported" Firmware family < V2.0 Update the CPU to V2.9 (latest stable for 6ES7 513-1AM02-0AB0).
"Library X not migrated" Global library is V15.1 only Re-add from current TIA V17 library or replace with user FB.
"HMI device deleted during migration" HMI was a TIA V15.1 KTP, but the V17 runtime expects V17 image Reinsert a fresh KTP1200 Basic V17 and rebind the connection.
  1. Insert the KTP1200 Basic (6AV2 123-2MA03-0AX0) in the V17 project, drag an HMI connection to the migrated S7-1513-1, and select symbolic tags from the PLC tag table directly.
  2. Compile the combined project. Translate HMI messages (WinCC will prompt to translate any text DBs). Download PLC first, then HMI.

S7 Connection Parameters

Parameter Recommended Value Notes
Connection type S7 communication Default for WinCC ↔ S7-1500.
CPU IP address 192.168.0.10 (static) Avoid DHCP; HMI does not handle lease changes gracefully.
CPU rack / slot 0 / 1 S7-1500 slot 1 is always the CPU.
Access point S7ONLINE Used by both TIA Portal and the WinCC runtime.
Port ISO-on-TCP 102 Do not forward through NAT/firewall without a dedicated routing rule.
Connection resources 1 of 32 (CPU side) Each S7 connection consumes one OS resource; budget for other HMI/PG connections.
PUT/GET Enabled Required for absolute addressing (Option 2) and for older TP/OP panels.
Read/write cycle 1 s default, 250 ms for control loops Lower values increase PROFINET load.

CPU Security Settings That Block Cross-Project HMI

Even with a correct proxy or absolute tag, the S7-1500 will reject the HMI's request if protection is too tight. The following CPU properties are checked at runtime:

  • Protection & Security → Access level – leave at "Full access (no protection)" or grant the HMI connection a dedicated password level.
  • Permit access with PUT/GET communication from remote partner – must be ON for absolute addressing and for the HMI proxy when the proxy does not include the PLC's access password.
  • Secure Communication – if the project uses TLS-secured S7 communication, the KTP1200 Basic runtime image must support it. The 2nd-generation Basic Panels (firmware ≥ V17) do support secure PG/HMI communication; older images will silently fall back to plain S7 and may be rejected.

Verification

  1. Download the HMI configuration. After the panel restarts, open the Control Panel → Transfer to confirm the IP/Subnet matches the CPU's PROFINET interface.
  2. From the engineering PG, use Online → Accessible devices in the V17 project to confirm the S7-1513-1 responds. The CPU's MAC should appear under the configured PROFINET subnet.
  3. Open a WinCC screen that uses one of the HMI tags. Force a value in the V15.1 project via the watch table (e.g., DB100.DBD0 = 12.5) and confirm the HMI IO field updates within one acquisition cycle.
  4. From the V17 HMI project, right-click the HMI connection → Connection diagnostics. The status must read "Connected" and the connection path "S7ONLINE → S7 connection → CPU 1513-1 PN".
  5. Trigger an alarm on the HMI that uses a PLC tag bit (e.g., DB100.DBX4.0) to confirm both directions of communication.

Troubleshooting Matrix

Symptom Likely Cause Action
HMI shows "Connection failed" / "Server not found" Wrong CPU IP, subnet mismatch, or firewall on the engineering switch Ping the CPU from the panel's service menu; correct the IP under Control Panel → Network.
Connection OK but all tags show "Quality = Bad" Optimized DB access blocks absolute read; or HMI tag has wrong data type Switch to symbolic access via the proxy, or mark the DB as standard (non-optimized) in the V15.1 project.
S7 error 0x8030 "Object access not permitted" PUT/GET is disabled on the CPU Enable Permit access with PUT/GET communication from remote partner in the CPU properties.
S7 error 0x8104 "Connection reset by peer" CPU access level too high; or a partner connection resource already consumed Lower the access level for the HMI or free a connection resource; check CPU diagnostic buffer.
Proxy import fails with "article number mismatch" CPU order number or firmware version differs between V15.1 source and V17 catalog Update the CPU in the V15.1 project to the exact order number (6ES7 513-1AM02-0AB0, FW V2.9), re-export, re-import.
Tags work online but screen graphics are blank Acquisition cycle too long, or animation bound to wrong property Lower the acquisition cycle to 250 ms; verify the animation source under Properties → Appearance.

Performance and Load Considerations

Each polled HMI tag counts as a request on the CPU's S7 connection. On an S7-1513-1 PN the practical limit is around 200 HMI tags per second of update rate before the connection resources are saturated. Group related values into DBs and use a single multiplexed handshake word if your application pushes hundreds of tags. For very dense dashboards, switch the tag acquisition to "On demand" in the HMI tag properties – values are only read when the screen is active.

Field-Proven Recommendations

  • Use the device proxy (Option 1) whenever the S7-1500 side is symbolic – it keeps online diagnostics and tag type checking alive.
  • Reserve absolute addressing (Option 2) for legacy retrofits where the PLC project is frozen and the HMI is being rewritten.
  • Prefer project migration (Option 3) for new machines – the engineering overhead pays back during commissioning and future service.
  • Always export both projects to TIA Exchange Format on every release; this gives you a clean import path if a workstation has to be rebuilt.
  • Document the CPU's access level and PUT/GET state in the project README – these are the two settings that fail most often when a third-party panel is bolted on.

Can a KTP1200 Basic in TIA V17 talk to an S7-1500 that lives in a TIA V15.1 project?

Yes. The simplest method is to export the S7-1500 to a TIA Exchange (.tie) file from the V15.1 project and import it as a device proxy into the V17 HMI project. The HMI then binds to the proxy using symbolic tags. Absolute addressing without any project link is also possible if PUT/GET is enabled on the CPU.

What CPU setting blocks HMI communication if I forget it?

The "Permit access with PUT/GET communication from remote partner" option under Protection & Security on the S7-1500. If it is off, the HMI connection is refused with S7 error 0x8030. Enable it or raise the access level for the HMI connection specifically.

Do I need to open the PLC project in TIA V17 to make this work?

Not for Options 1 and 2. You only need the original V15.1 project to export the device (for the proxy) or to look up the absolute addresses. Option 3 – migrating the PLC project to V17 and combining – does require opening the V15.1 project in V17 and running the migration wizard.

Why do my HMI tags read "Bad" quality even though the connection is online?

The most common cause is an optimized DB on the S7-1500 side. Optimized DBs strip absolute byte offsets, so WinCC cannot resolve DB100.DBD0 against a non-optimized layout. Either mark the DB as standard (non-optimized) in the V15.1 project, or use a device proxy with symbolic access instead of absolute tags.

How many HMI tags can the S7-1513-1 PN handle in one connection?

The S7-1513-1 PN has 32 OS connection resources and a comfortable S7 communication budget. In practice, around 200 tags polled at 1 s per tag works without saturating the connection. For higher tag counts, lower the acquisition cycle only on critical tags and switch the rest to "On demand" acquisition.

Back to blog