The record starts at the controller, not at the keyboard.
Each machine’s signals are mapped once (an OPC UA node, an MQTT topic or an HTTP post) and read on a cycle you set. States, counts and a quality flag come from the controller, and production is the difference between two readings of its own counter.
PLC data acquisition
A plant is never one generation of equipment.
VZIAM MES collects machine data straight from the controllers: it reads OPC UA servers, subscribes to MQTT topics and accepts readings posted over HTTP. A Modbus, Siemens S7 or proprietary PLC is read by a gateway on the line that translates its signals to MQTT. Run state, part counts and a quality flag come from the machine, not from a keyboard.
The press bought in 1998 and the machining centre delivered last year are both making parts today, and only one of them has an OPC UA server. Which machine goes which way is settled during the assessment, machine by machine, from the makes and models of your controllers. Once a machine is connected, nothing downstream cares how: Line 02 publishes over MQTT, and its count reaches work order WO-0248 exactly as an OPC UA machine’s would, as the difference between two readings of the controller’s own counter.
Machine data integrity
Four rules between the controller and the figures.
A figure is only as honest as the signal under it. These rules are why the signal can be trusted.
A machine counter is never reset.
VZIAM MES never sends a reset to a controller. Production is the current reading minus the previous one, and never less than zero.
A rollover is absorbed, not subtracted.
When a counter reads lower than before (it wrapped, or a sensor was replaced), the delta is held at zero and the reference moves to the new reading, so nothing already counted is taken back.
An unreliable value stays out of the figures.
Every value arrives with a quality flag. A reading flagged as a sensor error is ignored by the OEE calculation rather than averaged in.
Silence is not yet a stop.
A controller that goes quiet raises a pre-alert after 15 seconds and becomes a stop after 60, both set per machine. A lost connection marks the machine offline and raises a signal-loss alert instead of recording a breakdown.
Shop floor data collection
Four mechanisms between a register and a figure.
A controller reports what it knows, in its own units and at its own pace. These are the four places where VZIAM MES turns that into a figure a supervisor can stand behind.
Modbus and S7 gateway
An older controller joins through a gateway on the line.
A Siemens S7 or a Modbus device publishes nothing by itself, and VZIAM MES does not speak its protocol. A gateway on the line does. VZIAM Link, the gateway we supply, reads S7 and Modbus TCP and sends the values over HTTPS; Node-RED or a DAS box reads the registers you name (the run bit, the counter, the fault word) and publishes each one as an MQTT topic to the broker that ships with the server.
From there on, the machine is treated exactly like one read natively: the same counter rules, the same quality flag, the same silence delays. A Link also holds readings through a cut between it and the server, up to 100,000. Which gateway, whether we supply it or your automation team does, and who maintains it, is agreed at the assessment, before go-live.
VZIAM Link, the gateway we supplyPLC counter rollover
A counter that wraps costs the order nothing.
A 16-bit counter tops out at 65,535 and starts again at zero, and a replaced sensor starts at zero too. Subtracting naively, the next reading would take 65,526 parts back from the order. VZIAM MES never sends a reset to a controller: it books production as the current reading minus the previous one, and never less than zero.
When a reading comes in lower than the one before, the delta is held at zero and the reference moves to the new value. The next reading counts from there: 4, then 14, books ten parts as if nothing had happened. What the order had already counted stays counted.
Delta · max(0, current − previous)
Tag mapping and formulas
A raw value becomes a unit through a formula on the tag.
Controllers report what their cards measure: a nozzle temperature as 720, in tenths of a degree. Each tag maps a controller address (an MQTT topic or an OPC UA NodeId) to a name the rest of the platform uses, and a tag can also be a formula over other tags, written in reverse Polish notation: NOZZLE_RAW 10 / gives 72.0 °C.
Formulas convert units, combine two sensors or compare a value with a threshold, using the operators + − * / > < and ==. A division by a sensor reading zero does not break the calculation, and a malformed formula keeps the tag’s last value and raises a configuration alert rather than publishing a wrong one.
Signal loss and stop detection
Silence becomes a stop only after a delay you set.
A controller that stops sending is not necessarily a stopped machine. After 15 seconds without a signal, the cockpit shows an amber pre-alert and nothing is recorded; after 60 seconds, a stop is created and the operator is asked why. Both delays are set per machine, because a press and a filler do not pause the same way.
A lost connection is handled differently. When the network to a machine drops, the machine is marked offline and a signal-loss alert is raised, so a failed switch is never booked against the line as a breakdown. Readings resume on the next cycle once the link is back.
How a stop is qualifiedOPC UA, MQTT and HTTP push
From a controller address to a figure on the screen.
OPC UA, MQTT and HTTP, natively
OPC UA nodes are read on the dataset’s polling cycle, MQTT topics are subscribed to through the broker that ships with the server, and an edge device or a script can post readings over HTTP.
Everything else through a gateway
A Modbus, Siemens S7 or proprietary PLC is read by a gateway on the line (Node-RED or a DAS box) that publishes its signals over MQTT. Who supplies and maintains it is decided before go-live.
Datasets and tags
Tags are grouped into a dataset per machine or line, and each maps a controller address (an OPC UA NodeId or an MQTT topic) to a name the rest of the platform uses.
Formulas on tags
A tag can be a formula over others: convert a raw value to a unit, combine two sensors, compare against a threshold. A malformed formula keeps the last value and raises a configuration alert.
States from signals
Running, stopped, standby and offline are worked out from what the controller reports, not from a declaration, and every change of state is logged with its source.
Signal history
Values are stored when they move by more than a deadband you set, and long ranges come back as minimum, maximum and mean per interval, so a month of readings stays readable.
Machine connectivity specifications
What acquisition commits to.
- Native protocols
- OPC UA · MQTT · HTTP push
- Through a gateway
- Modbus · Siemens S7 · proprietary
- Reading
- Per dataset, on the polling cycle you set
- Counters
- Deltas, never reset, rollover absorbed
- Signal quality
- Flag on every value
- Stop detection
- Pre-alert at 15 s, stop at 60 s, per machine
- Raw history
- Deadband filter, 90 days, then archived
Frequently asked questions.
Controllers with an OPC UA server, devices that publish MQTT, and anything that can post JSON over HTTP. A Modbus, Siemens S7 or proprietary PLC is read through a gateway that translates its signals to MQTT.
No. It never sends a reset. Production is the difference between two readings, and a counter that wraps or is replaced is absorbed without losing what was already counted. Your controller program keeps its own counters exactly as it has them.
Read directly, the machine shows as offline and a signal-loss alert is raised; the gap is not recorded as a breakdown, and readings resume on the next cycle. Behind a VZIAM Link, readings taken while the Link cannot reach the server are queued, up to 100,000, and sent in order when the connection returns.
Each dataset is read on the polling cycle you set, and MQTT messages are taken as they are published. The server pushes the resulting figures to the cockpits and TV displays as they change.
Only for controllers that speak none of OPC UA, MQTT or HTTP. VZIAM Link, the gateway we supply, reads S7 and Modbus TCP; Node-RED or a DAS box can translate the rest. Which one, and who supplies it, is agreed during the assessment.
Ninety days in the database, and a reading is stored only when it moves by more than the deadband you set. Older rows are written to a compressed CSV archive before they are deleted, and that archive goes into the nightly backup, so it can still be read.
VZIAM MES features
The rest of VZIAM MES.
Plan the change before it reaches the line.
Request a demo and an engineer looks at how your production runs today, shows how the software would fit around it, and where a pilot on one line would start.