The three Banknote Works documents merged into one reference: the functional briefing for readers new to MES, the golden-thread traceability use case, and the machine connectivity standard for IT. Everything describes the same live system, with the same numbers.
What an MES does, told through the line and its use cases — for readers new to MES.
Your office systems know what should happen. Your machines know what is happening — but the two don't talk. A Manufacturing Execution System sits in between: it listens to every machine, writes everything down, and turns that stream into answers people can use.
The key idea for everything that follows: nobody types anything. Every fact in this document's use cases is written by a machine, at the moment it happens.
Security paper enters at B010 in counted loads of 100 sheets and gains one security layer per press; only at the end is each sheet cut into 45 individual banknotes. The raised intaglio print is applied in two passes — back, then front — with a drying store in between, because the first side must dry before the sheet can be pressed again. A sheet that is spoiled at any point is written off and shredded — banknotes are never "repaired" — while the rest of its load carries on. A full-sheet camera inspection after the second intaglio pass (B055) catches a spoiled sheet before a serial number is spent on it.
| Op | Station | What happens to the sheets | Cycle per load |
|---|---|---|---|
| 10 | B010 | Paper in — thickness, watermark and security-thread check | 30 s |
| 20 | B020 | Background printing on both faces in a single pass (perfect front/back register) | 45 s |
| 30 | B030 | Colour-shifting ink patch, silk-screened (~18 µm deposit) | 60 s |
| 40 | B040 | Holographic foil stripe, hot-stamped at 105 °C | 50 s |
| 50 | B050 | Intaglio, back — the raised print you can feel, pressed at 900 kN. The slowest press: it sets the pace | 90 s |
| 52 | B052 | Drying store — eight loads rest side by side while the intaglio ink dries. No operator, no material: a buffer, not a machine | 300 s dwell |
| 54 | B054 | Intaglio, front — the second pass, on the portrait side, with its own engraved plate | 85 s |
| 55 | B055 | Full-sheet camera inspection, both faces — spoiled sheets are written off before numbering, defective notes on good sheets are marked | 40 s |
| 60 | B060 | Two serial numbers per note (letterpress) + protective varnish | 55 s |
| 70 | B070 | Sheets cut · every note camera-inspected · marked notes replaced · notes banded in 100s and packed in 1,000s | 70 s |
Two characters matter for the rest of this document: the intaglio press B050 (expensive, its plate wears out, it paces the line) and the colour-shift ink at B030 (the most expensive consumable — small, precious lots).
Reading the layout: material enters once (strongroom and secure stores, top-left), sheets flow left→right then right→left in a U through the ten stations, and product exits once (cash vault, bottom-left). Spoiled sheets leave the U at whichever press caught them, straight to the shredder. The AGV corridor crossing the hall carries only sealed material issues — never product (§14).
Four rules govern the flow, and they explain every number the MES will show:
One load per press. Each press works on exactly one load of 100 sheets; when it finishes, the load moves forward as soon as there is room ahead. At most three loads may wait in front of a press — work-in-progress stays small and visible. The one exception is the drying store, where eight loads rest at the same time.
The slowest press sets the pace. The first intaglio pass takes 90 seconds per load, so the line can never make more than 40 loads/h (4,000 sheets/h) — no matter how fast the other presses run. With breaks, stops and spoilage, a normal hour delivers about 2,750 good sheets. The faster presses wait part of every cycle; that idle time is structural, not a problem:
* B052 is a dwell, not a cycle: each load rests 300 s, eight at a time — one load leaves every 38 s on average.
Quality gate at every press — write off early. A sample sheet is measured at each step, and the sheets a press spoils leave the line right there, counted off the load and sent to the shredder. You never spend hologram foil or intaglio ink on a sheet that is already bad. The full-sheet camera inspection at B055 sits right after the second intaglio pass and before numbering, so a serial number is never spent on a spoiled sheet.
A day has a rhythm. Three 8-hour shifts with fixed breaks — a press finishes its load, then pauses; that is planned time, not a breakdown — plus short planned maintenance every ~200 loads per press, and a plate change when an intaglio plate reaches the end of its life.
One consequence worth remembering: a stop at B050 is lost output forever; a stop at B010 usually costs nothing — it catches up within its idle margin. The MES reads losses against the pacemaker for exactly this reason.
Is the line running right now, and how well?
In the demo — the Live Line page: watch a real load move press to press; stop and restart the whole line with one click and see it drain gracefully.
An auditor points at one banknote. Tell me its story.
Every load of 100 sheets receives a unique ticket number the moment it enters the line — think of it as a passport. From then on, every press stamps that passport automatically: when the load arrived, how many sheets went in and came out good, what was measured, and which material lot was mounted at that moment. At numbering, the passport gains the range of note serials printed on those sheets.
| Time | Press | Entry in the passport of load BNK-…-0408569 | Material lot |
|---|---|---|---|
| 09:12 | B010 | Paper verified (thickness, watermark, thread) | PAPER-408608 |
| 09:12 | B020 | Background print in register — pass | INK-408609 |
| 09:13 | B030 | Colour-shift patch in spec · 2 sheets written off (screen-print waste) | OVI-408610 |
| 09:15 | B040 | Hologram applied, adhesion checked · 1 sheet written off (foil splice) | FOIL-408611 |
| 09:16 | B050 | Back relief printed at 900 kN, height in spec · 97 sheets in, 97 good | IINK-408612 |
| 09:22 | B052 | Rested 300 s in the drying store — ink dry, no set-off | — |
| 09:23 | B054 | Front relief printed, height in spec · 97 good | IINK-408614 |
| 09:24 | B055 | Both faces camera-checked · 97 good sheets, 15 notes marked defective | — |
| 09:25 | B060 | 4,365 notes numbered GG4157505 – GG4161869, varnished | NINK-408613 |
| 09:26 | B070 | 1 sheet lost at the cut · 4,320 notes cut, marked notes replaced · banded and packed — delivered | BAND-408615 |
Three properties make this trustworthy: the passport is written by the machines at process time (it cannot be forgotten, backdated or edited); it also accounts for the sheets written off mid-line (each with a quantity, a reason and a cause, not with silence); and it works backwards — pick a material lot and get every load that used it. That is the recall question, answered in seconds. The full mechanics are the subject of the companion use case, The Golden Thread.
In the demo — the Traceability page: we open the passport of the load currently in production.
How do you know the right ink was used?
Because the system makes it impossible not to know. Four rules, each one recorded automatically:
| # | Rule | What it means in practice |
|---|---|---|
| 1 | Each press accepts one material | B030 takes colour-shift ink and nothing else — that is configuration, not an operator's memory. |
| 2 | Every delivery is logged | Ink is released from its secure store by two people, sealed, carried by the AGV and scanned in at the press: container, supplier lot, seal and trip recorded on one issue record. A manual request goes through the same controlled issue. |
| 3 | Each load notes its lot | When a load passes a press, its passport records the lot mounted at that moment — the link is made live, never reconstructed afterwards. |
| 4 | The stores must balance | Deliveries are counted in, containers are counted out, consumption is counted at the press. Received = in store + in transit + at press + consumed, per material, at every instant (§14). |
What this buys you: a supplier calls about a suspect lot → you list every affected load in seconds, not days. An auditor asks for proof → you show the passport, not a promise.
In the demo — the Material page: the live lot at each press, its mounting record, its history; the Secure Supply page for the issue behind it.
How much ink is left — and who refills it?
In the demo — the Shopfloor page: the OVI ink tin at B030 counting down in grams, load by load, and the AGV's mission and battery, live; the Secure Supply page for stores, cover and deliveries.
Why did we shred 12 sheets yesterday?
In the demo — the Stoppages and Statistics pages: the line's real fault history, aggregated into a Pareto with downtime minutes.
Can we catch a problem before we scrap anything?
Yes — because the presses measure a sample sheet from every load. Think of it as the machine's temperature curve: values wander slightly around a target, which is normal; what matters is the trend.
The intaglio plate wears slowly, so the measured relief height drifts for hours before the first bad sheet appears. The MES watches that drift (statisticians call it SPC — the trend chart is enough of a name) and raises a hand while everything still passes. You schedule the plate change at the next break instead of discovering a scrap wave the next morning.
The scenario we run live: a subtly bad ink lot is issued to B030 — nothing announced, exactly like real life. The suspect tin waits beside the press and starts to matter only once it is mounted, when the running tin is used up. You find it yourself in four steps: spoilage write-offs start climbing at B030 → the trend chart shows the OVI layer thickness drifting high → the material page names the suspect lot → one click lists every load that used it. Then we fix it, and everything returns to green. That investigation takes minutes here; without the data, it is days of meetings.
In the demo — the SPC page, plus the bad-lot scenario run end to end.
Running state, today's output, material levels, the AGV. We stop the line — presses finish their load, then hold — and restart it. Stage the finale early: click the bad-lot use case — the suspect tin is issued under seal at once, but it is only staged beside B030 and is mounted when the running tin runs out. A full 1 kg tin lasts about an hour at the nominal rate (1,050 g/h), so arm the scenario when the B030 tin is nearly used up, or well before the session; the drift starts with the first load after the mount, and a convincing trend and the affected serials follow within a few minutes.
Follow the load in production across the ten stations, then open its passport in Traceability.
Live ink levels on the shopfloor map, the active lot at B030, the sealed issue that brought it — then the Secure Supply page: three stores, hours of cover, the substrate ledger (§14).
The suspect ink lot was armed in step 1 and is now mounted. Find it: spoilage at B030 → trend chart (OVI layer thickness) → lot trace → affected loads.
Reset the station, order the plate change. Screens return to green — and the whole incident stays in the record, forever queryable.
One plant server, open standards only; machines never talk to applications directly.
The ERP does not need to know a press exists, and a press does not need to know an invoice exists — the MES translates between the two. The WMS is, strictly speaking, a sibling of the MES (both are execution systems); it is drawn between ERP and MES here because that is how material physically flows — purchased, counted into a secure store, issued to the line. The hand-over is clean: the MES raises a material call, the WMS answers with a sealed, lot-stamped container, and the mounting is confirmed back as a logged transaction. In this demo environment the ERP and WMS sides are simulated — the store side in full, as §14 describes; the hand-over formats are real and ready.
| Role | Their question | The MES answer |
|---|---|---|
| Production manager | "Are we on plan, right now?" | Live line view, output counters, one honest OEE |
| Quality manager | "Why did we scrap — and can we prevent it?" | Named scrap causes, trend charts that warn before scrap |
| Logistics / stores | "What's left, consumed, and next?" | Live levels in real units, hours of cover, counted receipts, sealed issues, exact per-lot consumption |
| Auditor / customer | "Prove what happened to this unit." | The passport: every station, measurement and lot — in three clicks |
| Finance | "What did our losses actually cost?" | Complete scrap & downtime record, ready to be costed |
| IT | "What must we install on machines?" | Nothing proprietary — open standards, one integration contract (BW-CON-001) |
A print works does not move sheets one at a time, and it does not account for them one at a time either. Three quantities are nested inside each other, and every figure on the screens belongs to exactly one of them:
| Quantity | What it is | Where you meet it |
|---|---|---|
| Load | The piece that moves from press to press: a counted stack of 100 sheets with a load ticket, serial BNK-… | Traceability, Report, Gantt — one row is one load |
| Sheet | The unit of account: 45 notes in a 5 × 9 grid. Output, yield, spoilage and OEE are all in sheets | Every KPI, the statistics, the sheet ledger |
| Note | Exists from numbering (B060) onward, each with its own serial — two letters and seven digits | Packs, containers, shipments, the note ledger |
Spoilage, not scrap. A load is never thrown away whole. Each operation writes off the sheets it spoiled — two at the silk-screen, one at the guillotine — as a spoilage entry on the load ticket, with a quantity, a reason and a cause: ordinary process waste, a burst of waste, sheets caught in a machine fault, or sheets rejected at inspection. The load carries on with what is left; nothing is ever reworked. At reference settings about 92 sheets in 100 reach the end of the line.
The sheet ledger must balance. From the moment the line starts, sheets issued = good + spoiled + in process. Anything that does not add up is shown as unaccounted and the ledger turns from BALANCED to VARIANCE — in a currency works, a missing sheet is a security event, not a rounding error. A second ledger does the same for notes: numbered = delivered + in process.
Each intaglio press carries one engraved plate — back at B050, front at B054 — with a life of 30,000 impressions. Waste grows as the plate wears, a warning is raised at 85 % of its life, and at the end the press stops for a plate change: twelve minutes in maintenance, released by two people, then a fresh plate with its own identity. Every plate that ever ran stays in the history, with the impressions it made.
Paper moves with humidity, so the print hall is held at 23 °C and 52 % relative humidity, inside a band of 20.5–25.5 °C and 47–57 %. Outside that band the sheets stretch or shrink: front-to-back register drifts at the offset press and waste rises on every press until the hall recovers. The excursion is logged with its start, its end and its cost in sheets.
A good sheet can still carry a bad note. The camera inspection at B055 marks defective notes without spoiling the sheet; after the cut, B070 rejects those notes one by one and puts a replacement note in each gap, so every pack leaves complete. Sheet yield and note yield are therefore two different numbers, and the works reports both.
Notes are banded in bundles of 100, ten bundles make a pack of 1,000, ten packs fill a sealed container with a seal number, and containers wait in the vault until twenty of them leave together as a cash-in-transit shipment. Each pack and each container records the range of note serials inside it and the load tickets those notes came from.
That chain is what makes a single banknote traceable: from its serial to its pack, its container and its shipment — and back through the load ticket to every press, plate, ink lot and climate reading that made it.
In the demo — the Portal's Works panel shows plate wear, the hall climate, the vault and both ledgers live; three scenario cards wear a plate, order a plate change and push the hall out of its humidity band.
A currency works is audited twice: on what it printed, and on what it was given to print with. Section 13 covers the first half — every sheet from B010 to the pack. This section covers the other half: the same counting discipline, applied upstream of B010, to the paper and to the consumables that make a note hard to forge. Nothing reaches a press without having been counted in by two people, and nothing leaves the works as waste without two witnesses.
| Store | What it holds | Released by |
|---|---|---|
| Strongroom | Security paper, the substrate: sealed pallets of 20 counted reams of 500 sheets — 10,000 sheets a pallet, each pallet with its paper-mill lot | Vault Custodian + Shift Supervisor |
| Security cage | The accountable consumables: OVI ink (grams), hologram foil (metres), numbering ink (grams) | Vault Custodian + Shift Supervisor |
| General store | Offset ink, intaglio ink, varnish (grams) and banding tape (bands) | Vault Custodian + the press operator |
When a store's available stock falls to its reorder point, a secure delivery (SDL-…) is ordered from the paper mill, the ink maker, the foil maker or the general supplier, with an advice note: so many containers, so much quantity, this lot. It reaches the receiving dock after its lead time — in the demonstration 20 minutes for paper, 15 for inks and foil, 10 for general supplies — and is then counted in for 3 minutes by two named people, the Vault Custodian and the Shift Supervisor. If the count matches the advice note, a goods receipt (GRN-…) books the stock into its store. Only one delivery per material is ever open at a time.
What a variance means. If the count does not match — two reams short on a pallet, one tin missing — the delivery is held: nothing is booked for 10 minutes while it is investigated, then it is booked as counted, with the shortage claimed against the supplier. The principle is the one an auditor looks for: stock never exists because a document says so, only because two people counted it. A receipt variance is an exception with names, times and a resolution on it — not a silent adjustment.
When a press runs low, it asks. AGV-D drives to the store; two people release exactly one container — for paper, ten reams (5,000 sheets) from the oldest pallet; for everything else one tin, can, pail, roll, drum or reel — it is closed on the AGV with a numbered tamper seal (TS-…), carried across the hall, and scanned in at the press by the press operator. The whole hand-over is one record, the controlled issue (ISS-…): who asked, who released, which seal, which trip, who received.
The container is then staged beside the press and mounted only when the running one can no longer cover one more load; its small residue is carried over into the new container, so nothing is thrown away and nothing is counted twice. If a store has nothing to release, AGV-D waits at the store, the press runs its lineside stock down and stops for want of material — and restarts by itself once the next delivery has been counted in.
Paper is not counted in boxes; it is counted in sheets, from the first ream to the last. Sheets leave the B010 feeder pile at the very instant B010 issues a load of 100 — the same instant the sheet ledger of §13 counts them as issued. That shared moment joins the two ledgers into one chain with no gap in it:
| Ledger | Must always hold | Meaning |
|---|---|---|
| Substrate (sheets) | received = in strongroom + in transit + at press + issued | Received is the opening stock plus every goods receipt; in transit is paper released and on AGV-D, not yet scanned at B010 |
| Sheets (§13) | issued = good + spoiled + in process | The same issued figure — the substrate ledger ends exactly where the sheet ledger begins |
| Every other material | received = in store + in transit + at press + consumed | In its own unit: grams, metres or bands |
| Waste (sheets) | spoiled = destroyed + awaiting destruction | Spoiled is the sheet ledger's own figure |
Each of these balances at every instant. Anything left over is shown as unaccounted, and — exactly as for the sheet ledger — the status turns from BALANCED to VARIANCE.
The two consumables worth stealing are measured against a standard. For OVI ink the standard is 0.35 g per sheet processed, for hologram foil 0.6 m. The works compares what the press actually drew with what the sheets it processed should have needed, over the last 20 loads and since the start. In normal running the difference stays between 0 and about +1.6 %; beyond the ±3 % band a usage variance is raised and the material is flagged out of band until it is explained.
A spoiled sheet is still security paper with security features on it. Every sheet written off, for whatever cause — ordinary process waste, a burst, an inspection reject, a machine fault — goes into a locked waste bin. The bin is destroyed as a batch when it holds 600 sheets or when its oldest sheet has been waiting 120 minutes, whichever comes first, and each batch produces a destruction certificate (DC-…): how many sheets, from which presses and for which causes, shredded and compacted on site, signed by two witnesses — the Quality Inspector and the Vault Custodian.
For each material the works reports its cover: the hours that the stock at the presses plus the available stock in store will last at the current consumption rate. Below 2 hours a low-cover warning is raised. Stock placed on security hold — counted, present, but not to be issued — is left out of the cover on purpose, and the next count-in of that material lifts the hold.
Put together, the works can answer the auditor's question from both ends: every sheet that came off a paper-mill pallet is in the strongroom, on the AGV, at the feeder, in a good pack, in process — or on a destruction certificate with two signatures.
In the demo — the Secure Supply page: the three stores, cover per material, open deliveries, the substrate ledger and the certificates, with a custody timeline for any pallet, ream, lot, issue, receipt or certificate. Three scenarios can be played: a delayed delivery, a short receipt, and a press that over-consumes OVI ink or foil.
The honest closing line: everything in this briefing is built from data the machines already produce. The MES does not create work — it stops that data from evaporating.
Serialized traceability of one load of sheets across the ten stations — down to the single note.
A counted load of security paper — 100 sheets, 4,500 future banknotes — enters the line, receives a unique ticket serial, and is followed press by press. Every station writes its data against that one serial: sheets in and out, write-offs, measurements, and the exact material lot it consumed. Nothing is typed by anyone.
A banknote line is the perfect setting for this use case for three reasons: no rework exists, so the record is never muddied by repair loops — a sheet stays in its load, or is written off with a cause; materials are counted in and issued under seal, so lot binding is a security requirement rather than a nice-to-have; and the mechanics transfer unchanged to any serialized product — pharmaceuticals, medical devices, aerospace parts.
One unique serial is assigned to the load at the first station. From that point on, everything counted, measured or consumed is bound to it — nothing floats free. Read the serial and you have the whole history.
Three guarantees make the key trustworthy: it is bound once, at the entry press, before anything can happen to the load; it is written by machines at process time — never typed, never backdated; and it is never reused — day-seeded sequencing makes re-issue impossible, even across system restarts.
| Contents of the load record · BNK-20260723-0408569 | |
|---|---|
| Material lots | the exact paper, ink, foil and tape lot mounted at each press |
| Sheet count | sheets in, good sheets out and sheets written off at each of the ten operations — with reason and cause |
| Process parameters | 30 measured values on the sample sheet, against machine-published limits |
| Equipment | press, work op, line |
| Timestamps | arrival, cycle time and completion, per press |
| Notes | notes marked at inspection, the serial range numbered at B060, notes cut, good and replaced at B070 |
| Final status | finished — its notes packed for the cash vault, every missing sheet accounted for |
parent load ← linked → consumed material lots — the tree grows one branch per press
| Parameter | Value | Limits | |
|---|---|---|---|
| Relief height | 61.2 µm | 48 – 72 | PASS |
| Plate pressure | 903 kN | 840 – 960 | PASS |
| Wiping residue | 1.9 % | ≤ 1.8 | FAIL |
A wiping failure like this one writes sheets off the load — quantity, reason, press and ink lot recorded in a single spoilage event. No downstream value is ever added to a bad sheet.
Sheets written off earlier stay on the record too — counted at their exit press, with the cause. A sheet that is neither good, spoiled nor in process is itself an alert: the ledger turns to VARIANCE.
| Direction | Question answered | Example |
|---|---|---|
| Backward trace | From one load ticket → every material lot, sheet count, measured value and press that went into it. | BNK-…-0408569 → lots · counts · measurements |
| Forward trace | From one material lot → every load that consumed it — the exact scope of any recall. | LOT-OVI-408610 → 38 loads → 3,800 sheets issued |
| Note trace | From one banknote serial → its pack, container and shipment, and the load tickets behind it. | GG5028123 → PK-000277 → CTN-00028 → BNK-… |
Four business outcomes follow directly: recall containment (isolate exactly the affected loads and packs, in seconds), quality analytics (trends by lot, press and shift), audit and compliance (proof of what was printed and how), and security reconciliation (received = in store + in transit + at press + consumed, per material — Part A §14).
In the live demonstration this section is played out for real: a subtly defective OVI ink lot is delivered to B030, quality drifts, and the investigation uses exactly these two queries — name the lot, list every affected load — before recovering the line.
The vocabulary changes from vendor to vendor; the objects do not. Every concept in this use case lands one-to-one in any serialized-production MES:
| In this use case | In your MES |
|---|---|
| Load ticket (100 sheets) | the serialized unit / lot the MES tracks, with a quantity |
| Press B010–B070 | an operation in the routing |
| Material-lot binding | genealogy / as-built component linking |
| Measurements vs limits | data-collection parameters |
| Spoilage write-off, cause on the ticket | scrap confirmation with quantity and reason code |
| Pack · container · shipment | handling units / packing hierarchy |
| The load's passport | as-built record / where-used query |
Same principle, whatever the MES — one unique serial ties the whole build together. The live system behind this document proves it end to end.
The machine-integration contract — for integrators and IT.
The line publishes on two parallel southbound interfaces — OPC-UA for SCADA/HMI-style clients and MQTT for the unified namespace. The broker archives selected namespaces into the historian (PostgreSQL); the shopfloor dashboard is a read-only ISA-95 Level 2 consumer of that data and issues commands exclusively over the MQTT command channel.
Design rule — the dashboard never writes machine state directly. Every
actuation (start/stop, maintenance, demo scenarios) is a broker-mediated command with an
acknowledgement on mes/commands/response, keeping a full audit trail.
Two enterprise systems sit at defined integration boundaries around this line:
| System | Owns | Exchange with the line / MES |
|---|---|---|
| ERP (Level 4) | Production orders, purchasing, inventory valuation, costing | ↓ order release · ↑ completion confirmations, per-lot consumption (backflush), scrap valuation |
| WMS (Level 3, sibling of the MES) | The three secure stores (strongroom, security cage, general store): counted goods receipt of supplier
lots (where a LOT-… number enters the works), stock, security holds, controlled issue |
↓ controlled issue — one sealed, lot-stamped container released to AGV-D · ↑ material calls (low-threshold events, §8), consumption per lot, store reconciliation (received = in store + in transit + at press + consumed) |
The WMS hand-over point is the material delivery queue: a press's low-material event
becomes a controlled issue; the sealed container arrives carrying its lot number, is staged beside the press and is mounted through the
materialSetup transaction (§5). Both boundaries are exercised by the simulator in this
environment; the contracts are unchanged when real ERP/WMS systems connect.
Three nested quantities describe production. The piece that moves is a counted load of 100
sheets, identified by a load ticket (BNK- serial). The unit of account is the
sheet — security paper carrying 45 notes in a 5×9 layout: every counter named parts, pass or total
on this line is in sheets. Notes exist from numbering at B060 onward and are cut at B070.
Loads flow strictly B010 → B070 through ten stations: two intaglio passes (B050 back, B054 front)
around the B052 drying store, then the B055 sheet inspection before numbering.
Spoiled sheets are always destroyed (shredded) — the line has no rework path — but a load is
never scrapped whole: each operation writes off the sheets it spoiled and passes the rest on.
The routing is a fixed, linear gamme — one entry point, ten operations in mandatory order, no alternative routes and no rework loop. Each printing operation adds one security layer to the sheets and draws its assigned material, in real units, from the sheets it actually processes; the drying store at Op 52 and the inspection at Op 55 add nothing and consume no material:
| Op | Station | Process — what physically happens to the sheets | Material in | Cycle per load |
|---|---|---|---|---|
| 10 | B010 | Sheet feed & substrate check. A load of 100 blank sheets is counted off the reams issued from the strongroom. The watermark and the embedded security thread are already in the substrate (from the paper mill); the station gauges thickness and verifies watermark and thread position against register before releasing the load into the line. | security_paper | 30 s |
| 20 | B020 | Offset "Simultan" printing. The background artwork is printed on both faces in a single pass through opposed blanket cylinders — this is what guarantees perfect front/back register (the see-through motifs that must align on a genuine note). | offset_ink | 45 s |
| 30 | B030 | Silk-screen OVI. A flat screen deposits the optically variable ink patch — a thick (~18 µm) layer whose colour shifts with viewing angle. Deposit thickness and shift angle are what make the effect work. | ovi_ink | 60 s |
| 40 | B040 | Hot-foil / OVD application. A heated die (~105 °C) presses the holographic stripe from the foil web onto every note position; adhesion and patch position are checked on the fly. | foil_roll | 50 s |
| 50 | B050 | Intaglio printing — back. Bottleneck The engraved plate is inked, its surface wiped clean, then each sheet is pressed against it at ~900 kN — the paper is drawn into the engraving, producing the raised, tactile print you can feel on a genuine note. Slowest and most valuable operation; waste grows as the plate (PLT-B-) wears. | intaglio_ink | 90 s |
| 52 | B052 | Drying store. A parallel buffer, not a machine: eight rack positions, each load rests its own 300 s while the intaglio ink dries by oxidation, and loads are released first-in first-out. Unmanned, no material, no random breakdowns; ink dryness, stack temperature and set-off are sampled at release. | — | 300 s dwell |
| 54 | B054 | Intaglio printing — front. The second pass, on the portrait side, with its own plate (PLT-F-) and the same ink family as B050. | intaglio_ink | 85 s |
| 55 | B055 | Sheet quality inspection. Cameras inspect both faces of every sheet right after the second intaglio pass and before numbering: print defects, intaglio register and ink set-off are measured, spoiled sheets are written off here so no serial number is ever spent on them, and defective notes on otherwise good sheets are marked (notesMarked) for rejection after the cut. Consumes no material (no bin, no AGV delivery). | — | 40 s |
| 60 | B060 | Numbering & varnish. Letterpress numbering boxes stamp two serial numbers on each of the 45 notes; a protective varnish coat is then applied over the whole sheet. | numbering_ink + varnish | 55 s |
| 70 | B070 | Final inspection, cut & pack. The sheets are guillotine-cut into single notes and every note is inspected; marked and rejected notes are pulled out and replacement notes substituted, so every pack is complete. Notes are banded in bundles of 100, packed in 1,000s and sealed ten packs to a container for the cash vault. | banding_tape | 70 s |
Routing rules. Entry only at Op 10; loads cannot skip, repeat or reorder operations — the work-op id (10…70, with 52, 54 and 55 for the drying store, the second intaglio pass and the sheet inspection) in every transaction encodes the position in the gamme. There are exactly two exits: good sheets leave at Op 70 to the cash vault as packed notes, and spoiled sheets leave at whichever operation wrote them off, routed to the shredder (see Spoilage accounting below). The load ticket therefore accounts for every one of its 100 sheets: good at the end, or written off at a named operation.
Every station runs the same ISA-88-style state machine, exposed identically on both interfaces:
IDLE → LOADING → READY → RUNNING → COMPLETE → UNLOADING → IDLE
│
├→ FAULT (auto-recovery, reason-coded)
├→ MAINTENANCE (planned, every 200 cycles or on command)
├→ SETUP (product changeover)
└→ BREAK (shift calendar — planned pause, not downtime)
The shift calendar (3×8, breaks per shift) follows the wall clock. During a
break a station finishes the load in flight, then holds in BREAK — consumers
must not count this as fault downtime. The drying store keeps drying through a break.
The line runs load-by-load flow: each press holds exactly one load at a time.
On completion the load is passed to the next station's inbound queue and is picked up as
soon as that station returns to IDLE. An inbound queue holds at most three loads —
WIP between stations is therefore small, visible (queue depth per station in the
WIP feed) and self-limiting: an upstream station holds its load on board when the queue ahead is full.
The single designed buffer is the B052 drying store: eight loads dwell in parallel, each for its own
300 s, which decouples the two intaglio passes (per-position progress in drying.slots[]).
The intaglio press B050 (90 s per load) is the pacemaker: the line can never exceed 40 loads/h = 4,000 sheets/h regardless of how fast the other presses run. Reference behaviour at default rates is about 2,750 good sheets/h, a sheet yield near 92 % and an OEE near 69 %. Station utilisation against that takt explains the idle time consumers will observe — it is structural, not a fault:
| Station | Cycle | Utilisation vs takt | Behaviour at takt |
|---|---|---|---|
| B010 | 30 s | 33 % | Waits most of the cycle — feeds on demand |
| B020 | 45 s | 50 % | Waits ~half the takt |
| B030 | 60 s | 67 % | Comfortable margin |
| B040 | 50 s | 56 % | Comfortable margin |
| B050 | 90 s | 100 % | Pacemaker — any B050 stop is lost line output |
| B052 | 300 s ÷ 8 | 42 % | Parallel dwell — one load released every 37.5 s at most; fills up only if B054 stops |
| B054 | 85 s | 94 % | Second-highest load — almost no margin behind the pacemaker |
| B055 | 40 s | 44 % | Waits more than half the takt |
| B060 | 55 s | 61 % | Comfortable margin |
| B070 | 70 s | 78 % | Comfortable margin — watch after any intaglio speed-up |
Consequence for KPI consumers: an hour of B050 downtime costs the line a full hour of output; an hour of B010 downtime may cost nothing (it catches up within its idle margin). Loss accounting should always be read against the pacemaker.
Every station is a quality gate, but the verdict is a count, not pass/fail:
operationComplete is always PASS and reports unitsIn,
units (good sheets out) and spoiled, with the three measured parameters taken
on a sample sheet (sampleInTolerance). Spoiled sheets exit the flow immediately at the
station that wrote them off and are routed to the shredder — no downstream value is ever added to
a defective sheet — and each write-off is its own spoilage transaction with units, reason
and cause (process, burst, fault or inspection). Sheet yield is computed per
station and compounds across the ten operations to the line yield; finished output is counted at B070
only. There is no scrapPiece, no rework and no qualityAlert on this line.
Note yield is tracked separately: B055 marks defective notes on good sheets, B070 rejects them
one by one after the cut (rejectedBy: inspection mark, single-note inspection, cut waste)
and substitutes replacement notes. Delivered notes = good + replacements = packed + open pack.
Each intaglio station carries one plate with a life of 30,000 impressions (configurable). The
waste factor grows with wear, a plateWear warning is raised at 85 %, and at end of life
the station goes to MAINTENANCE for 720 s with reason:"plateChange" under dual
control (two releasedBy names), then restarts on a new plate id. The hall climate
(set-point 23 °C / 52 % RH, band 20.5–25.5 °C / 47–57 % RH) is a second waste driver: an excursion
raises the waste factor on every press and biases frontBackRegister at B020 until
climateRecovered.
Production runs 3×8 (morning / afternoon / night) with fixed in-shift breaks:
stations finish the load in flight then hold in BREAK (planned time — see
above). Maintenance is threefold: planned every 200 cycles per station (short,
counted as planned downtime), plate changes at the end of plate life (12 min, dual control) and
corrective on faults, with reason-coded recovery times. A maintenance requested on a busy
station is armed and starts at its next idle — the load on board is finished first. Material replenishment
(§8) runs continuously and independently of the production takt; a starved station holds
in place and raises a critical alert rather than passing an unprocessed load.
Endpoint: opc.tcp://<host>:4844/banknote (anonymous, demo profile).
One folder per station under the banknote object; identical node set across
stations. Node ids are server-assigned numeric (ns=1;i=…) — browse from
Objects/banknote rather than hard-coding ids.
| Node | Type | Access | Meaning |
|---|---|---|---|
| State | String | R | ISA-88 state name |
| CycleTime | Double | R/W | Effective cycle time (s) |
| SpeedMultiplier | Double | R/W | 0.1 – 10.0 line-speed factor |
| PartsProduced / PartsDefective / PartsScrap / PartsRework | Int32 | R | Station counters. PartsProduced counts loads; scrap and rework stay at 0 on this line — sheet quantities travel on MQTT (unitsProcessed, unitsSpoiled) |
| OEE | Double | R | Station OEE (A×P×Q) |
| InputUnique | String | R | Ticket serial of the load on station |
| FaultReasonCode | String | R | Active reason code, empty if none |
| MaintenanceNeeded · CyclesSinceLastMaintenance | Bool · Int32 | R | Planned-maintenance window |
| InputMaterialLot / InputMaterialBox / InputMaterialRemaining | String · String · Int32 | R | Active material lot and container at the station; InputMaterialRemaining is in real units (sheets, g, m, bands) |
| ProcessParameters/<param>/{Nominal, UpperLimit, LowerLimit, Unit} | Double/String | R | Spec limits (see §7) |
| Measurements/<param> | Double | R | Last measured value |
| DataCollection/{LastRecord, RecordCount} | String · Int32 | R | Last full record as JSON |
Broker mqtt://<host>:1883, JSON payloads, QoS 0. The
banknote/# namespace is part of the archived filter set — every message below
lands in the historian.
| Topic | Cadence | Content |
|---|---|---|
| banknote/{B010…B070}/status | on state change | State, cycle, load counter, load serial, unitsProcessed / unitsSpoiled in sheets |
| banknote/{B010…B070}/measurements | per load | Measured values on the sample sheet of that load |
| banknote/{B010…B070}/transaction | per event | MES transactions (§5) |
| banknote/{B010…B070}/materialSetup | per mount | New container/lot mounted at the press, with unit, issueId, sealNo, carriedOver (never at B052 or B055 — no material) |
| banknote/line/summary | 2 s | Line KPIs in sheets: totalParts, totalScrap, unit:"sheet", loadsFinished, OEE, FPY, WIP, bottleneck, goodNotes |
| mes/banknote/state | 2 s + on change | Line RUNNING/STOPPED, loads, sheets, notes, station snapshot (with plate on B050/B054, notesMarked on B055), reconciliation, climate, plates[], drying, finishing, supply (compact secure-supply block) |
| banknote/line/reconciliation | ~30 s + on event | Sheet and note ledgers: issued, good, spoiled by station, in process, unaccounted, status BALANCED / VARIANCE (the same object rides in the 2 s state message) |
| banknote/line/climate | ~30 s + on event | Hall temperature and humidity, set-point, band, excursion, waste factor, history[] |
| banknote/line/plates | ~30 s + on event | Intaglio plates: id, impressions, wear, status — and the change history[] |
| banknote/line/finishing | ~30 s + on event | Last 12 packs and 6 containers, vault content, recent shipments |
| banknote/line/supply | ~30 s + on event | Full secure-supply snapshot: stores, materials with stock, cover and ledger, substrate ledger and pallet list, open deliveries, issues in transit, usage, waste bin, destruction ledger, recent records, armed hooks |
| banknote/line/delivery | per event | Secure delivery SDL-: on order, on arrival at the dock, on a delay (event) |
| banknote/line/receipt | per event | Goods receipt GRN- at count-in; a HELD receipt is published again when booked |
| banknote/line/issue | per event | Controlled issue ISS-, once, complete, when scanned in at the press |
| banknote/line/destruction | per event | Destruction certificate DC-, once per witnessed batch |
| banknote/line/pack · container · shipment | per event | One message per sealed pack (1,000 notes), sealed container (10 packs) and cash-in-transit shipment (20 containers), each with its note-serial range |
| mes/alerts | per event | Faults, material-low, shift events (shared) — plus spoilage, plateWear, plateChange, plateChangeComplete, climateExcursion, climateRecovered, noteShipment — and from the secure supply deliveryOrdered, deliveryDelayed, goodsReceipt, receiptVariance, usageVariance, destructionCertificate, coverLow, storeEmpty, starving |
| mes/materials/status | 2 s | Active containers of every material-holding station in B010–B070, in real units (B052 and B055 hold none); stores.banknote (the three secure stores) and vault.banknote (the strongroom) |
| agv/status | 2 s | Fleet snapshot — AGV-D under fleet.D (not archived; the fleet snapshot is mirrored into an archived logistics feed) |
Transactions follow an MES-style function model:
operationStart, operationComplete, operationStop,
saveDataCollection, spoilage, materialSetup
(scrapPiece and reworkPiece never occur on this line).
banknote/B050/status{ "state": "RUNNING", "cycleTime": 90, "partsProduced": 79,
"partsScrap": 0, "partsRework": 0,
"unitsProcessed": 7744, "unitsSpoiled": 120, "inputUnique": "BNK-20260723-0408569" }
partsProduced counts loads; unitsProcessed and unitsSpoiled are sheets.
banknote/B050/transaction{ "function": "operationComplete", "station": "B050", "workOp": 50,
"inputUnique": "BNK-20260723-0408569", "result": "PASS",
"unitsIn": 97, "units": 96, "spoiled": 1, "sampleInTolerance": true,
"measurements": {
"reliefHeight": { "value": 61.2, "unit": "µm", "nominal": 60, "tolerance": 12, "inTolerance": true },
"platePressure": { "value": 903.5, "unit": "kN", "nominal": 900, "tolerance": 60, "inTolerance": true },
"wipingResidue": { "value": 0.8, "unit": "%", "nominal": 1.0, "tolerance": 0.8, "inTolerance": true } },
"actualCycleTime": 90.2, "targetCycleTime": 90,
"timestamp": "2026-07-23T09:31:04.512Z" }
Station-specific additions: notesMarked at B055; serialFrom, serialTo,
notesNumbered at B060; notesCut, notesGood, replacements at B070.
banknote/B050/transaction{ "function": "spoilage", "station": "B050", "workOp": 50,
"inputUnique": "BNK-20260723-0408569", "units": 1,
"reason": "Intaglio waste (back) — wiping / relief", "cause": "process", "totalSpoiled": 121 }
cause is process (ordinary waste), burst (a run of waste), fault
(sheets in the machine when it faulted) or inspection (rejected by the B055 cameras); totalSpoiled is the station's running total.
banknote/line/reconciliationThe accountability ledgers of the works, counted since line start. Sheet invariant: issued = good + spoiled + inProcess; unaccounted must stay at 0 and status reads BALANCED (otherwise VARIANCE). Note invariant, in noteLedger: numbered = delivered + inProcess and delivered = good + replacements = packed + openPack. The same object is carried as reconciliation inside mes/banknote/state and returned by GET /api/banknote/status.
{ "issued": 2000, "good": 185, "spoiled": 58,
"spoiledByStation": [ { "station": "B054", "name": "Intaglio Print — Front", "units": 14 }, … ],
"inProcess": 1757, "onStations": 296, "inQueues": 1461, "unaccounted": 0,
"status": "BALANCED", "since": "2026-11-10T07:13:45.378Z", "timestamp": "2026-11-10T07:43:57.810Z",
"unit": "sheet", "sheetsPerLoad": 100, "notesPerSheet": 45,
"loads": { "issued": 20, "finished": 2, "inProcess": 18, "onStations": 3, "inQueues": 15 },
"noteLedger": { "numbered": 12780, "cut": 8325, "good": 8284, "rejected": 86,
"rejectedBy": { "inspectionMark": 31, "singleNote": 10, "cutWaste": 45 }, "replacements": 86,
"delivered": 8370, "packed": 8000, "openPack": 370, "inProcess": 4410, "unaccounted": 0, "status": "BALANCED" } }
banknote/line/pack{ "packId": "PK-000277", "notes": 1000, "bundles": 10,
"serialFrom": "GG5028000", "serialTo": "GG5028999", "replacements": 6,
"loads": [ "BNK-20261110-0289301" ], "containerId": "CTN-00028", "sealedAt": "2026-11-10T12:58:46.000Z" }
A sealed container (banknote/line/container) carries containerId, its ten packs[],
the serial range, sealNo and the vault content after it went in; a shipment
(banknote/line/shipment) carries shipmentId (CIT-), 20 containers, first and last
container and the serial range.
banknote/B010/materialSetupEmitted when a container is mounted at the press. quantity is in the material's
unit and includes carriedOver, the residue merged from the previous container.
{ "station": "B010", "workOp": 10, "boxId": "SP-261110-252001-R01-10",
"lotNumber": "LOT-PAPR-20261110-252001", "materialType": "security_paper",
"quantity": 5000, "unit": "sheet", "isSecondary": false, "source": "AGV", "agvTripId": "MTRIP-252002",
"issueId": "ISS-261110-252055", "sealNo": "TS-831464", "carriedOver": 0,
"timestamp": "2026-11-10T06:58:36.000Z" }
mes/banknote/state → supplyRides in the 2 s state message; meant for tiles and badges. status is
OK, WATCH (AGV-D waiting at an empty store, stock on security hold, a delayed
delivery) or ALERT (a ledger not balanced, a delivery held, a usage out of band, or any
low cover). cover is in hours, null when the material is not being drawn.
{ "status": "ALERT",
"substrate": { "inStrongroom": 64000, "pallets": 7, "heldPallets": 0, "inTransit": 0,
"atPress": 2000, "issued": 18000, "unaccounted": 0, "status": "BALANCED" },
"cover": { "security_paper": 25.4, "offset_ink": 25.2, "ovi_ink": 5.6, "foil_roll": 10.4,
"intaglio_ink": 0.8, "numbering_ink": 17.9, "varnish": 28.3, "banding_tape": 51.1 },
"lowestCover": { "materialType": "intaglio_ink", "coverH": 0.8 }, "coverLow": [ "intaglio_ink" ],
"nextDelivery": { "deliveryId": "SDL-261110-252130", "materialType": "intaglio_ink", "state": "INBOUND", "etaMin": 55 },
"openDeliveries": 1, "deliveries": [ … ], "heldReceipts": 0, "waitingAtStore": "intaglio_ink",
"usage": { "ovi_ink": { "variancePct": 0.43, "status": "IN_BAND" }, "foil_roll": { "variancePct": 0.58, "status": "IN_BAND" } },
"wasteBin": { "sheets": 6, "certificates": 3, "status": "BALANCED" } }
The full snapshot, banknote/line/supply, carries line, since,
status, config, stores[], materials[] (per material:
atPress, inStore, inTransit, inbound,
consumption, coverH, coverWithInboundH, coverLow,
waitingAtStore, ledger), substrate (with palletList[]),
deliveries[], issuesInTransit[], usage[], wasteBin,
destruction, counts, recent, hooks and
timestamp.
banknote/line/deliveryOne message on order, on arrival at the dock and on a delay (event). For paper,
containers[] lists pallets (palletId, reams, sheets, firstReam, lastReam) and
advised.count is in reams; for every other material it lists
{containerId, units} and the count is in containers.
{ "event": "ordered", "deliveryId": "SDL-261110-252075", "materialType": "security_paper",
"store": "strongroom", "unit": "sheet", "supplier": "Security paper mill", "supplierClass": "paperMill",
"lotNumber": "LOT-PAPR-20261110-252019",
"advised": { "containers": 2, "units": 20000, "countUnit": "ream", "count": 40 },
"containers": [ { "palletId": "SP-261110-252076", "reams": 20, "sheets": 10000,
"firstReam": "SP-261110-252076-R01", "lastReam": "SP-261110-252076-R20" }, … ],
"orderedAt": "2026-11-10T08:00:00.000Z", "reason": "stockout", "stockAtOrder": 0,
"state": "INBOUND", "eta": "2026-11-10T08:20:00.000Z", "etaMin": 20, "delayMin": 0,
"arrivedAt": null, "receiptId": null, "holdUntil": null }
banknote/line/receiptPublished at count-in. status is RECEIVED (variance 0),
HELD (counted ≠ advised, bookedAt: null) or
RECEIVED_WITH_VARIANCE — the same receiptId, published again when the held
delivery is booked as counted, with a resolution. Consumers dedupe by id.
{ "receiptId": "GRN-261110-252087", "deliveryId": "SDL-261110-252075", "materialType": "security_paper",
"store": "strongroom", "unit": "sheet", "supplier": "Security paper mill", "supplierClass": "paperMill",
"lotNumber": "LOT-PAPR-20261110-252019",
"advised": { "containers": 2, "units": 20000, "countUnit": "ream", "count": 40 },
"counted": { "containers": 2, "units": 19000, "countUnit": "ream", "count": 38 },
"variance": { "count": -2, "units": -1000 },
"countedBy": [ { "role": "Vault Custodian", "name": "P. Wagner", "id": "OP-BNK-BR3" },
{ "role": "Shift Supervisor", "name": "U. Solberg", "id": "OP-BNK-BR1" } ],
"orderedAt": "2026-11-10T08:00:00.000Z", "arrivedAt": "2026-11-10T08:20:00.000Z", "countedAt": "2026-11-10T08:23:00.000Z",
"status": "RECEIVED_WITH_VARIANCE", "holdUntil": "2026-11-10T08:33:00.000Z", "bookedAt": "2026-11-10T08:33:00.000Z",
"resolution": { "bookedAs": "counted",
"note": "Booked as counted — 2 ream(s) (1000 sheets) short, claimed against the supplier",
"resolvedBy": [ … ], "resolvedAt": "2026-11-10T08:33:00.000Z" },
"containers": [ … as counted … ], "holdsReleased": 6 }
banknote/line/issuePublished once, complete, when the container is scanned in at the press
(requestedAt ≤ releasedAt ≤ receivedAt). Paper carries palletId and
reams[]; every other material containers[]. Its boxId and
lotNumber become the press's active material when it is mounted, so the existing lot
trace works unchanged.
{ "issueId": "ISS-261110-252053", "materialType": "ovi_ink", "store": "securityCage", "unit": "g",
"station": "B030", "isSecondary": false, "quantity": 1000,
"boxId": "OVI-261110-252012", "lotNumber": "LOT-OVI-20261110-252003", "containers": [ "OVI-261110-252012" ],
"requestedAt": "2026-11-10T06:22:47.000Z",
"requestedBy": { "role": "Screen Printer", "name": "B. Ostrowski", "id": "OP-BNK-B03" },
"releasedAt": "2026-11-10T06:23:01.000Z",
"releasedBy": [ { "role": "Vault Custodian", "name": "P. Wagner", "id": "OP-BNK-BR3" },
{ "role": "Shift Supervisor", "name": "U. Solberg", "id": "OP-BNK-BR1" } ],
"agv": "D", "agvTripId": "MTRIP-252001", "sealNo": "TS-815626",
"receivedAt": "2026-11-10T06:23:20.000Z",
"receivedBy": { "role": "Screen Printer", "name": "B. Ostrowski", "id": "OP-BNK-B03" }, "status": "RECEIVED" }
banknote/line/destruction{ "certificateId": "DC-261110-252078", "sheets": 377, "notesEquivalent": 16965,
"byStation": [ { "station": "B010", "sheets": 26 }, { "station": "B020", "sheets": 70 }, … ],
"byCause": { "process": 230, "burst": 62, "inspection": 45, "fault": 40 },
"binOpenedAt": "2026-11-10T06:01:10.000Z", "destroyedAt": "2026-11-10T08:01:10.000Z",
"method": "Witnessed shredding and compaction on site",
"witnesses": [ { "role": "Quality Inspector", "name": "L. Marchetti", "id": "OP-BNK-BR2" },
{ "role": "Vault Custodian", "name": "P. Wagner", "id": "OP-BNK-BR3" } ],
"trigger": "age" }
Σ byStation = Σ byCause = sheets; trigger is "quantity" or "age".
| Object | Format | Example |
|---|---|---|
| Load ticket (100 sheets) | BNK-YYYYMMDD-####### | BNK-20260723-0408569 |
| Note serial | 2 letters + 7 digits | GG5028123 |
| Pack · container · seal | PK-###### · CTN-##### · SL-###### | PK-000277 · CTN-00028 · SL-313813 |
| Shipment (cash in transit) | CIT-#### | CIT-0001 |
| Intaglio plate | PLT-B-#### (back) · PLT-F-#### (front) | PLT-B-0001 |
| Material lot (the supplier's lot; paper-mill lot for paper) | LOT-<CODE>-YYYYMMDD-### | LOT-PAPR-20261110-252019 |
| Substrate pallet (20 reams) | SP-YYMMDD-###### | SP-261110-252076 |
| Ream (500 sheets, R01…R20) | SP-YYMMDD-######-R## | SP-261110-252076-R07 |
Issued ream range (paper boxId) | SP-YYMMDD-######-R##-## | SP-261110-252001-R01-10 |
Container (every other boxId) | OINK- · OVI- · FOIL- · IINK- · NINK- · VARN- · BNDT-YYMMDD-###### | OVI-261110-252066 |
| Secure delivery (advice note) | SDL-YYMMDD-###### | SDL-261110-252075 |
| Goods receipt (count-in record) | GRN-YYMMDD-###### | GRN-261110-252087 |
| Controlled issue (store → press) | ISS-YYMMDD-###### | ISS-261110-252055 |
| Tamper seal (AGV-D tote of an issue) | TS-###### | TS-831464 |
| Destruction certificate | DC-YYMMDD-###### | DC-261110-252078 |
| AGV trip | MTRIP-### | MTRIP-252002 |
One serial per load, assigned at B010 and carried through every transaction and measurement. The genealogy of a load therefore contains: all ten station visits with timestamps and cycle times, sheets in, good and written off at each of them, every sampled value against its spec limits, and the material lot active at each station when the load passed — enabling descending lot trace (which loads consumed lot X) and ascending trace (which lots are in load Y). Sequence numbers are day-seeded, so restarts never reissue a serial.
Note-level trace. B060 records the note-serial range numbered on each load; every pack and
container records its own range and the load tickets it was filled from. A single note serial
therefore resolves to pack → container → shipment and back to its loads
(GET /api/banknote/trace/<note>, status PACKED, IN_VAULT or SHIPPED).
Custody trace. All ids are upper-case; the trailing number is a 6-digit (rarely 7) sequence
and YYMMDD the creation date. Lot codes: PAPR, OINK, OVI, FOIL, IINK, NINK, VARN, BAND
(banding-tape lots use BAND, its containers BNDT). People are
{role, name, id}, the id from the crew roster (e.g. OP-BNK-BR3). Any pallet,
ream, ream range, container, lot, issue, delivery, receipt or certificate id resolves to its custody
timeline with GET /api/banknote/custody/<id> (§10). Stock that was in the stores when
the line started has no delivery or receipt record — it appears as opening in the ledgers
and becomes traceable from its first issue.
Three parameters per station, Gaussian behaviour around nominal, spec = nominal ± tolerance. The three values are measured on a sample sheet of each load; spoiled sheets are written off and shredded, never reworked. SPC (Cp/Cpk) is computed downstream from the measurement stream.
| Station | Parameter | Unit | Nominal | ± Tol |
|---|---|---|---|---|
| B010 | sheetThickness | µm | 115 | 8 |
| watermarkRegistration | mm | 0 | 0.5 | |
| threadPosition | mm | 0 | 0.8 | |
| B020 | frontBackRegister | µm | 0 | 40 |
| colorDeltaE | ΔE | 0.8 | 0.6 | |
| inkFilmThickness | µm | 2.5 | 0.5 | |
| B030 | oviLayerThickness | µm | 18 | 3 |
| colorShiftAngle | ° | 30 | 4 | |
| screenRegister | µm | 0 | 60 | |
| B040 | foilAdhesion | N | 12 | 2 |
| patchPosition | µm | 0 | 150 | |
| stampTemp | °C | 105 | 6 | |
| B050 | reliefHeight | µm | 60 | 12 |
| platePressure | kN | 900 | 60 | |
| wipingResidue | % | 1.0 | 0.8 | |
| B052 | inkDryness | % | 96 | 4 |
| stackTemp | °C | 24 | 3 | |
| setOff | % | 0.2 | 0.3 | |
| B054 | reliefHeight | µm | 60 | 12 |
| platePressure | kN | 900 | 60 | |
| wipingResidue | % | 1.0 | 0.8 | |
| B055 | printDefects | def/sheet | 0.4 | 0.6 |
| intaglioRegister | µm | 0 | 90 | |
| inkSetOff | % | 0.3 | 0.3 | |
| B060 | numberRegister | µm | 0 | 80 |
| inkDensity | OD | 1.45 | 0.15 | |
| varnishThickness | µm | 3.0 | 0.6 | |
| B070 | defectDensity | def/sheet | 0.5 | 0.5 |
| cutAccuracy | mm | 0 | 0.15 | |
| bandTension | N | 25 | 3 |
Fault reason codes follow the plant library (MECH, ELEC, TOOL, MAT, SENS, HYD, THERM, CALIB, SOFT) with station-specific weightings — tooling faults (TOOL, ~900 s recovery) dominate the intaglio presses (the planned plate change is a separate, 720 s maintenance); numbering-box jams (MECH) dominate B060; vision faults (SENS) dominate B070; at the sheet inspection B055 cameras (SENS, ~40 %) and the inspection recipe (SOFT, ~30 %) dominate, ahead of sheet transport and the reject gate (MECH, ~20 %).
Lineside bins are expressed in real units — sheets, grams, metres, bands — in
mes/materials/status.stations.B0xx.primary|secondary: quantity,
remaining and lowThreshold in the bin's unit, plus
issueId, carriedOver and staged (units staged beside the
press). Paper is drawn when B010 issues a load (100 sheets, the same instant as the sheet ledger's
issued); every other material is drawn per operation from the sheets that operation
actually processed, banding tape from the good sheets out. B052, the drying store, and B055, the
sheet inspection, hold none: no bin, no delivery.
| Station | Material | Lot code | Unit | Container (units) | Standard per sheet | Low @ |
|---|---|---|---|---|---|---|
| B010 | security_paper | PAPR | sheet | issue of 10 reams (5,000) from a pallet of 20 reams (10,000) | 1 — drawn 100 at load issue | 1,500 |
| B020 | offset_ink | OINK | g | can (10,000) | 1.2 | 2,400 |
| B030 | ovi_ink | OVI | g | tin (1,000) | 0.35 — reconciled | 350 |
| B040 | foil_roll | FOIL | m | roll (2,400) | 0.6 — reconciled | 720 |
| B050 | intaglio_ink | IINK | g | pail (15,000) | 3.0 | 4,500 |
| B054 | intaglio_ink | IINK | g | pail (15,000) | 3.0 | 4,500 |
| B060 | numbering_ink + varnish (secondary) | NINK · VARN | g · g | can (1,000) · drum (25,000) | 0.2 · 2.0 | 300 · 5,000 |
| B070 | banding_tape | BAND | band | reel (9,000) | 0.45 per good sheet out | 1,350 |
isLow counts staged stock; a bin at 0 with staged > 0 is not empty.
quantity may exceed the container size by the carried-over residue.
The stores are published as mes/materials/status.stores.banknote[materialType] —
{boxes, capacity, lowAt, isLow, isEmpty} (boxes = available containers,
lowAt = reorder point) plus store, container, unit, units, held — and in
full in banknote/line/supply (§5). No warehouse shuttle runs for this line.
mes/materials/status.vault.banknote is now the strongroom: pallets,
capacity, reorderAt, receipts, lastReceipt, plus
store:"strongroom", sheets, heldPallets, inbound,
lastReceiptId; it moves only with paper issues and receipts.
| Store key | Material | Supplier class | Capacity | Reorder at | Delivery lot |
|---|---|---|---|---|---|
| strongroom | security_paper | paperMill | 8 pallets | 5 | 2 |
| securityCage | ovi_ink | inkMaker | 10 tins | 4 | 4 |
| securityCage | foil_roll | foilMaker | 10 rolls | 4 | 4 |
| securityCage | numbering_ink | inkMaker | 8 cans | 3 | 3 |
| generalStore | offset_ink | inkMaker | 8 cans | 3 | 4 |
| generalStore | intaglio_ink | inkMaker | 10 pails | 4 | 4 |
| generalStore | varnish | general | 6 drums | 2 | 3 |
| generalStore | banding_tape | general | 6 reels | 2 | 3 |
These are the values at speed factor 1. At a higher simulation speed the reorder
point, lot and capacity grow — read them from inStore.capacity / reorderAt / lot, never
hard-code them.
At a reorder point a delivery SDL- is ordered (one open delivery per material) and
runs INBOUND → COUNTING → closed, or → HELD → closed on a receipt variance.
Lead times are wall-clock: paper mill 20 min, ink and foil makers 15 min, general supplier 10 min;
count-in 3 min under dual control (Vault Custodian + Shift Supervisor); a variance holds the
delivery 10 min, then it is booked as counted (RECEIVED_WITH_VARIANCE).
eta / etaMin always point at the end of the current state.
When a bin crosses its low threshold the press requests material and AGV-D (dedicated to
the secure hall, prefix B0) executes the run: MOVING_TO_WAREHOUSE → LOADING_MATERIAL →
MOVING_TO_STATION → UNLOADING_MATERIAL → RETURNING, with opportunity charging below
30 % battery. At the store two people release one container, sealed on the AGV with a tamper seal;
the press operator scans it in. The complete record is published once, on
banknote/line/issue, when it is scanned at the press. In the fleet snapshot
materialDelivery adds issueId, sealNo, quantity, unit once picked, and
waitingStore: true while AGV-D is parked at an empty store (state:
"LOADING_MATERIAL", progress: 100, boxId: null) — a
storeEmpty alert is raised and the press starves through the existing material gate
until a delivery is counted in.
The delivered container is staged beside the press and mounted when the running one cannot
cover one more load. The materialSetup transaction is emitted at mount, not at
delivery, and carries the supplier lot, the container id (for paper, the ream range), the issue and
the seal.
Boundary with the WMS (§1): in this environment the simulator plays the store side too — supplier deliveries, counted receipts, stock, holds. The line-side contract stays minimal and stable: a material request goes out, a sealed, lot-stamped container comes in. Lot numbers are the supplier's and are assigned on the advice note, never on the line.
usage[] (OVI ink and foil): actual draw against stdPerSheet × sheets
processed, over the last 20 loads (recent) and since start (sinceBoot);
status is WARMING_UP (fewer than 5 loads in the window),
IN_BAND or OUT_OF_BAND (beyond ±bandPct, 3 %).
wasteBin and destruction: every spoiled sheet goes into the locked bin; a
batch is destroyed at 600 sheets or when the oldest sheet is 120 plant-minutes old, with a
certificate DC- signed by two witnesses. coverH per material = (stock at
the presses + available stock in store) ÷ rate, the rate being the last 60 plant-minutes, else the
average since start, else nominal; coverLow below 2 h; null when the
material is not being drawn.
All commands are published to mes/commands/<name>; acknowledgements
arrive on mes/commands/response. Relevant to this line:
| Command | Payload | Effect |
|---|---|---|
| startLine / stopLine | {"line":"banknote"} | Manual line control (graceful drain on stop) |
| adjustSpeed | {"line":"banknote","multiplier":1.5} | Line-wide speed factor |
| triggerMaintenance / postponeMaintenance | {"station":"B050"} | Corrective / deferred maintenance — on a busy station the request is armed and starts at the next idle |
| setPlateWear | {"station":"B050","pct":92} | Demo: force the wear of an intaglio plate (B050 or B054), in percent of its life |
| changePlate | {"station":"B050"} | Order a plate change: 720 s maintenance under dual control, then a fresh plate |
| setClimate | {"rh":62,"tempC":23,"durationMin":10} | Demo: force a hall climate excursion (all three fields optional) |
| degradeStation / recoverStation | {"station":"B050","rate":0.2} | Demo: force / reset a defect rate |
| injectBadLot | {"station":"B030"} | Demo: the next container issued to that press carries a latent defect — it is issued at once, staged, and takes effect when it is mounted (the running container must run out first) |
| materialSetup | {"station":"B020", …box} | Operator lot change — on this line it becomes an issue request to the secure store (stock never appears from nowhere) |
| delaySupply | {"materialType":"security_paper","minutes":60} | Demo: add wall-clock minutes (1–1440) to the inbound delivery of that material; if none is inbound, the delay is armed for its next order. Both fields optional (defaults shown) |
| shortReceipt | {"materialType":"security_paper","missing":1} | Demo: the next count-in of that material finds missing (integer 1–100) reams (paper) or containers (others) short → receipt variance, held, booked as counted. Both fields optional (defaults shown) |
| overConsume | {"materialType":"ovi_ink","pct":15,"durationMin":30} | Demo: the press draws pct % more (1–100) for durationMin plant-minutes (1–240) → usage variance out of band after about 5–10 loads. materialType is ovi_ink or foil_roll; the other two fields are optional (defaults shown) |
| setStore | {"line":"banknote","materialType":"intaglio_ink","boxes":0} | Security hold: stock above boxes containers is held (counted, not issuable); raising boxes lifts holds, and the next count-in of the material lifts them all. Never creates or destroys stock; omit materialType for every material |
Payloads are validated: numbers must be real JSON numbers; a rejected command answers
{command, success:false, error:{code, message}} with code
OUT_OF_RANGE, BAD_FIELD, BAD_PAYLOAD or BAD_MATERIAL.
delaySupply and shortReceipt answer applied:"inbound" (with the
deliveryId) or applied:"armed"; overConsume answers
applied:"active".
Commands are subscribed ~30 s after line boot — clients should not send commands during that window (they are lost, by design there is no retained queue).
The broker's archive group persists banknote/# (together with the
mes/# plant namespace) into PostgreSQL: defaultarchive
(30-day time series) and defaultlastval (last value per topic, 7-day
retention). The dashboard exposes the line read-only:
| Endpoint | Serves |
|---|---|
| /api/status/banknote | Live per-station state incl. load serials |
| /api/banknote/status | The whole mes/banknote/state message: loads, sheets, notes, stations, ledgers, climate, plates, drying store, finishing |
| /api/banknote/works | Slow detail: ledgers, climate with history, plates with change history, last packs and containers, shipments |
| /api/banknote/trace/<note-serial> | One note → pack, container, shipment, load tickets |
| /api/line-summary/banknote | OEE, sheet yield, WIP, goodNotes, bottleneck — quantities in sheets |
| /api/stats/* ?line=banknote | Production, OEE trend, stations, Pareto, cycle times |
| /api/stoppages?line=banknote · /api/gantt?line=banknote | Fault events · state timeline |
| /api/report/<BNK-serial> · /api/line-serials/banknote | Full genealogy of a load · load browser with units and unitsSpoiled |
| /api/banknote/supply | The full secure-supply snapshot (banknote/line/supply) with available, updated_at, and recent rebuilt from the archive since since: up to 20 receipts, 30 issues, 10 certificates, 20 deliveries (recentSource: archive or snapshot). {available:false, reason} when nothing was published yet |
| /api/banknote/custody/<id> | Custody timeline of one pallet, ream, ream range, container, lot, issue, delivery, receipt or certificate over 7 days: kind, found, current, consumption[], events[], links.lotTrace. HTTP 400 on an unknown id format |
| /api/material/status · /api/material/history · /api/material/lot/<lot> | Live lots, stores and strongroom · mount history · every load that ran on a supplier lot |
| /api/banknote/agv | AGV-D telemetry (state, battery, mission, trips) |
| /api/banknote/start · /api/banknote/stop · /api/control | Command bridge (POST → MQTT) |