How-to
What Publishing HMI Runtime Screens to Web Clients Requires
Short answer
Publishing runtime screens to web clients needs four things working together: a release-matched web server component on the runtime or a dedicated server, a server license sized to the client count, a published screen set separate from the project file, and named users with view-only versus operate permissions reached through a controlled VPN rather than direct internet exposure. Miss any one and the browser page loads nothing or refuses commands.
On this page
- Confirm the engineering environment and the software match
- Install the web server component and license it
- Example: choosing the license tier for 12 simultaneous web viewers
- Publish the screen set for web use
- Configure named users and split viewing from operating
- Bring the remote clients in over a controlled path
- Test in the order the failures live
- Questions asked
A web client renders published runtime screens only when four pieces line up: a release-matched web server component installed behind a Windows web service, a server license sized to the number of simultaneous clients, a screen set explicitly published for web use, and named users whose view-only or operate permissions match what each screen asks them to do. Remote clients reach that server through a controlled VPN or gateway, never straight from the public internet. This article walks the deployment in the order that finds failures fastest: software match first, then server and license, then publishing, then users, then the network path.
Confirm the engineering environment and the software match #
Web access components belong to a specific visualization product and release. Classic WinCC, WinCC flexible and TIA Portal WinCC are separate engineering environments, and each has its own web option with its own installation and publishing procedure. Read the product name, release and installed service packs on the runtime computer before installing anything.
Then check the supported combination in the vendor's compatibility documentation: runtime release, web server component release, Windows version, the Windows web service version, and the client component. Similar version numbers are not a compatibility test. A question like whether a web component from one minor release runs on a runtime from another must be answered from the vendor's compatibility list for those exact releases, including required updates, not from the resemblance of the numbers. If the combination is not listed as tested, treat it as unsupported and align the releases first.
Install the web server component and license it #
The web server component installs on the runtime computer, on a dedicated web server or on a WinCC client, according to the release's installation documentation. Its documentation also names the Windows web service features it requires; installing a browser does not install or configure a web server, so work from the component's own installation instructions.
Licensing is a hard limit on how many browsers may connect at once. The server license is required for long-term use and is sold in fixed simultaneous-client steps. In the releases documented by the vendor's options brochure the steps are 1, 3, 10, 30 or 100 clients; other release families list 3, 10, 25 or 50. Read the license steps for your exact release before purchasing, because the tier boundaries differ between release families. Every browser session that connects to the web server consumes one seat of that entitlement.
The client side also has a footprint to plan for: installing the web client on a workstation requires at least 70 MB of free disk space on its local hard drive. Ten view-only workstations therefore need at least 700 MB spread across them, which rarely binds, but a thin client with a nearly full disk will refuse the install.
Example: choosing the license tier for 12 simultaneous web viewers #
The inputs: a plant plans 12 workstations that may show the runtime screens at the same time, all view-only, and the release family is the one whose brochure documents steps of 1, 3, 10, 30 or 100 clients. Each figure comes from the planning count and the documented tier list.
The rule: pick the smallest documented step that is greater than or equal to the planned simultaneous client count, because every concurrent session consumes one seat.
The arithmetic: the 10-client step seats 10 sessions, and 12 planned viewers minus 10 seats leaves 2 viewers unserved, so the 10-client tier fails. The next documented step is 30, and 30 seats minus 12 planned viewers leaves 18 seats of headroom for shift overlap and a supervisor opening the page from an office PC.
The result: one 30-client server license covers all 12 planned viewers with 18 seats spare.
The decision: buy the 30-client step for this release family, and re-run the same comparison against your release's actual tier list before ordering, because a release family whose steps run 3, 10, 25, 50 would instead call for the 25-client step, leaving 13 seats spare. If the count later grows past the licensed step, additional clients wait in queue or are refused rather than degrading everyone's screen.
Publish the screen set for web use #
Publishing is separate from saving an engineering change. A screen that displays correctly in the local runtime is not on the web server until the publisher has processed it.
- Confirm the project runs locally and every screen you intend to publish displays correctly in the runtime first. Fix local problems before adding a web layer.
- Release the project folder in Windows on the machine that acts as the web server or WinCC client, so the publisher can write to it. Newer releases provide a dedicated publisher tool for this step; older release families publish from a command inside the engineering environment.
- In the publisher, select the screens to serve together with their dependencies: image files, and the controls and script content the screens use. A screen with Windows-specific controls may render locally but fail in a browser, so review every control on a web-served screen for browser support.
- Run the publish and read every message. A failed publish leaves the previous screen set live, which looks like a success until an operator opens the unchanged screen.
- After any later change to a web-served screen or its resources, publish again and verify the updated screen from an actual client. Publishing is a repeat step, not a one-time setup.
Configure named users and split viewing from operating #
Create individual user accounts in the visualization software's user administration. Never share one privileged account across the control room and the web clients, because the audit trail then cannot say who pressed what.
Assign permissions per task. View-only users get monitor rights only; operating users get the permission levels the objects on their screens require. Some release families express these as numeric authorization identifiers, and a monitor-only level exists in the documented identifier range; read the meaning and interaction of each identifier in your own release's documentation before assigning them, because the numbering is release-specific and not a universal template.
The failure pattern this prevents is specific: values display, commands do nothing. That means communication is healthy and the user lacks either the object's required permission or a process permissive. Compare the effective permission against the object's requirement before suspecting the network.
Bring the remote clients in over a controlled path #
The web server must be reachable from the client over the network, and at least one user must be configured for web access on the server before a client can log in. A private server address only means something on a network that routes to it; knowing the runtime computer's IP address does not make it reachable from the internet.
For clients outside the plant network, connect through an authenticated VPN or a managed remote-access gateway into the permitted network segment, then open the web endpoint as if local. Never forward the runtime's web port straight to the public internet, especially on a legacy release whose browser components and defaults predate current web security practice. The VPN, the DNS name that reaches it and the firewall rules form one subject; for the path side of that setup, see the article on remote HMI access with dynamic DNS and a VPN. Port-forwarding specifics differ by product; the Weintek port list article shows the kind of port-by-port decision that path requires.
Network reachability and operating authority stay separate decisions. Reaching the server through the VPN grants whatever the user account allows and nothing more, which is why the user configuration step comes before this one, not after.
Test in the order the failures live #
Run this sequence and record each result:
- Runtime displays the screens locally.
- Web server component installed and its license recognized, with the seat count matching the tier you bought.
- Publisher completes with no messages, and the published screen set matches the current project.
- A view-only user on a LAN client opens the endpoint, sees live values, and cannot operate.
- An operate-level user on a LAN client operates a test write successfully.
- A remote client over the VPN repeats steps 4 and 5.
Failures localize themselves along that chain. A local runtime failure is a project problem; a license message is the seat count; a missing or outdated screen is a stale publish; live values with dead buttons are authorization; LAN success with remote failure is the network path.
The decision for each case: if the runtime release and web component match the vendor's compatibility list, the license tier covers the concurrent client count, publishing completes clean, and users are split view-only from operate, put the clients on the VPN and hand them out. If the release combination is not documented together, do not deploy it on the internet path at all; align the releases or use the vendor's current web option for that runtime. If the runtime itself is old enough that its web layer cannot be brought to a supported, licensed, authenticated state, the fix is a hardware-side migration to a current operator platform rather than more work on the legacy web server.
Questions asked
Does a client on the same network still need a license?
Yes. A web client license is required for using the web server in the long term; trial operation is the only unlicensed window in the vendor documentation. The server licenses are sold in fixed simultaneous-client steps, so the number of browsers that may connect at once is a licensing limit, not a server capacity limit. Count concurrent sessions, not total named users, when choosing the tier.
Can I publish screens once and edit them later without republishing?
No. Publishing prepares a copy of the selected screens and their resources for the web server at the moment you run it. After you change a web-served screen, add an image or change a script, run the publisher again and confirm the updated screen from a client before handing it back to operators.
Why do values show but buttons do nothing for one user?
That pattern points at authorization, not communication. The user account has viewing rights but lacks the permission level the operating object requires, or a process permissive is open for viewing but closed for command. Compare the user's effective permissions against the object's required permission in user administration, then check the process interlock separately.
Is remote desktop an acceptable substitute for a web client?
It is a different method, not a substitute. Remote desktop displays a Windows session and needs no web server, publisher or client licenses for the visualization software, which is why it sometimes works when web access does not. But remote desktop success proves nothing about the web server, and a shared desktop session gives full operator authority, so keep the two paths and their permissions separate.