What the film says
The floor
The fork mould counts every fork it makes, and it knows its own temperature. The MES was not standing beside it. So how does it know those numbers? This class follows the mould's numbers from the machine to the screens that show them.
The word
A tag is one number a machine keeps up to date. It has a name, a value, and the time it was last sent. OPC UA is a common language machines use to publish their tags, so any software can read them the same way. The tag map is a file. It says which tags belong to which machine, and what their values mean. And the MES only reads. It listens to the tags. It does not write them back to the machine.
The screen
The Floor. Here is the fork mould, running. Beside its order, its melt temperature. Nobody typed that number in. It came from the machine. The mould's own page lists every tag it publishes. Each row is one tag: its name, its value, and its age. GoodCount is a counter: the good forks it has made. The MES books production from how much it goes up.
MeltTemp is a reading, in degrees Celsius. Beside it, the setpoint: what the temperature should be. State is a code. The machine does not send the word running. It sends the number 1. The tag map says that on this machine 1 means running. So the page says running. Engineering, Tags: every tag in the plant, in one list. This plant publishes 1,310.
Each machine gets a tile. Is it still talking, and when did it last speak? Narrow it to the fork mould. The list says what it shows: 11 of 11 matching, out of 1,310. Each tag is shown by its name, like GoodCount, not by its OPC address on the server. That address lives in the tag map. MeltTempSP is the setpoint. The machine would accept a new value for it, so it is marked writable.
But the MES writes no tag from here. The page says so: nothing writes them yet. The one path from the MES to a machine is an approved adjustment, under Adjustments. That is class 5.3. Click a tag to see its history. Here, the melt temperature. Back on the mould's page, on its Trend tab: the melt temperature, every reading since the MES began watching.
Each reading has its time, so the line is drawn where the machine said it, not where it is assumed. The footer says how much of the window was watched. Before the MES was watching, it does not pretend to know. Setup, Ops. Where do the tags come from? This is the plant's OPC UA endpoint: the address the MES connects to. And this is the tag map: the file that says which tag is a machine's state, what each code means, and which counters book production.
Here it is only a file name. No screen shows what is inside it yet. To read it, you open the file. The opc-agent listens to the machines and books what they report. What it listens to is opc-replay: this simulated plant's own tag server, replaying a recorded line. So every tag in this class came from a simulator. No real plant's tag server has been read yet.
What it refuses
What if a machine goes quiet? Right now none has. Machines quiet: zero. A tag that stops arriving for a minute is marked stale, with how old its last value is. Stale tags: zero. Stale only: none of the 1,310 tags. Even an empty list says what it was drawn from. If the connection drops, the machine reads disconnected. That time counts as unknown, not as running and not as down.
The MES does not fill the gap with a guess. A number it did not hear is a number it does not have.
You now know
That is tags: numbers a machine publishes, read through a map, and never guessed. You now know how to do three things.
