HMI and SCADA Integration

HMI and SCADA integration in Singapore: screen hierarchy, alarm design, who may edit a recipe, historian and export, and OPC UA as the boundary to IT.

Talk to an Engineer

Motionwell Automation builds the operator and supervisory layer of the machines we design and modernise in Singapore, and the delivered interfaces are specific enough to describe rather than to illustrate. The cleanroom automated test equipment series runs a Siemens HMI with control limits and alarm thresholds configurable per test parameter, exports CSV for offline analysis, and offers OPC UA connectivity for real-time SPC charting on Siemens WinCC or an equivalent SCADA platform. The SCARA sensor panel assembly line built for a global industrial sensor manufacturer carries a Mitsubishi GOT2000 panel that switches between more than 15 panel variants in under three minutes with no mechanical adjustment. The 5-axis CNC shot peening machine runs an OMRON panel over Delta motion control, showing the X, Y, Z, B and C positions live beside the G-code program list and an M-code table, where M03 and M05 start and stop blasting and M212 and M213 the dust collector. Machines are designed, assembled and tested at our Woodlands Link facility, and the company has delivered more than 150 special purpose machines since 2014 under ISO 9001:2015 and bizSAFE Level 3.

The short answer. An HMI exists so that one person can run the machine safely and alone at three in the morning, and most of what gets proposed for a screen does not survive that sentence. A supervisory layer answers a different set of questions, about what happened across a shift and across several machines, and it must not be able to stop the machine when it is unreachable. Confusing the two produces the familiar pair: a panel cluttered with trends nobody reads, and a SCADA page carrying operating controls that stop working the moment a switch reboots.

Where we stand, said plainly before you read further. We do not sell an HMI or SCADA product, a historian or an MES, so nothing here is written to move a licence. The interface is built on whichever platform your site already runs, and what we design is the operating layer of a machine: the screens, the alarm structure, the roles, the recipe store and the export path. Plant-wide network design, server administration and the business systems above the line belong with your IT organisation.

This page takes the decisions in the order they arrive: what the interface is for, the screen hierarchy that survives a night shift, alarm presentation, roles and recipe authority, versioning and approval, what belongs above the machine rather than in the PLC, historian and export, OPC UA as the boundary to IT, and what changes when the panel becomes part of a regulated record. Getting numbers out of machines never designed to give any is a different problem, covered on our machine data acquisition page. If you have a machine list and a panel you already dislike, skip ahead and talk to an engineer.

What Is the Operator Interface Actually For?

For the person standing in front of it when nobody else is in the building. That framing is a filter rather than a sentiment, and it removes a surprising amount of what gets asked for in a specification. Four questions get asked at the panel, and each has a place it must be answered.

What is it doing? The machine’s condition in plain words, with the product or recipe it is running, where the eye lands first. When that is missing, operators watch the mechanism instead of the screen, which works until the fault is not visible.

Why has it stopped? The first condition that caused the stop, named as a device and a location rather than as a tag. What followed is consequence, and consequence belongs underneath.

What do I do next? The alarm text reads as an instruction. Where recovery lives in one technician’s head instead, restart time depends on which shift is running.

Is it doing it correctly? A process value shown with its limits beside it. On its own a number looks reasonable, because nothing on the screen contradicts it.

What that filter deletes is most decorative interface work. An animated rendering of the machine costs development and maintenance and answers none of the four. Colour is the fastest channel on a panel, so spending it on branding spends what should have meant state. And a screen built because a tag existed, rather than because somebody asked for it, is one the next engineer will be afraid to delete.

One more thing decides how useful the panel is at the worst moment, and it is easy to specify and awkward to fix afterwards. The panel is the machine’s operating language, so alarm text, prompts and program comments have to be in the language of the person who meets them on the night shift, which is a point we make about buying equipment abroad on the local versus overseas machine builder page.

What Screen Hierarchy Actually Works on a Machine?

Three levels, in this order, with a rule that any screen sits two touches from the overview. Deeper trees appear when screens are added one at a time and nobody owns the structure.

Level The question it answers What belongs on it What does not
Overview Is the machine running, on what, and is anything wrong? Machine state in words, current recipe and job, rate and counts, the active alarm with highest priority, the logged-in role Setpoints, manual functions, anything editable
Station What is this part of the machine doing, and what are its settings? That station’s sequence step, its sensors and actuators, its setpoints, its manual and jog functions behind a role Other stations’ details, plant-level reporting
Diagnostics Why is it behaving like this? I/O state, drive faults and following error, communication status per device, cycle timing, alarm history with timestamps Anything an operator needs during a normal shift

The overview row is the one worth arguing about in a design review, because a good overview is mostly empty. It carries the state, not the evidence for it.

What sits on each level is decided by the machine rather than a template. On the shot peening machine the five axis positions and the running G-code block belong on the overview, because position is the state there and an operator who cannot see it cannot tell a slow pass from a stalled one. The M-code table earns the same screen because it is the vocabulary the program is written in, so blasting, air wash and dust collection are readable as they happen rather than inferred from noise. On the cleanroom test equipment the equivalent depth sits one level down, where control limits and alarm thresholds are set per test parameter, because those are setup values rather than running state. How those measurements are produced is on our automated test equipment page.

Two structural rules save more trouble than any styling decision. One screen owns one job, so a control does not appear on three pages where two will disagree after an edit. And navigation runs sideways at each level rather than as a chain, so a technician moving between stations does not climb a menu each time.

Why Is an Alarm List That Scrolls an Alarm List Nobody Reads?

Because an alarm is a request for a human action, and a list long enough to scroll is not a request, it is weather. Once the banner shows more entries than fit, operators press reset until something moves, which is a rational response to a badly built list and an expensive one. Alarm design is therefore mostly deletion, and the question for each candidate is whether a person has to do something now. If the honest answer is no, it is an event and belongs in the log.

Condition On the alarm banner? Where it belongs Why
Guard opened or interlock dropped, machine stopped Yes, top priority Banner, naming the device and its location Somebody has to walk to a place, so the place is the message
Process value outside limits with product at risk Yes Banner, with the measured value and the limit together The action is a judgement about product, which needs the number
Value drifting toward a limit No, as a warning A warning line, visually distinct from alarms Nothing has failed yet, but the trend is the point
Batch finished, recipe loaded, shift changed No Event log It is a record of something normal, not a request
Downstream station starved because an upstream one faulted No, suppressed while the upstream alarm stands Event log and the diagnostics screen Consequences bury the cause
Communication lost to a drive, camera or reader Yes Banner, naming the device and the network segment Everything derived from that device is now unreliable

Two mechanisms do most of the work. First-out capture records which condition stopped the machine, so the cause stays identifiable after the consequences have piled on top of it. Suppression handles the rest: while a fault stands, the alarms it necessarily produces downstream are logged and not annunciated. Priority is the third lever and it only functions if it changes behaviour, so a short scale used honestly beats a long one where everything sits at the top.

There is a second payoff, and it arrives later. Each alarm mapped to a stop reason turns downtime into a ranked list instead of an argument, and that mapping is nearly free during a controller rebuild and awkward afterwards, which is why the mapped alarm list ships in the handover pack on our machine modernisation work. What the resulting numbers can and cannot tell you is in our explainer on OEE.

Who May Select a Recipe, and Who May Edit One?

That split is the central access decision on a production machine, and on a GMP line a regulation sits behind it rather than a preference. Selecting a released recipe is a production act; editing one changes the process the product was approved against. Behind a single shared login, the second act becomes invisible.

The implementation is per-person accounts mapped to roles, with the role deciding which screens and functions are reachable: FactoryTalk security tied to the HMI application on Allen-Bradley, WinCC user administration on Siemens. Where the site runs a domain, accounts come from there, so a leaver is removed once rather than machine by machine.

Role Reaches Does not reach Why the line sits there
Operator Start, stop, select a released recipe, acknowledge alarms, enter batch and lot data Recipe editing, calibration, alarm or interlock bypass, manual jog Selection is production, editing is process change
Setter or line technician The above, plus jog, manual functions and format setup Creating or approving a recipe version, account administration Setup needs manual motion; deciding what the machine may run is a different authority
Maintenance Diagnostics, drive parameters, calibration, forcing under a written procedure Recipe approval, record deletion Forcing an input defeats the machine’s own protection, so it is named, roled and logged
Engineering Recipe creation and editing, screen and program changes, account administration Sole release of a recipe to production on a validated system Screen and program changes need a place to be made, and it is not the running panel
Quality Audit trail review, recipe version approval, record review and release Operation, jog, editing An approval by the same person who made the change is not an approval

Two functions deserve a role even on a machine with no regulatory exposure: alarm bypass and manual jog. Both remove a protection the machine was designed with, and both are occasionally the right thing to do, which is exactly why they need a name attached.

Where the machine’s data becomes a regulated record, the account model stops being good practice and becomes a requirement. 21 CFR Part 11 asks for access limited to authorised individuals and authority checks on who may sign, alter a record or perform the operation at hand. The clause-by-clause equipment view is on our 21 CFR Part 11 and electronic records page.

How Should a Recipe Be Versioned and Approved?

A recipe is a controlled object with a life cycle rather than a saved settings file, and the difference shows up the first time somebody asks what the machine was actually running last Tuesday. Four properties make that question answerable.

Identity. A recipe carries a name and a version, with author, approver and effective date attached. A recipe called “blue 250” with no version is not identifiable a year later.

Binding to the record. The machine stamps the recipe identity and version into what it produces, so the product record points at exactly the parameter set that made it. The SCARA line logs production by variant and batch to CSV for MES integration; the carton palletizing cell calls one of up to 50 stored layer patterns by barcode scan or MES command with no mechanical adjustment.

One master. Two masters is the failure, and it happens by accident: where recipes can be edited on each panel and are also held centrally, the panel copies fork within months. Either the machine holds the master or the centre does, and the choice gets written down.

Change while running. An edit to the loaded recipe is a change to the job in progress. The default we build locks the running version and makes an edit into a new version active at the next job, because the alternative leaves a batch made half one way and half another under a single recipe name.

Approval is the part most often left to a procedure when the machine could enforce it. The useful arrangement is that engineering creates a version, quality approves it, and only approved versions appear in the operator’s selection list, so the interface enforces what the SOP would otherwise only ask for.

What can be in a recipe at all is settled in the mechanical design rather than in the software, since an axis only enters a recipe when a motor or a software parameter controls it. That distinction, and what it does to a quoted changeover time, is worked through on our filling line changeover page.

What Belongs Above the Machine Rather Than in the PLC?

One rule decides most of it: nothing the machine needs to keep running or to stay safe may depend on a link that can be unplugged. The rest is a question of who has the better view.

Function Machine, in the PLC and its panel Supervisory layer What breaks when it is put in the wrong place
Interlocks, safety functions, motion, sequence Always here Never A cell that stops because a server was patched
Alarm generation and first-out capture Here, in the controller Annunciation, aggregation, history Two systems disagree about which alarm came first
Handshakes with neighbouring stations Here, station to station Sees the line, does not pace it A line paced by a polling loop runs at the poll rate
Recipe master and version distribution Holds and identifies the version it is running Owns the master where several machines run the same product Panels fork, or a machine cannot run while the server is down
Job dispatch and order selection Executes the job it was given Decides which job goes where, and when Scheduling logic buried in a machine nobody can schedule around
Historian, reporting, cross-machine comparison Buffers its own output until the link returns Retention and query History dies with the machine that stored it
Remote start and remote operation Not from a general-purpose network Not from a general-purpose network A safety case resting on a network somebody else administers

The fifth row is where judgement enters, and one delivered system deliberately goes the other way. On the QA laboratory automation programme, re-ordered in four consecutive years, the work order queue and the sample state machine live inside an Allen-Bradley PLC rather than in an external execution system, with every state transition timestamped at millisecond resolution against sample identity, source and destination state and station. A second software system between the work order and the gripper would add a failure mode to every sample movement. That is a legitimate answer at the scope of one cell and a poor one when the same logic has to coordinate a plant.

Independence between machines is a design choice with a cost attached, and it is usually worth paying. On the modular carton unloading station built for a consumer goods distribution centre, each station runs its own PLC for local control and exchanges data with its neighbours over OPC UA, so a station keeps working when the one beside it stops.

What Does a Historian Give You That a CSV Export Does Not?

Continuity and a retention policy. A CSV is a snapshot somebody has to remember to take, and the honest end state of that habit is a dataset that lives on a memory card in a panel until the card is full or the panel is replaced.

Both have a place, and the useful split is by consumer. An export serves analysis done once in a spreadsheet or a capability tool: the test equipment series holds results per serial number and exports them by batch for Cp/Cpk study, which is exactly where a file is the right object. A historian serves questions asked repeatedly across time, where retention outlives the equipment and the query has to work without anyone remembering who kept which file.

Two design decisions determine whether either is usable a year later.

Identity on every row. A measurement carries the unit, batch or serial it came from, captured as it is taken rather than reconciled afterwards. Without that, a row is a statistic.

The failures, not only the passes. A rejection handler that diverts a bad part and increments a counter has discarded the interesting half. On the delivered filling line every rejected container is logged with its serial number, the rejection reason and the inspection image behind the decision, which is what makes an investigation possible instead of speculative.

Two boundaries. Which signals are worth collecting at all, and what a machine can be made to say when it was never designed to say anything, is covered on the machine data acquisition page. And where a predicate rule requires the record rather than production wanting it, storage, audit trail and retention change shape, which is the build described on our electronic records page.

Where Does OPC UA Draw the Line to the IT Side?

At the point where the consumer stops needing to know how the machine is built. OPC UA presents a typed, browsable address space with security in the transport, so what crosses the boundary is named values with data types and timestamps rather than register offsets somebody has to keep a spreadsheet for. That is why it is the boundary we build to by default, upward to a supervisory platform and sideways between stations.

Three things decide whether that boundary holds up in service.

The namespace is a contract. Node names, types and units are agreed in writing before commissioning and versioned afterwards, because a rename after go-live breaks every consumer without an error anybody sees. A name nobody agreed to own gets discovered during commissioning.

Buffering belongs to the machine. Buffer locally with enough depth to cover a server reboot or a change window, forward when the link returns, and raise an alarm when the buffer fills rather than when it overflows.

Somebody owns the certificates. OPC UA security rests on trust established between client and server, and that trust expires. An unowned renewal is a link that fails on a date nobody has in a calendar.

Direction matters as much as protocol, and a collector with one interface on the machine network and another facing the plant is a boundary device whatever the purchase order calls it. The zone and conduit reasoning that follows is in our guide to IEC 62443 for industrial control systems.

What Changes When the HMI Is Part of the Record?

On a validated system the panel is not a window onto the record. It is part of it, and three consequences follow that tend to surprise buyers after handover.

Screens, recipes and account structures become qualified objects. Under GAMP 5 a configured HMI or SCADA project needs a specification, testing traceable to it and a documented change history, so moving a button is a change control item rather than an afternoon. What each qualification stage proves is on our computer system validation page.

Operational qualification acquires tests that are interface tests rather than machine tests: access by user level, confirmation that an operator cannot alter a validated parameter, audit trail content and the fact that entries cannot be altered or deleted, recipe creation and approval, and power removed mid-cycle to prove the machine restarts in a defined state without corrupting the record. The last of those finds the most design faults, because it is the only one that tests the interface while it is failing.

Patching splits along the same line. Operating system and driver updates on an HMI PC usually touch no qualified function and need documented verification only, while a change to recipe handling or to the records themselves requires the affected tests re-executed. Knowing which side an update falls on keeps a validated machine patchable instead of frozen.

Underneath all three sits the clock. Panels, controllers and servers keep time independently and drift apart, so a merged audit trail across the three is only defensible if they were synchronised on purpose. That is a design item on this layer rather than an IT afterthought.

When Is More Interface the Wrong Answer?

We build this layer, so read this as the argument against buying more of it than you need.

The machine has one operator and no reporting requirement. A panel and a scheduled export answer the question. A supervisory system above one machine is a second thing to patch, back up, qualify and eventually migrate.

The problem is the alarm structure, not the screen. A new interface over an unmapped alarm list moves the confusion to a nicer font. Fix the structure first, and the screen work then takes days.

The proposal creates a second place to look. Two systems showing machine state will disagree once, and after that neither is trusted. If a supervisory layer is added, it reads state rather than deriving its own.

Nobody owns the screens after handover. Machines change, and a screen that no longer matches its machine is worse than a sparse one because it is confidently wrong. Who may edit a screen, under what change control, decides whether the interface still describes the machine in year three.

The requirement is a dashboard rather than a decision. If nobody can finish the sentence “when this number moves, we will do X”, the screen gets built, admired and then ignored.

One exclusion, stated once. We do not build remote start or remote operation over a general-purpose network and will not quote it, because a safety case resting on a network we do not administer is not a safety case.

Which Interface Should You Specify?

Five questions, in this order. The first that gives a hard answer usually settles the shape.

  1. Who stands in front of it on the night shift, and what are they already trained on? Consistency with the panels they already use beats any individual design improvement.
  2. Which platform does the site run, and is it still supported? Ask the vendor for lifecycle status in writing on the exact catalogue numbers, as set out on our PLC migration page.
  3. How many machines have to be seen in one place? One machine is a panel question; several is a supervisory one, and the two have different answers.
  4. Does anything this machine produces become a record? If so, roles, audit trail and export get designed before screens.
  5. Where does the data have to arrive, and who administers that system? That answer usually lives outside the engineering department, and finding it late is what delays these projects.
Your situation Start from Why
One machine, one operator, no reporting requirement Machine panel plus a scheduled export The supervisory layer has nothing to compare and everything to maintain
Several machines, one office wanting one view A supervisory layer reading machines that stay independent The view is the requirement; the sequencing is not
High mix, changeover dominates the week Recipe structure first, screens second On the SCARA line the recipe was designed before the panel, and the variants change in under three minutes
Machine data becomes a regulated record Roles, audit trail and retention, then the screens Retrofitting an account model into a finished panel is a rebuild
Mechanics sound, panel obsolete, controller unsupported Rebuild the interface inside a controller migration Screens, recipes, alarm text and accounts get rebuilt anyway
The site already has a SCADA standard Deliver machine data in the form it reads Replacing a working plant system is not the machine’s project

Where two rows disagree, the machine has two audiences rather than one, and the question moves to what the operator sees and what the office sees. Those are allowed to be different screens, as long as one state feeds both.

Next step: Send five things and we can scope the operator layer instead of quoting a platform. One: the controller and panel make, model and vintage, and whether you hold the program and the HMI project. Two: photographs of the screens your operators use today, including the alarm banner during a fault if you can catch one. Three: how many people run the machine, on how many shifts, and what they are already trained on. Four: your recipe or variant list, and what changes between variants. Five: whether anything the machine produces has to become a record, and where that record ends up. That is enough to say whether this is a screen rebuild, a recipe and role project or a supervisory layer, and to build a real quotation from.

Frequently Asked Questions

Which HMI and SCADA platforms do you build on?

Whichever one your plant already runs, and that is a cost decision rather than a preference. Motionwell works across Allen-Bradley with FactoryTalk, Siemens S7-1500 with TIA Portal and WinCC, Omron, Mitsubishi iQ-R with GOT2000, Beckhoff and Inovance. Delivered examples span three of those: a Mitsubishi GOT2000 panel on a SCARA sensor panel assembly line, a Siemens HMI on the cleanroom automated test equipment series, and an OMRON panel over Delta motion control on a 5-axis shot peening machine. Where two platforms both clear the technical requirement, the one your maintenance team already carries spares and training for is the cheaper machine to own.

How many screens should a machine HMI have?

The fewest that answer three questions without a manual: what is the machine doing, why has it stopped, and what do I do next. In practice that is three levels deep, an overview, a station view and a diagnostics view, with any screen reachable in two touches from the overview. Our own design metric is training time rather than screen count, and the target is under two hours to basic operation. A panel that needs a longer induction than that is usually not missing a screen. It is carrying several that nobody uses.

Can an obsolete HMI be replaced without touching the PLC program?

Sometimes, and what decides it is how much of the machine's operating language lives on the panel rather than in the controller. Where the controller is still supported, its tag structure is documented and the panel is mostly a viewer, a panel swap is a contained job with a re-tested screen set. Where the alarm text, the recipe store and the user accounts sat in the old panel, replacing it means rebuilding all three, which is a bigger piece of work than the hardware suggests. That is why an interface rebuild is usually scoped inside a controller migration rather than as a separate purchase.

Not sure what configuration fits your product?

Talk to our engineering team. We will help you map the right approach.