Selection guide
Packaged HMI software or a custom VB.NET client
Short answer
Start with a packaged HMI: it already ships the OPC client, alarming, trends and vendor fixes, and a custom VB.NET client only wins when a written requirement is unmet by every evaluated product. If you go custom, your team writes and owns the OPC client, the alarm engine and the lifecycle. Either way, verify per product whether an S7-300 driver is included or an external OPC server is required.
On this page
- Should I buy packaged HMI software or write my own VB.NET client?
- Do I still need an OPC server if I buy a packaged HMI?
- What is my team responsible for on each path?
- How many engineering hours does each path take?
- When does writing my own client win?
- Is there a middle path between the two?
- What must I verify before committing to either?
- What bench test proves the choice?
- Questions asked
Buy the packaged HMI for an S7-300 project unless a written requirement fails on every product you evaluate, and treat a custom VB.NET client as a deliberate exception. The packaged runtime already ships the half of the job that is hardest to write well — the OPC client, the alarm engine, the trend history — together with years of accumulated vendor fixes. The custom path re-creates all of that in your own hours and leaves your team owning it for the life of the machine. The sections below split the responsibilities, compare the paths in hours with the arithmetic shown, and list the checks that settle the purchase.
Should I buy packaged HMI software or write my own VB.NET client? #
Buy the packaged HMI and write VB.NET only when a written requirement is unmet by every packaged product you evaluate and your team accepts owning the code for the machine's life; that combination is rarer than it feels at project start.
The money question is really an hours question. Products in this class — WinCC, Wonderware, RSView and their peers — charge development tools plus runtime licensing, while VB.NET removes the HMI license line and replaces it with labor you pay for anyway. Vendor products carry a large accumulated development and bug-fix history that you inherit the day you install; your first custom client inherits nothing and starts at zero on connection handling, alarming and history. The general screening steps are covered in choosing HMI software for a new control system (article:how-to-choose-hmi-software-for-a-new-control-system); the S7-300 and OPC specifics follow below.
Do I still need an OPC server if I buy a packaged HMI? #
Only when the product lacks the S7-300 driver: the OPC server is the piece that talks to the PLC and serves data, every HMI is its client, and whether that server is built into your product or bought separately is the per-product fact to verify.
In classic OPC Data Access systems the server owns the PLC conversation and publishes data items; clients connect to the server to read, write and subscribe. The same role question in modern systems is which direction an OPC UA connection runs (article:hmi-opc-ua-server-vs-client-which-direction-works), but the split is identical: someone serves, someone asks.
Write VB.NET and you are writing the client: connection management, group and item setup, update callbacks, deadband handling and automatic reconnection after a cable pull. That layer is the hidden scope of the custom path, and it is exactly the layer a packaged HMI vendor has already written, debugged and shipped.
What the packaged product does not always include is the server side. Whether a given product reaches an S7-300 with a built-in driver or through a separately licensed OPC server package — a package such as Kepware's KepServer is one example — is a per-product fact on the vendor's supported-device list, down to the port you actually have: MPI, PROFIBUS, or an Ethernet communications processor in the rack. One OPC server can also serve several clients, so if a reporting or historian application needs the same PLC data, the server may belong in the project regardless of which HMI you choose.
What is my team responsible for on each path? #
On the packaged path the vendor owns the client, the alarm engine and the bug fixes, and you own configuration; on the custom path you own all of it — the OPC client layer alone is real software, not a screen task.
| Decision area | Packaged HMI | Custom VB.NET client |
|---|---|---|
| OPC role | Ships as the OPC client or uses its own driver; no client code to write | Your team writes the OPC client: connection, subscriptions, reconnection |
| S7-300 link | Built-in driver on some products; otherwise a separately licensed OPC server | Always an OPC server package or a verified third-party driver |
| Screens, alarms, trends | Configured modules from the engineering tool | Designed, coded and owned as source |
| Bug fixes and updates | Vendor releases, installed as updates | Your hours, for the life of the machine |
| Who can change it later | Anyone trained on that product's engineering tool | Whoever holds the source and the skills |
| Licensing you carry | Development tool plus runtime licenses, counted by the product's rule | No HMI runtime license; OPC server license and any interface controls instead |
| First-project effort, worked example below | 267 h | 650 h |
The rows that decide real projects are the last three. Maintenance breadth matters on a plant floor: a packaged project can be handed to a broader group of trained people, while custom code follows the source and the person who understands it. The licensing row moves rather than disappears: the custom column changes shape into the OPC server and control licenses.
How many engineering hours does each path take? #
For a 25-screen, 350-tag station the illustrative planning figures come out at about 267 hours packaged against about 650 hours for a first custom client — roughly 2.4 times the effort — and the arithmetic below shows where the difference sits.
Take a defined station: 25 screens, 350 tags, 40 alarms, 6 trends, one S7-300 connection. These are illustrative planning figures, not measurements; replace them with your own counts and rates.
Packaged path:
- Screens: 25 screens × 8 h per screen = 200 h
- Tag database: 350 tags ÷ 50 tags per hour = 7 h
- Alarm and trend configuration: 20 h
- Commissioning on the machine: 40 h
- Total: 200 h + 7 h + 20 h + 40 h = 267 h
Custom VB.NET path, first project with no existing template library:
- OPC client layer — connect, subscribe, deadband, reconnect, browse: 120 h
- Screens: 25 screens × 12 h per screen = 300 h
- Alarm subsystem — detection, suppression, logging, display: 80 h
- Trend and history storage: 60 h
- Deployment and version-update framework: 30 h
- Commissioning: 60 h
- Total: 120 h + 300 h + 80 h + 60 h + 30 h + 60 h = 650 h
The gap is 650 h − 267 h = 383 h, and the ratio is 650 h ÷ 267 h ≈ 2.4. Decision from these inputs: convert 383 h at your loaded engineering rate and compare it with the packaged product's total licensing for the same station; while the licensing total stays below that labor figure, the packaged product wins on a one-off station. The custom figures only improve with repetition — across 10 identical machines the 120 h client layer amortizes to 120 h ÷ 10 = 12 h per machine, and per-screen templates cut the 12 h per screen figure from the second machine onward. A single station never gets there.
When does writing my own client win? #
Write your own when a named, written requirement — a special calculation, an unusual device, a corporate integration — is unmet by every packaged product you evaluated, and someone on staff will still own the source in five years.
Three situations genuinely fit that test: a requirement that survives the evaluation with no packaged answer, such as a mandated MES interface or a device no product lists; a fleet of identical stations large enough to amortize the client layer and the templates; and an existing code base with the people who wrote it still present. Apply the person test before committing: if exactly one engineer can build, deploy and diagnose the application, the custom path has already failed, because the machine will outlast that arrangement.
Is there a middle path between the two? #
Yes: most packaged products expose scripting or .NET extension hooks, and a separate small program can sit beside the HMI, so the vendor keeps the platform while your code covers only the specialized piece.
Verify the hook before counting on it. Extension points differ by product — a built-in scripting language, a documented interface for add-on modules such as DLL or JAR plugins, or an open database the HMI reads — and the verification is the same as for a driver: find the documented capability for the exact product and version, then test one representative function before the design leans on it. The second hybrid keeps the package intact and runs a small custom program next to it, exchanging HMI memory data with a custom PC application (article:exchanging-hmi-memory-data-with-a-custom-pc-application) that does the specialized work. Either way the standard functions stay in the packaged platform, and your code owns only the piece that made you look at VB.NET in the first place.
What must I verify before committing to either? #
Four items decide it: the S7-300 driver line, the runtime license counting rule, communication-loss recovery, and proof that a second engineer can build and deploy whatever you choose; get these in writing before purchase.
- The S7-300 driver line. On the vendor's supported-device list for the exact product version and the port in your rack; if the driver is absent, the plan becomes an OPC server with its own license and configuration hours — the same pattern as when the HMI software has no driver for your PLC (article:when-the-hmi-software-has-no-driver-for-your-plc).
- The runtime license counting rule. Products count by tags, by connections or by stations; total your screens' tags, your controller count and your operator positions before you compare anything.
- Communication-loss recovery. What the screen shows on a cable pull and how values recover when the link returns, documented by the vendor and then proven on the bench, for the client you wrote no less than for the one you bought.
- The second-engineer test. Someone other than the author restores the project from backup, builds it and deploys it; if that fails on either path, the path is not maintainable.
Both paths also end up installed on a computer at the machine: a packaged PC runtime and a VB.NET client alike deploy on industrial panel PCs at the operator position, so carry the target through the same evaluation. One boundary holds on every path: E-stops and protective interlocks stay in the PLC and its safety hardware, because an operator interface of either kind is not a safety device.
What bench test proves the choice? #
Two days on a bench with the real S7-300 and a handful of test tags settle it: reads, writes, an alarm, a trend, a cable pull and a restart, on the runtime you will actually ship.
Set it up beside the machine, not on it: the actual controller, the actual connection, and verified test tags in place of process values — the same discipline as testing HMI simulation against a live PLC (article:testing-hmi-simulation-against-a-live-plc). Exercise one read, one write, one alarm and one trend; then pull the cable and time recovery with timestamped observations, restart both ends, and confirm the displayed values catch up rather than freeze. For the custom client the pull test is the one that matters, because homegrown reconnection logic is where these projects fail. Decision: the packaged runtime that passes this bench is the one to buy; write the client only when a written requirement failed on every packaged product and your prototype passed the same bench.
Questions asked
Which half of the OPC link does VB.NET replace?
Neither half disappears: the OPC server still talks to the S7-300 and publishes the data, and your VB.NET program becomes the client that connects, subscribes and writes. Writing that client is part of the custom path's cost, not a way around it. The only alternative is a verified third-party direct driver, which replaces the server rather than removing the licensing.
How is the runtime license counted on each path?
Packaged products count by their own rule: tag or point count, connection count, or station count. Total your screens' tags and controller connections before comparing anything. A custom VB.NET client carries no HMI runtime license, but you still license the OPC server and any interface controls you buy, counted by their own rules. Put both columns in the same comparison.
What if the driver gap only shows up after purchase?
Then the connection moves to an OPC server configured with the S7-300 driver: an added license, added configuration hours, and the HMI connecting to that server as a client. It is recoverable mid-project, but add those hours and that license to the packaged column before concluding the custom path would have been cheaper.
Who maintains each option five years from now?
The packaged HMI is maintained by anyone trained on that product's engineering tool, and the vendor ships fixes as updates. The custom client is maintained by whoever holds the source and the skills. Before accepting the custom path, have a second engineer build, deploy and modify the application from the repository while the author watches.
Can I mix the two approaches later?
Yes, and it is the usual landing spot: keep the packaged HMI as the platform and add scripting, a documented extension module, or a small program running beside the panel. Moving the other way, replacing custom code with a package, means rebuilding every screen from scratch, so start with the package and add code at the edges.