Overview and Engineering Context
The SIMATIC KTP700 Basic (6AV2 123-2GB03-0AX0) is the 7-inch color-touch member of the SIMATIC HMI Basic Panel family. It is favored for cost-sensitive machine-builder applications because it supports PROFINET IO, comes with WinCC Basic pre-installed, and integrates directly into TIA Portal from V13 SP1 onward. The trade-off for the price is a hard-coded connection ceiling in the runtime: only four simultaneously usable HMI connections are supported regardless of project compilation options.
This ceiling becomes a hard engineering problem as soon as a machine with multiple SINAMICS drives must be visualized. A typical cell layout combines a SIMOTION motion controller and several SINAMICS G120C frequency inverters on the same PROFINET segment. A naive TIA configuration that creates one HMI connection per drive quickly exceeds the four-connection limit, and the compiler aborts with the diagnostic message:
"Maximum number of usable HMI connections exceeded (4 of 4)."
HMI tag administration stop: project cannot be compiled.
The connections in question are HMI-relevant S7 communication connections, also called HMI connections, which are the channels the panel uses to read/write tags on automation stations. They are independent of, and additive to, the PROFINET IO real-time (RT) connections used for cyclic I/O data exchange; the panel is still able to see and parameterize all PROFINET devices even when the HMI-connection quota is exhausted, because PROFINET IO uses a separate resource in the CPU. Therefore the problem is not about IO connectivity or about the number of IO devices - it is about the number of S7 routing/communication paths the panel runtime opens against PLC stations.
This article documents the proven engineering pattern of using a SIMOTION controller as a parameter aggregator so that the Basic Panel needs only one connection to the controller, while the controller transparently serves data from every downstream SINAMICS drive.
Technical Background - Why the Four-Connection Limit Exists
WinCC Basic for Basic Panels allocates a fixed-size resource table per device. The table is sized for the Basic runtime footprint and cannot be re-tuned by configuration flags, registry edits, or firmware updates. The release notes for the WinCC Basic runtime (TIA Portal V13 SP1 and later) confirm this as a permanent platform limit, not a bug.
| Parameter | Specification |
|---|---|
| Max HMI connections | 4 |
| Max PLC stations | 4 |
| Max S7-1200/1500 connections (PC/PG/HMI role) | 1 per partner; managed at CPU level (see TIA Portal V21 docs) |
| Max PLC tags | 800 (KTP700 Basic) |
| Max screens | 100 (KTP700 Basic) |
| PROFINET IO devices | limited only by IO controller resource, not the HMI quota |
The connection resource accounting at the CPU side is described in the TIA Portal V21 documentation "Configuration limits in the connection configuration". For an S7-1200/1500 CPU the maximum number of S7 connections the CPU can manage is fixed by its firmware. The panel-side maximum of 4 is independent of the CPU maximum - whichever is lower determines actual project size. Increasing the panel quota is not possible; it can only be worked around architecturally.
Root Cause of the Compile Error
When the engineer creates an HMI connection from the panel project to each PLC station, TIA Portal increments a counter in the HMI configuration. The counter saturates at 4. The compiler then refuses to build because runtime initialization would overflow the static resource table. The diagnostic message identifies the offending count:
Device: KTP700 Basic (KTP700 Basic)
Status: Error
Reference: HMI_Connection
Description: The maximum number of S7 connections is limited to 4.
Cause: Too many configured connections of type "S7 communication"
Removing the export to one or more PLC stations makes the project compile, but eliminates tag visibility. The real solution is to consolidate the data path so that fewer logical connections carry more data.
Solution Architecture - SIMOTION as Parameter Aggregator
The recommended topology replaces n HMI connections with one connection to a SIMOTION controller, which then polls every SINAMICS G120C on the PROFINET segment via the standardized drive parameter channel. The panel reads only SIMOTION tags; SIMOTION owns the drive parameter interaction.
The pattern is functionally identical to what Siemens documents for SINAMICS S120 commissioned by SIMOTION: parameters live on the drives but are exposed to higher-level controllers through the _readDriveParameter / _writeDriveParameter system function blocks. The HMI then visualizes parameters as ordinary PLC tags on the SIMOTION data block.
Implementation - Step-by-Step Configuration
Step 1 - Confirm Hardware and Firmware Compatibility
- Verify the panel is a KTP700 Basic (order number 6AV2 123-2GB03-0AX0) or equivalent 4-inch/7-inch/9-inch Basic model. Comfort Panels (KTP700 Comfort, TP700 Comfort, etc.) do not have the four-connection cap.
- Verify SIMOTION firmware V4.4 or later (SIMOTION SCOUT / TIA Portal compatibility matrix).
- Verify G120C with PROFINET interface (order suffix FPN, e.g. 6SL3210-1KE1x-xxxx-xFPN) and firmware V4.7 SP3 or later so the standardized parameter channel (PROFIdrive parameter channel via acyclic services) is fully supported.
Step 2 - Wire the PROFINET Topology in TIA Portal
- Open the TIA Portal project and switch to Devices & Networks.
- Add the KTP700 Basic as an HMI device with PROFINET interface enabled.
- Add the SIMOTION D4x5 (or P320, T-CPU) device.
- Drag each SINAMICS G120C into the project and assign it to the SIMOTION's PROFINET IO subnet. Do not connect the panel directly to the drives.
- Assign sequential device names
g120c-01...g120c-07and IP addresses from a contiguous PROFINET block (e.g. 192.168.0.41 - 192.168.0.47).
Step 3 - Create a Single HMI Connection from the Panel to SIMOTION
- Right-click Connections under the panel and choose Add new connection.
- Select S7 communication with the SIMOTION station as the partner.
- Leave the SIMOTION end-point slot empty - the panel uses the standard integrated connection.
- Save and compile. The connection counter now reads 1 of 4.
Step 4 - Implement _readDriveParameter Calls in the SIMOTION Program
Each SINAMICS G120 drive exposes its parameter database through the PROFIdrive acyclic parameter channel. SIMOTION's drive parameter access library (the _readDriveParameter / _writeDriveParameter FB set) handles the routing. The interface signature in MCC or ST is:
FUNCTION_BLOCK _readDriveParameter
VAR_INPUT
driveRef : DRIVE_REF; // symbolic drive reference from the topology
parameterNo: DINT; // SINAMICS parameter number, e.g. 21 (act. freq.)
parameterIdx: DINT := 0; // parameter index
END_VAR
VAR_OUTPUT
value : REAL; // parameter content
error : BOOL;
status : WORD; // SIMOTION error/status word
END_VAR
For each parameter of interest the engineer instantiates one call per drive. A pragmatic implementation uses a cyclic task that refreshes the most relevant parameters at a 200 ms cadence so the HMI sees live values without flooding the acyclic channel.
// Refresh drive-speed feedback for HMI every 200 ms
DRIVE_REF_ARR : ARRAY[1..7] OF DRIVE_REF;
FOR i := 1 TO 7 DO
_readDriveParameter(
driveRef := DRIVE_REF_ARR[i],
parameterNo := 63, // r0063: actual speed rpm
parameterIdx:= 0,
value => hmiSpeed[i],
error => drvErr[i],
status => drvStat[i] );
END_FOR;
Step 5 - Expose the Aggregated Values to the HMI
- In SIMOTION declare a global data block (DB)
HmiDriveDatawith arrays for each parameter (speed, current, torque, fault word, etc.). - Make the DB accessible to the HMI by selecting it as the source on the single panel connection in the HMI tag administration.
- Bind HMI tags to
HmiDriveData.Speed[1]throughHmiDriveData.Speed[7]. Operators see the values as if they came from independent drives.
Step 6 - Display on the Panel Screens
Standard WinCC Basic screen elements - I/O fields, bar graphs, multi-line text lists - accept the SIMOTION tags as their PLC pointers. Multiplexing (e.g. selecting which of the 7 drives is being edited) can be implemented using tag multiplexing by index, supported by WinCC Basic via the Use index option on an I/O field. The number of HMI-side tags remains bounded by the 800-tag ceiling of the KTP700 Basic, well above the application's footprint.
Performance and Timing Considerations
The PROFIdrive acyclic parameter channel is slower than cyclic I/O. Typical observed round-trip latencies on a 100 Mbit PROFINET segment are:
| Operation | Observed Round-trip | Notes |
|---|---|---|
| Cyclic I/O (4 ms cycle) | 4 ms | Used for hard real-time control |
_readDriveParameter single |
20-40 ms | One parameter, one drive |
_readDriveParameter 7 drives x 5 params |
~700 ms - 1.4 s | Total refresh wall-clock time |
_readDriveParameter burst mode |
10-15 ms | Per parameter when loadable function used |
For human-machine visualization a 1-second update is acceptable. Critical process interlocks must never be built on top of acyclic parameter reads; use cyclic I/O instead.
Memory and Tag Footprint Accounting
| Item | Count | Budget |
|---|---|---|
| HMI connections | 1 | 4 (panel cap) |
| PLC stations | 1 (SIMOTION) | 4 (panel cap) |
| HMI tags (drives only) | 35 (5 x 7) | 800 |
| DB arrays in SIMOTION | 5 | CPU RAM (depends on controller) |
| PROFINET IO devices visible to panel | All (monitoring only) | Independent of HMI-connection count |
Alternative Workarounds and Trade-offs
| Approach | Cost impact | Engineering impact | Verdict |
|---|---|---|---|
| Replace with KTP700 Comfort | moderate panel delta | none | Recommended if budget allows |
| SIMOTION aggregation (this article) | none | moderate - new code in SIMOTION | Optimal when SIMOTION is already on the cell |
| Custom HMI multiplexing script | none | high - non-standard maintenance | Not recommended; lifecycle risk |
| Use a PN/PN coupler + secondary panel | high | architecturally messy | Only for multi-panel cells |
| Switch to Modbus TCP between panel and an external gateway | gateway hardware | high; loses S7 diagnostics on HMI | Use only if Basic Panel is mandatory |
Verification and Commissioning Procedure
- Compile the TIA Portal project. Confirm the message 0 errors, 0 warnings. The previous "max 4 connections" error must not appear.
- Download to the SIMOTION and the KTP700 Basic. Use Go online > Accessible nodes to verify the panel establishes its single connection (status must be Established).
- Force a known setpoint into each drive and confirm the HMI tag value follows within <1.5 s.
- From the panel side, trigger a
_readDriveParameterfor a parameter that does not exist (e.g. parameter number 99999). Confirm theerrorandstatusoutputs of the FB are populated correctly so error handling is observable from the HMI. - Run a 24-hour burn-in: every drive fault word must propagate to the panel within one refresh cycle.
Troubleshooting Matrix
| Symptom | Likely cause | Diagnostic | Fix |
|---|---|---|---|
| Compile error "max 4 HMI connections" persists after Step 3 | Old connections not removed | Project tree > panel > Connections: confirm count = 1 | Delete surplus connections |
Panel shows -- for all drive tags |
SIMOTION DB not selected as connection source | Connections > Properties > DB selection | Bind DB to connection |
| Tags flicker or show stale values | Acyclic poll rate too fast; bus collisions | PROFINET diagnostic > bus load > 70 % | Increase cycle or use burst-mode _readDriveParameter variant |
| Status word returns 0x0F (drive reference invalid) |
DRIVE_REF is from wrong topology |
SCOUT > Drive diagnostics | Re-link to correct topology mapping |
| Different speed value shown per drive vs. drive keypad | Parameter scaling mismatch (r0063 in rpm vs. r0021 in Hz) | Cross-check with drive BOP | Re-select the right parameter number and apply unit conversion in SIMOTION |
| HMI connection breaks after PLC restart | Connection ID mismatch after re-download | Online > Connections diagnostics | Consistent connection ID in project and PLC |
Notes on Firmware and TIA Portal Versions
The four-connection quota is documented in the WinCC Basic runtime firmware for the KTP400 through KTP1200 Basic Panels. It is independent of TIA Portal version. As of TIA Portal V21 the documentation "Configuration limits in the connection configuration" continues to refer engineers to the per-device maximums. Comfort Panels, Unified Panels, and SIMATIC WinCC Professional do not enforce this limit.
FAQ
Can I bypass the four-connection limit on a KTP 700 Basic by editing registry keys?
No. The WinCC Basic runtime allocates the connection table statically; no documented registry or firmware modification increases the quota. The recommended workaround is to consolidate HMI connections via SIMOTION as described above.
Does each PROFINET G120C count against the HMI connection quota?
No. HMI connections are S7 communication paths and are independent of PROFINET IO cyclic traffic. You may have all seven G120C drives visible to the IO controller even when the panel has only one HMI connection open.
Which SIMOTION functions are the official way to read SINAMICS parameters?
Use the library blocks _readDriveParameter and _writeDriveParameter from the SIMOTION SCOUT Function Library "Drive Parameter Access". They wrap the PROFIdrive acyclic channel and return a standardized status word.
How fast does parameter data update from SIMOTION to the HMI?
A polled batch of 5 parameters x 7 drives typically completes in 700 to 1400 ms. For visualization this is invisible. For control loops, use cyclic I/O from the drive's PROFINET slots, not the acyclic channel.
Is the same pattern valid for an S7-1500 instead of SIMOTION?
Yes. The S7-1500 system function block SINA_PARA_S allows reading and writing SINAMICS parameters via the PROFIdrive acyclic channel, with identical semantics. The HMI then connects to the S7-1500 over one S7 connection.