# KanoaMES v1.16

Release Date - 11/16/26

<Tabs queryString="tab">
<TabItem value="changes" label="Changes" default>

## Summary

Version 1.16 adds `tooling` to Kanoa Ops, records `speed loss` in real time, and is the [fastest Kanoa MES yet!](?tab=stress-testing)
Counts are now written in batches, and live OEE tags replace the old tag timers and scripts, freeing up the available tag threads for you.

Altogether, 1.16 closes 334 tickets, giving 174 fixes, 70 new features, 130 changes, 17 removals and 14 security fixes. See
the [changelog](#1160---111626) for the full list.

***

### Highlights

- **<a href="/kanoa-ops/tooling/" target="_blank" rel="noopener noreferrer">Tooling</a>:** molds, dies, fixtures, gauges and other tools are now assets, with positions, cycle rates, mounting from
  the Operator Station or the PLC, tool life limits and alerts, required tooling for an item, and tool reservations on the
  schedule.
- **<a href="/kanoa-ops/speed-loss" target="_blank" rel="noopener noreferrer">Real-time speed loss</a>:** an automatic performance event opens while a machine runs below its standard rate, and
  operators set its reason from a new speed loss card.
- **<a href="/kanoa-ops/asset-operation#the-info-panel" target="_blank" rel="noopener noreferrer">Operator Station info panel</a>:** cards for production, state, speed loss, tooling and notifications, each opening its
  popup.
- **<a href="/configuration/kanoa-tags#the-kanoames-tag-provider" target="_blank" rel="noopener noreferrer">Live OEE tags</a>:** every OEE asset has `OEE/Status`, `OEE/Current Run`, `OEE/Current Shift` and `OEE/Thresholds` tags in
  the `kanoaMES` tag provider, updated as counts are recorded. Run Control, Asset Overview and the dashboard widgets now
  read them.
- **<a href="/kanoa-ops-analysis/reliabilityKPI" target="_blank" rel="noopener noreferrer">Loss Analysis</a>:** the Reliability KPIs screen is redesigned to show where each asset's time went and what each loss
  cost, with a drill-down by loss, asset and reason.
- **<a href="/kanoa-quality/checkSheets#trigger-types" target="_blank" rel="noopener noreferrer">Kanoa Quality</a>:** State Change, General Count, Infeed, Outfeed and Waste Count triggers, a From Mode option on Mode
  Change triggers, a new SPC rule engine shared by the trend chart and `spcCheck()`, and a long list of fixes.
- **<a href="/kanoa-trace/lot-management#executing-lot-operations" target="_blank" rel="noopener noreferrer">Lot Manager</a>:** lot operations are added and edited in a popup, the Lot Editor corrects a lot's quantity and location,
  and a lot's trace can be saved as a route.

***

### Notable Mentions

- **No Embr Charts needed:** all Kanoa MES charts use the new Kanoa ApexChart component, which has the same properties and
  events as Embr's. You can uninstall the Embr Charts module after updating unless you have custom views using it.
- **Timers on the gateway:** Kanoa's tag timers are now gateway timers, run on the active gateway only, and can be turned
  off or given another interval on the new **Timers** tab of the Kanoa gateway config page.
- **Production orders:** a Start Date, an Asset dropdown, and a date range filter on Run Control's **Orders** tab.
- **Scheduling:** operations fit into the line's free time up to 4 weeks ahead, and a Fixed operation pushes the blocks in
  its way later instead of shortening them.
- **Translations:** almost all of the text used throughout the Kanoa application is translated into 33 languages
  besides English. See [Translations](#translations) below.
- **Clearer messages:** consistent toast notifications, and plain-language reasons in place of raw SQL Server errors.
- **Moving setups between gateways:** export and import for tools and maintenance work order templates, and much more
  reliable asset, dashboard and quality imports.
- **Security:** SQL injection risks are fixed across the `system.kanoa` functions, passwords are no longer logged,
  `operateAssets` now applies per asset, and security changes need `configureSecurity`.

***

### Performance

1.16 does more with less. On the same laptop running both the Ignition gateway and SQL Server, 1.16 handled twice the
production lines that 1.15.12 could:

- **1,000 lines counting every 10 seconds:** 10,084 counts a minute on 1.66 logical processors, where 1.15.12 managed
  5,191 counts on 2.48.
- **76% fewer database queries** at 500 lines, with database CPU down 71%, because counts are written together every 30
  seconds instead of one write per count.
- **Faster screens on long histories:** production by shift is 7× faster (74 ms against 508 ms) and the This Week summary
  2.6× (63 ms against 166 ms). With 20 operator screens open, gateway CPU is down a third and peak threads by two thirds.
- **Fewer queries for the same work:** linking states and modes to many assets, checking the Quality schedule and checking
  counter and run-hours work order conditions all use far fewer database reads.

See the [Stress Testing](?tab=stress-testing) tab for the full results.

***

### Before You Upgrade

:::warning Changes that can break custom implementations
1.16 changes how counts, tags and timers work, and changes or removes some `system.kanoa` functions, tags and views.
Check any custom scripts, queries, views or UDTs that use these:

- **Counts in the database:** Line tag counts are written to the database every 30 seconds, not as they happen. Custom
  queries or reports that read counter events directly and expect each count to be there at once need checking. Screens and the OEE tags still show each count at once.
- **Performance events:** a speed loss event has no end date while it's active. Custom queries on
  `mes.performanceEvent` should treat an empty `endDate` as "still going", or read `mes.vwPerformanceEvent`.
- **Tag timers:** `shiftEventTimer`, `checkAssetScheduleTimer`, `updateAssetShiftTimer`, `updateAssetOEETimer`,
  `getActiveOrdersTimer`, `getAssetShiftOEETimer`, `qdsIntervalTimer`, `qdsRecurringTimer`, `qdsScheduleChecks` and
  `checkCMMSSchedule` are removed on upgrade and run on the gateway instead. **Configuration > Application > Timers** is
  gone. `checkAssetSchedule()` now runs every minute on every site, including sites that had turned that timer off.
- **assetOEE UDT:** the `OEE` folder is deprecated in favor of the `kanoaMES` OEE tags. The `oeeThresholds/update`,
  `Configuration/refresh` and `Configuration/initializeTags` tags are removed, and the counter ids and `userId` are memory
  tags that Kanoa sets. A site with its own copy of the UDT using expression counter ids should switch to
  `Kanoa/assetOEE`.
- **State changes:** the state buttons and the `Inputs/State` tag no longer write the Line state tags themselves, and the
  custom `stateChange` hook now receives the new state as `stateInfo`.
- **Removed functions:** 18 `system.kanoa` functions are removed. See [Removed Functions](#removed-functions) below for
  the list and what to use instead.
- **Changed return values:** some `system.kanoa` functions return something different. See
  [Changed Return Values](#changed-return-values) below for what they returned before and what they return now.
- **Changed behavior:** `system.kanoa.asset.getAssets()` leaves out tools unless asked and, in Perspective, always
  filters by the logged-in user. The `system.kanoa.measures` event functions return at most 500 rows without a full time
  range. `system.kanoa.operators` functions need an Ops license.
- **Files and images:** `system.kanoa.file.deleteFile()` and the image functions only work in Kanoa's temporary folder or
  `C:\kanoaImages`, and images are limited to 32 MB.
- **Permissions:** operators need `operateAssets` on the asset itself or one above it, not just any asset. The
  `system.kanoa.security` functions that change users, roles and config need a gateway admin or `configureSecurity` when
  called from Perspective.
- **Check sheet ids:** a check sheet's `masterChkShtId` moves to each newly released version. Views and dashboards
  should store `chkShtVersionGroupId`, which never changes.
- **Libraries and modules:** the module no longer installs the `python-dateutil` and `six` Python libraries. Custom views
  that use Embr Charts need that module kept or switched to the Kanoa ApexChart component.
- **Translation languages:** on its first start, 1.16 keeps English, Spanish and Chinese and removes every other
  installed language, unless the site has added its own translations to it; those languages are kept. This is the
  same on Ignition 8.1 and 8.3. Add back the languages your users need under **Kanoa > Settings > Languages**.
- **Logging:** the `kanoa/debug` tags are no longer read. Set the logger's level in the gateway instead.
- **Reserved states:** a reserved state, such as Running, Idle or the new Unknown State, keeps its name and state type.
  `system.kanoa.asset.updateState()` returns `(None, message)` for a new name or type, and the State Editor makes both
  read-only. A site that renamed a reserved state can't rename it again from Kanoa; use translations to show it under
  another name.
- **Unknown state codes:** a state code with no state linked on the asset is now linked to **Unknown State** and counted
  as unplanned downtime, including codes already recorded, which are linked on upgrade. OEE, availability and downtime
  for periods with unlinked codes can change. An asset can now have several non-selectable links to Unknown State, so
  custom queries that expect one state link per asset and state should be checked.
- **Removed views:** the old tree selector `breadcrumb` and `labelSection` views, `kanoa/OeeComparision`,
  `checkNameSelector`, `uploadDocument`, `timezoneSelector` and `kanoa/core/docks/dockRHS`. The options dock is no
  longer in the `kanoaTablet` and `kanoaMobile` page configs. Tree selector breadcrumbs now use backslashes
  (`Site\Area\Line`).

Every breaking change is marked **Breaking** in the [changelog](#1160---111626) below.
:::

***

### Removed Functions

Scripts that call any of these functions will fail after the upgrade.

| Function | Use instead |
| --- | --- |
| `system.kanoa.shift.addShiftEvent()` | `system.kanoa.shift.updateShiftEvents()` |
| `system.kanoa.shift.deleteShiftEvents()` | `system.kanoa.shift.updateShiftEvents()` |
| `system.kanoa.shift.getClosestAncestor()` | `system.kanoa.shift.updateShiftEvents()` |
| `system.kanoa.schedule.adjustExistingEvents()` | None |
| `system.kanoa.schedule.adjustScheduleEvents()` | None |
| `system.kanoa.schedule.getExistingEventAdjustedTimes()` | None |
| `system.kanoa.schedule.getEventScheduleAdjustedTimes()` | None |
| `system.kanoa.schedule.checkEventsOverlap()` | None |
| `system.kanoa.quality.spc.rule1()` to `rule8()` (8 functions) | `system.kanoa.quality.spc.spcCheck()` with the `nelson` rule set, reading its `violations` and `violationPoints` |
| `system.kanoa.quality.event.updateChkEventDataTag()` | None needed: adding, updating or deleting a check refreshes the scheduled checks tag |
| `system.kanoa.utilities.printDataset()` | None |

`system.kanoa.event.getDowntimeDataForReliability()` and `getProductionEventsForReliability()` still work but are
deprecated. Use `getReliabilityData()` and `getReliabilityEvents()`.

***

### Changed Return Values

Scripts that unpack or check the result of these functions may need changing.

| Function | Before 1.16 | 1.16 |
| --- | --- | --- |
| `system.kanoa.event.assetOperationChange()` | Without an Ops license: the string `'Kanoa Ops License Expired'` | `(None, message)` |
| `system.kanoa.event.addModeEvent()` and `updateModeEvent()` | — | Without an Ops license: `(None, 'Kanoa Ops License Expired')` |
| `system.kanoa.event.addCounterEvent()` | Depended on the call: the string `'Kanoa Ops License Expired'` without an Ops license, `None` without a `counterId`, or `(False, message)` without a `deltaValue` or `tStamp`, or on a database error | Always `(counterEventId, None)` or `(None, message)` |
| `system.kanoa.asset.addAsset()` | — | `(assetId, None)` or `(None, message)` |
| `system.kanoa.asset.addCounter()` | — | Without an Ops license: `None` |
| `system.kanoa.asset.updateState()` | Always `0` | The number of rows updated |
| `system.kanoa.asset.unlinkAssetState()` | — | `(rows, 'Deleted')` or `(rows, 'Disabled')` |
| `system.kanoa.asset.getParentAsset()` | For a blank path: `None` | For a blank path: an empty result |
| `system.kanoa.cmms.deleteProcedureStep()`, `deleteProcedureStepCheck()`, `setProcedureStepSortOrder()` and `setProcedureStepCheckSortOrder()` | A success or error dictionary | `(result, message)` |
| `system.kanoa.cmms.checkWorkOrderSchedule()` | Without a CMMS license: a message | Without a CMMS license: raises an error |
| `system.kanoa.quality.schedule.updateScheduledAutoChecks()` | The sum of the saved ids | The values saved |
| `system.kanoa.quality.schedule.getSecondsSinceLastCheck()` | `lastScheduledDate` wasn't a date in every scope | `lastScheduledDate` is a date in every scope |

***

## Implementation Guidance

:::info
The database changes (tooling tables, performance event columns, seeded tooling types and reasons, the reserved Adjust lot
operation) and the new UDT tags are
applied by the module on startup. Performance events can now have no end date while a speed loss is active: custom queries
on `mes.performanceEvent` should treat an empty `endDate` as "still going", or read `mes.vwPerformanceEvent`, which does.
:::

### Upgrade Steps

1. **Back up the database.** Take a full backup of the Kanoa MES database in SQL Server, and a gateway backup from
   **Config > Backup/Restore**, so you can roll back if needed.
2. **Check your customizations.** Read [Before You Upgrade](#before-you-upgrade) and update any custom scripts, queries,
   views or UDTs it affects.
3. **Install Kanoa MES 1.16.** In the gateway, go to **Config > Modules** and install the module for your Ignition
   version, listed below. The module applies its database changes and new tags when it starts. See
   [Install Modules](../getting-started/installation/install-modules.md).
4. **Uninstall the BIJC Calendar and Embr Charts modules.** Kanoa MES now has its own calendar and chart components, and
   the gateway logs a warning at startup while BIJC Calendar, Embr Charts or Kyvis ApexCharts is installed. Remove them
   from **Config > Modules**, and deactivate the BIJC license. Keep a module only if your own views still use it.
5. **Choose your languages.** The upgrade leaves English, Spanish, Chinese and any language with the site's own
   translations. Tick only the languages your users need in **Kanoa > Settings > Languages** and click
   **Save Languages**. See [Translations](#translations) for why fewer is better.

### Translations

Kanoa's translations cover almost all of the text used throughout the Kanoa application, in 33 languages besides
English.

:::caution Translations generated with AI
Kanoa's translations were generated with AI, so a translation may not be exact or natural in every context. Check the
languages your users need, and change any term for your site in Ignition's Translation Manager (below).
:::

- **Your own translations:** use Ignition's Translation Manager (in the Designer) to change how Kanoa's text is
  translated, translate your own text such as asset and reason names, or add a language Kanoa doesn't carry.
- **Module updates:** your own terms (text Kanoa has no translation for) are always kept. A change to one of Kanoa's
  translations lasts until Kanoa installs that language again: an update that changes the language's translations puts
  back Kanoa's text, so re-apply your changes after updating.
- **Ticking and unticking languages** (**Kanoa > Settings > Languages**): unticking a language removes all of Kanoa's
  terms in it, including ones you changed, and keeps your own terms; the language is then no longer offered in the
  **Options** menu. Ticking it again installs Kanoa's translations. A language you added yourself is always offered and
  never changed by Kanoa.
- **Install only the languages your users need.** Every installed language adds to the work of starting each Perspective
  session, which loads the translations of every installed language. The cost is largest on Ignition 8.1 (below).

See [Language Support](../configuration/language-support.md) for details.

### Ignition 8.1 Version
**The minimum required version of Ignition is 8.1.33**

This release package has been tested against Ignition 8.1.54.

* KanoaMES_81_1.16.0.modl

:::caution Many screens starting at once on Ignition 8.1
On Ignition 8.1, each new Perspective session loads the gateway's whole translation package, every term of every
installed language, from the gateway's internal database, which allows one connection at a time. 1.16 translates more
of the app, so the package is larger, and when many sessions start together, such as stations reconnecting after a
gateway restart, the internal database can be busy for 30 seconds or more. Screens then take longer to open, and the
gateway can log errors while it's busy. This happens whatever language a session uses.

Production data isn't affected: counts, states and OEE keep being recorded.

To keep the package small, 1.16 installs only English, Spanish and Chinese. On upgrade it removes the other languages,
except any the site has added its own translations to. Add back only the languages your users need in
**Kanoa > Settings > Languages**. If a site needs many languages, upgrade to Ignition 8.3, which doesn't read
translations from the internal database.
:::

### Ignition 8.3 Version
**The minimum required version of Ignition is 8.3.3**

This release package has been tested against Ignition 8.3.8.

* KanoaMES_83_1.16.0.modl

***

### 1.16.0 - 11/16/26

#### Added

* **Platform:** Added the Kanoa ApexChart component. It has the same properties and events as Embr's ApexChart, so existing chart options, formatters and event scripts keep working.
* **Platform:** Added a **Timers** tab to the Kanoa gateway config page (**Kanoa > Settings**), where gateway admins can switch off any Kanoa gateway timer or change its interval. Both settings are kept after a restart, and `system.kanoa.config.getJobs()` lists the timers with their interval and status.
* **Platform:** Added a `reverseHorizontal` option to the Node Chart component.
* **Platform:** Added a `kanoa/required` style class to the Kanoa theme, which adds a red asterisk after a label.
* **Platform:** Added `followValue`, `msgHandler` and `excludeMobile` options to the asset selector's `value` parameter, to drive the selection from `assetPath`, send a page message on each pick, and hide transports.
* **Platform:** Added a **Languages** tab to the Kanoa gateway config page (**Kanoa > Settings**), where gateway admins choose which translation languages are installed. Saving installs the ticked languages and removes Kanoa's translations for the others straight away; translations a site has added are never removed. English is always installed. English, Spanish and Chinese are installed by default, on Ignition 8.1 and 8.3 alike. On Ignition 8.1 the tab explains why to install only the languages users need, and the header's **Options** menu says more languages can be added from the gateway.
* **Platform:** Added Polish to the languages Kanoa carries, and `system.kanoa.utilities.getLanguages()`, which lists the languages installed on the gateway with each one's own and English name.
* **Ops:** Added tooling. Molds, dies, fixtures, gauges and other tools are now assets, managed in **Configuration > Ops > Tooling**, with positions, cycle rates, mounting from the Operator Station or the machine's tags, and tool life tracking.
* **Ops:** Added cycle rates for a machine and tool, and item rates for a specific tool. A run's standard rate now comes from the mounted tool when there is one.
* **Ops:** Added the `system.kanoa.tooling` functions to create tools, define positions, mount and unmount tools, manage cycle rates, and track and reset tool life counters.
* **Ops:** Added **Export** and **Import** to the tooling list, and `system.kanoa.tooling.exportTools()` and `importTools()`. A tool's setup (details, limits, positions, cycle rates and the tooling types it uses) moves between gateways by path, with a preview before anything is saved.
* **Ops:** A machine's `Tooling/Inputs/Cycle Count` now drives its outfeed: each cycle gives the running item its parts per cycle. A family tool's other items are recorded as co-products, production of those items that isn't counted in the run, its OEE or its work order, and Run Review lists them under **Co-products**. Rejects on the asset's Waste Count come off the outfeed. Added `system.kanoa.tooling.recordProduction()` and `recordReject()`, an `isCoProduct` option to `system.kanoa.event.addCounterEvent()`, `updateCounterEvent()`, `getCounterEvents()` and `getCounterEventTotals()`, a **Co-product** checkbox in the count editor, and a Cycle Count input and **Cycle Increment Ideal** setting to the asset simulator.
* **Ops:** Added real-time speed loss. An automatic performance event opens while an OEE machine runs below 95% of its standard rate for 5 minutes, and the Operator Station's info panel shows a speed loss card to set the reason.
* **Ops:** Each OEE asset now has live OEE tags in the `kanoaMES` tag provider, at its asset path: `OEE/Status`, `OEE/Current Run` and `OEE/Current Shift`. Counts update as they're recorded, and there are counts by item (`itemCounts`) and the speed-loss tags `belowStandard`, `actualRate`, `actualRatePct`, `performanceEventId`, `performanceReason` and `performanceReasonColor`. The tags follow an asset that's renamed, moved, turned off or deleted. Added `system.kanoa.event.refreshOEETags()`.
* **Ops:** Redesigned the Operator Station info panel as cards: **Production** (mode, product and order; opens Run Control), **State** (opens a new Set State tree), **Speed loss** (opens Set Speed Loss, now a tree of reasons), **Tooling** (installed tool and its life; opens a new Tooling popup with the mount panel and, for Configure Assets, the tool's editor) and **Notifications** (a summary; opens the notifications list). Each section is shaded, cards you can act on highlight on hover, and a card opens its popup only for users with its security function.
* **Ops:** Added an **Operators** card to the Operator Station info panel. It shows who is logged in on the asset, turns green while anyone is, and opens the asset's Operator Login screen.
* **Ops:** The Operator Station info panel can now be collapsed to a strip of its cards' status icons, giving the dashboard more room. Resting the pointer on the strip expands it, and the choice is remembered for the session.
* **Ops:** The asset info panel reads the `kanoaMES` OEE tags, with **Current Run** and **Current Shift** tabs (the shift and its times in the asset's time zone), an **Output** box with outfeed, rate and waste by item and a link to the count editor, and a **KPIs** box with OEE.
* **Ops:** Added `system.kanoa.event.checkSpeedLoss()` and `system.kanoa.event.setPerformanceReason()`.
* **Ops:** Added `system.kanoa.event.getReliabilityData()` and `getReliabilityEvents()`: the Loss Analysis figures and events for every OEE asset under a path, in a few queries.
* **Ops:** The Event Notifications widget now lists tools that are due for maintenance or over a limit. Clicking one opens that machine's tooling mount panel.
* **Ops:** Importing an asset now links it to its default screen dashboard when that dashboard already exists.
* **Ops:** Added an hour cycle setting (locale, 12-hour or 24-hour) and optional resource icons to the Calendar component.
* **Ops:** Each tool now has a status (Available, Mounted, Due for PM, refurbishment or calibration, Over limit, In repair, Damaged or Retired). The gateway checks tool limits every hour, and a tool that's In repair, Damaged or Retired can't be mounted.
* **Ops:** Added nine tooling asset types under a new **Tooling** asset type (Mold, Mold Insert, Die, Jig, Fixture, Gauge, Cutting Tool, Change Part and Tool), each with defaults for new tools. A **Tooling** section in the asset type editor makes any asset type a tooling type.
* **Ops:** Added a **Fits On** tab to the tool editor, and `system.kanoa.tooling.getCompatibilityRules()`, `saveCompatibilityRule()` and `deleteCompatibilityRule()`, to set which machines, mold base pockets or asset types a tool can be mounted on.
* **Ops:** Mounting a tool that's over a limit now asks for confirmation. A site can add its own mount check, which can refuse or warn about a mount, with the `toolingValidationProject` and `toolingValidationFunction` settings; `system.kanoa.tooling.mount()` takes `acceptWarnings`.
* **Ops:** Added required tooling for an item on a machine, set on a new **Required Tooling** tab in Item Manager. Run Control warns before a run starts without it, and scheduled operations reserve their tools, with the scheduler flagging double bookings and tools that don't fit, are in repair or are due.
* **Ops:** Added a **Tooling** section to the schedule event editor and tool lists with a warning icon on the Operations calendar. Added the `toolingConflictMode` setting (warn or block) and a `toolPicks` parameter to `system.kanoa.schedule.scheduleOperation()`, `addScheduleBlock()` and `updateScheduleBlock()`.
* **Ops:** Added a **Tooling** item to the asset operation navigation (off by default), a **Uses tooling** checkbox and **Tools** filter in the asset tree editor, and a **Delete** button on the tooling list that deletes an unused tool or retires one with history.
* **Ops:** Added a standard set of speed loss reasons in seven classes (Equipment, Material, Process, Line Flow, People, Utilities and Tooling). They're added on upgrade only when no reasons of your own are set up, and new assets get them unless an asset above them already has them.
* **Ops:** Added the OEE KPI dashboard widget, which shows one live OEE value for an asset, such as OEE, availability, a count, a rate or downtime. An optional target colors it green, yellow or red.
* **Ops:** Added the **Asset Chart** dashboard widget, which takes its asset and date range from the dashboard selectors.
* **Ops:** Added the **Asset Run Analysis** operator dashboard, which shows the production chart for the station's asset; new installs and new OEE assets get it as their operator station dashboard when none is set. The Production Counts widget now fills its tile, with `showDateRange`, `showOptions`, `showAssetName` and `uncodedScrapPercent` settings.
* **Ops:** The production chart now adds a timeline of the schedule, what ran, downtime, speed loss and the tools mounted (one bar per tool for its time on the machine), and an events plot with rows for quality checks, maintenance work orders, SPC alerts from the asset's measures and scrap (including hours with significant uncoded waste). Hovering shows what was running, with times in the device's time zone, and the chart refreshes itself while its range includes now.
* **Ops:** Each section of the production chart's summary panel now opens where you can act on it for the chart's asset and range: the downtime table, the speed loss events, quality checks or work orders, the SPC analysis, or the new Scrap editor from **Scrap Reasons**.
* **Ops:** The production chart's summary panel lists each run in Production as its own section, with its work order and item, its time and its dates, in place of the separate Counts and Items sections. Hovering a run shows its target, infeed, outfeed and waste, target rate and actual rate, and shades its time on the chart; clicking it opens the count editor for that run's part of the range, so its counts match.
* **Ops:** Drag across the production chart, on the Production page or in the Production Counts widget, to look at that time: the date selector switches to Custom with the dragged range, and the chart, events and counts reload for it. A **Zoom out** icon beside the period arrows goes back a step at a time.
* **Ops:** Added a **Scrap** editor, opened from the production chart's **Scrap Reasons**. It lists the range's waste counts grouped by 15 minutes (or by entry, hour or run) with their reason, item and work order, and a row for each run whose waste has no waste counts (worked out from its infeed and outfeed). Select rows to set or clear their reason: by default each group's counts are combined into one count for their total at the group's last count, and a run's uncoded waste is added in full inside the run, so totals and times stay where they were. A wrong waste count can be deleted. Not logged in, it is read only.
* **Ops:** Added `system.kanoa.schedule.endScheduledEvent()`, which ends an asset's scheduled event early without changing the schedule.
* **Ops:** The asset info panel shows a calendar icon when an operator started a scheduled event, and the "set by the schedule" tooltip names the event.
* **Ops:** Added a **Start Date** to production orders, set in the Production Order Editor and its bulk edit, and shown in the Production Orders table and on Run Control's order cards. Run Control's **Orders** tab filters by a date range on the due or start date, and `system.kanoa.order.getProductionOrders()` takes `dateField`, while `addProductionOrder()` and `updateProductionOrder()` accept `startDate`.
* **Ops:** Added an **Asset** selector to the production order editor, enabled once an item is picked and listing only the assets that can run it. An asset that can't run the order's item is kept on save and flagged with a warning icon. Bulk edit can set the asset on several orders at once.
* **Ops:** Added a description to asset types, set in the asset type editor and returned by `system.kanoa.asset.getAssetTypes()` and `system.kanoa.tooling.getToolTypes()`. The nine standard tooling types come with one, shown under **Tooling type** in the tool editor.
* **Ops:** Each OEE asset also has an `OEE/info` tag in the `kanoaMES` tag provider, holding its `Status`, `Current Run`, `Current Shift` and `Thresholds` values in one document so a screen can bind to them all at once.
* **Ops:** Each OEE asset's `kanoaMES` OEE tags now include `OEE/Thresholds`, its OEE, availability, performance and quality targets, updated as soon as the asset's or a parent's thresholds change.
* **Ops:** Added an **Enable Real-time speed loss** setting to the OEE section of the asset tree editor. It's on by default and inherited; turned off, no speed loss events open and the info panel shows no speed loss card.
* **Ops:** Set Speed Loss has a **Clear reason** button that returns a speed loss to *Unassigned*, and `system.kanoa.event.setPerformanceReason()` clears the reason when `performanceStateId` is `None`.
* **Ops:** Added the `setWorkOrderInProgress` setting. Set it to 0 to stop a run from setting its production order to In Progress.
* **Ops:** Added a **Go** button to the OEE screen, which loads the charts for the selected asset.
* **Ops:** `system.kanoa.schedule.rruleToDates()` takes an optional `timeZone`.
* **Ops:** Added `replaceOutputTool` and `validateOnly` to `system.kanoa.tooling.mount()`. `replaceOutputTool` swaps the machine's current tool for the new one in one step, and `validateOnly` checks a mount without doing it.
* **Ops:** Added asset cards to Asset Operation: when the selected asset is a site, area or line that isn't OEE-enabled, it shows a card for each asset under it, with its mode, state and running order, to step down to a machine. kanoaTablet's start page uses the same cards.
* **Quality:** Added a Type filter to the check table, showing only checks for sheets of the selected check sheet type and its sub-types.
* **Quality:** Quality checks now record the tool that was mounted on the machine when they were taken, and `system.kanoa.quality.event.getChkShtEvents()` can filter by tool.
* **Quality:** Added a strict range option to tolerance specifications, which rejects values outside the range instead of only marking them as failed.
* **Quality:** Added a tag data source for check items that doesn't need a quality attribute.
* **Quality:** Added the ability to copy an entire check group.
* **Quality:** Added default units, including symbols such as ° and µ.
* **Quality:** Added a State Change check sheet trigger, which creates a check once an asset has been in one of the chosen states for a minimum time.
* **Quality:** Added a General Count check sheet trigger, which creates a check every N counts of a general counter chosen by name.
* **Quality:** Mode Change check sheet triggers can now also match the mode the asset is changing from.
* **Quality:** `system.kanoa.quality.config.addChkShtTrigger()` and `system.kanoa.quality.config.updateChkShtTrigger()` now accept `fromModeId`, `stateIds`, `minStateMins` and `counterName`.
* **Maintenance:** Work orders can now be raised against tools.
* **Maintenance:** Added a **Tool Life** work order condition, which creates a maintenance work order when a tool's PM, refurbishment or calibration limit reaches its warning level. Completing the work order resets that counter.
* **Maintenance:** Added `system.kanoa.cmms.exportWorkOrderTemplates()` and `importWorkOrderTemplates()` to move maintenance work order templates between gateways, with a dry-run preview.
* **Trace:** Added the **Add Lot Operation** popup to Lot Manager, opened with **+** above the lot table or with **Edit** on an operation in the trace.
* **Trace:** The Lot Editor now shows the lot's stock. Changing the quantity records an **Adjust** lot operation, and changing the location records a **Transfer**.
* **Quality:** `system.kanoa.quality.spc.spcCheck()` now returns `violationPoints`: every point in each rule's violating runs, for highlighting them on a chart.
* **Quality:** `system.kanoa.quality.spc.spcCheck()` accepts optional `ucl`, `lcl` and `center` to check values against given control limits. Added `system.kanoa.quality.spc.getRuleInfo()`, which returns each SPC violation's label and description.
* **Trace:** Added the **Adjust** lot operation. It's reserved: it can be recolored, but not deleted, renamed, disabled or have its input and output settings changed.
* **Trace:** Added **Save as Route** to the trace graph and `system.kanoa.lot.createRouteFromLot()`, which save a lot's trace as a new route with one step per lot operation. Only traces without merges or splits can be saved.
* **Trace:** Double-clicking a lot operation in the trace graph now shows every input and output lot of that operation, and a back arrow returns to the lot's trace.
* **Trace:** Added a trace graph toolbar button that flips the trace to read right to left. Lot Manager remembers the direction while switching tabs and lots.

#### Changed

* **Platform:** **Breaking:** Kanoa now installs only English, Spanish and Chinese by default, on Ignition 8.1 and 8.3, and the first start of 1.16 removes the other installed languages unless the site has added its own translations to them, which keeps them. Add back the languages you need in **Kanoa > Settings > Languages**.
* **Ops:** The Reliability KPIs screen is redesigned and renamed **Loss Analysis**: where every OEE asset's time went and what each loss cost, in minutes, with a drill-down by loss, asset and reason, and an events table you can export. Speed loss shows by performance reason and quality loss by scrap reason. The Asset Group filter and the Breakdown, Process Failure and Setups & Adjustments buckets are gone, and the Part Required tag no longer feeds it.
* **Ops:** `system.kanoa.event.getDowntimeDataForReliability()` and `getProductionEventsForReliability()` are deprecated; use `getReliabilityData()` and `getReliabilityEvents()`.
* **Quality:** `system.kanoa.quality.sheet.getSheetsFilteredBy()` returns `chkShtVersionGroupId` as its last column and filters by it, and `getSheetsByAsset()` filters by it. A check sheet's `masterChkShtId` moves to each newly released version, so views and dashboards should store `chkShtVersionGroupId`, which never changes.
* **Platform:** Success, error, warning and info messages across the app now use the new Kanoa toast notifications, with fewer duplicate toasts and consistent wording.
* **Ops:** The assetOEE `Line/OEE` tags are now written every minute by the gateway instead of the `updateAssetOEETimer` tag timer, which is removed on upgrade.
* **Ops:** The assetOEE UDT's `OEE` folder is deprecated, replaced by the asset's OEE tags in the `kanoaMES` tag provider. It's still written, so existing screens and scripts keep working, but it gets no new tags.
* **Platform:** `system.kanoa.toast.show()` and `update()` now shows nothing for an empty message instead of raising an error, converts non-text messages to text, and shortens messages over 1000 characters.
* **Platform:** Most `system.kanoa` functions now run natively in Java, including the `asset`, `attribute`, `cmms`, `dashboard`, `date`, `event`, `file`, `inventory`, `item`, `logger`, `lot`, `measures`, `operators`, `order`, `performanceState`, `quality`, `schedule`, `security`, `serial`, `shift` and `utilities` functions. Calls from the Designer and Vision run on the gateway, so functions such as `system.kanoa.shift.updateShiftEvents()` now work from the Script Console.
* **Platform:** Updated translations for all 34 supported languages, covering every text label on Kanoa MES screens and adding improved manufacturing terms. Clearer words for Marquee in several languages, Mode in Hebrew and Item in Turkish.
* **Platform:** Table column titles, footers, filter text, result counts and no-data messages are now translated by Ignition's own table translation instead of a binding on each column title.
* **Platform:** The header's options icon now opens an **Options** menu with the theme and the installed languages, in place of the right-hand options dock. Dashboard and folder names, chart titles and labels, status tabs and more tooltips are now translated.
* **Platform:** Kanoa's tag timers (`shiftEventTimer`, `checkAssetScheduleTimer`, `updateAssetShiftTimer`, `qdsIntervalTimer`, `qdsRecurringTimer`, `qdsScheduleChecks` and `checkCMMSSchedule`) now run as gateway timers, on the active gateway only, and are removed on upgrade. The Quality and Maintenance timers pause while their solution isn't licensed or is turned off.
* **Platform:** All Kanoa MES charts now use the Kanoa ApexChart component, so the Embr Charts module is no longer needed. The gateway logs a warning at startup if Embr Charts, Kyvis ApexCharts or BIJC Calendar is installed.
* **Platform:** Kanoa functions and scripts now log at trace and debug levels instead of checking the `kanoa/debug` tags. To turn on logging, set the logger's level in the gateway, for example `kanoaScripts` or `kanoa_quality`.
* **Platform:** The tree selector has a new look, with a search box and **Expand All**, **Collapse All** and **Clear** buttons, and keeps its selection and open folders when it refreshes. Its breadcrumb paths now use backslashes (`Site\Area\Line`), so names containing `/` are no longer split.
* **Platform:** The tag selector, used for check item data source tags and Quality and Ops attribute tags, now opens on the current tag, reads only the folders you open and filters by name as you type. It leaves out empty folders, UDT definitions and the assets' own OEE Line tags.
* **Platform:** Only gateway admins can change settings on the Kanoa gateway config page. Other users see the controls disabled.
* **Platform:** The **Add Widget** popup now lists only enabled widgets, so the disabled backups made on upgrade no longer show.
* **Platform:** `system.kanoa.security.updateUser()` now stops without saving if the change to the user source fails.
* **Platform:** **Breaking:** `system.kanoa.file.deleteFile()` now deletes only files in Kanoa's temporary folder or `C:\kanoaImages`, and refuses folders.
* **Platform:** The line asset icon is now three machines joined by flow arrows, and the Kanoa logo icon uses the current Kanoa logo.
* **Platform:** Errors when saving, for example in security, settings, schedules, dashboards and quality checks, now give a plain-language reason such as "A duplicate already exists" instead of the raw SQL Server error.
* **Platform:** `system.kanoa.security.getUsers()` with `functionName` and `assetId` now includes users whose role is on a parent asset. With `functionName` alone it lists users who have that function on any asset, plus gateway admins.
* **Platform:** The default dashboard folder icons are now black.
* **Platform:** Views now load the session's security once when the page starts instead of three times.
* **Platform:** Going to another page from the navigation menu now closes the popup that was open.
* **Platform:** Configuration and Quality screens now show one toast per action instead of one per row or several for the same result. Deleting or unlinking several rows shows one summary, such as "Deleted 6 of 8; 2 couldn't be deleted".
* **Platform:** `system.kanoa.dashboard.addScreenDashboard()` now changes the screen's existing dashboard for that asset, or its default, instead of adding another, and returns that row's id.
* **Platform:** `system.kanoa.utilities.secondsToText()` now gives durations in the Perspective session's language, and takes an optional `locale` key, for example `{'locale': 'fr'}` gives "2 jours 3 h 4 min". Outside a session, or with `lang`, it's English as before.
* **Platform:** Removing a language on **Kanoa > Settings > Languages** now keeps only terms your site added. A Kanoa term you reworded is removed with the language. The **Options** menu lists English, the ticked languages and any language your site added itself.
* **Platform:** Kanoa's own CSS moved from the `kanoaAPP` project's stylesheet into the Kanoa theme, so the project stylesheet is now empty and Kanoa's styles aren't shown in the Designer.
* **Ops:** Performance events can now have no end date while a speed loss is still active. `system.kanoa.event.getPerformanceEvents()` also returns `isActive`, `isAuto`, `autoReason` and `performanceStateColor`.
* **Ops:** Each production run now keeps the standard rate it ran at, so changing a rate later no longer changes the OEE of past runs.
* **Ops:** `system.kanoa.asset.getAssets()` leaves tools out of asset lists unless `isTooling` is passed, and has new `isTooling` and `usesTooling` filters.
* **Ops:** The Calendar component has a new look based on FullCalendar's Pulse theme, with a simpler header and a choice of blue, green, purple or red palettes that follow the session's light or dark theme.
* **Ops:** Importing assets now shows its progress in a loading toast.
* **Ops:** Turning off OEE Enabled on an asset now disables its OEE info tag.
* **Ops:** The Production Orders screen now shows active orders as soon as it opens.
* **Ops:** The State Manager now dims states that aren't linked to the selected asset, and categories with none linked.
* **Ops:** **Breaking:** `system.kanoa.schedule.checkAssetSchedule()` now runs every minute on every site in place of the `checkAssetScheduleTimer` tag timer, including sites that had turned that timer off.
* **Ops:** **Breaking:** `system.kanoa.event.assetOperationChange()`, `addModeEvent()` and `updateModeEvent()` now return `(None, message)` when the Ops license has lapsed, and `addModeEvent()` and `updateModeEvent()` accept only real mode event fields. `addCounterEvent()` always returns `(counterEventId, message)`, with `None` instead of `False` when the count isn't recorded.
* **Ops:** **Breaking:** `system.kanoa.asset.addAsset()` now returns `(assetId, None)` or `(None, message)`, `addCounter()` returns `None` when the license has lapsed, `updateState()` returns the number of rows updated, and `unlinkAssetState()` returns `(rows, 'Deleted')` or `(rows, 'Disabled')`.
* **Ops:** **Breaking:** `system.kanoa.operators` functions now need an Ops license.
* **Ops:** `system.kanoa.asset.deleteState()` and `deleteMode()` now refuse a reserved state or mode, `deleteCounterType()` refuses the infeed, outfeed and waste types, and `getParentAsset()` returns an empty result instead of `None` for a blank path.
* **Ops:** Measure events now have a `measureEventId`. `system.kanoa.measures.getMeasureEvents()` returns it, and `addMeasureEvent()` returns the new event's id.
* **Ops:** The OLE reports now use `EvenSplit` when no `attributionMode` is given.
* **Ops:** `system.kanoa.date.getAssetTimeZoneInfo()` now uses the time zone of the closest site at or above each asset.
* **Ops:** A mode change now shows on the asset and its children within a second or two. A mode change not made by the schedule clears the asset's scheduled-event tags, and the new `scheduleBlockId` option keeps the scheduled event when an operator starts it.
* **Ops:** A rate entered for a run in Run Review or from the PLC is now kept as an override until cleared.
* **Ops:** `system.kanoa.schedule.scheduleOperation()` now fits every operation into the line's free time up to 4 weeks ahead. A **Fixed** operation pushes the blocks in its way later, keeping their length, instead of shortening or deleting them.
* **Ops:** `system.kanoa.item.getAssetItems()` lists tool-specific rates only when asked, and the schedule event editor accepts only an item, not an item class.
* **Ops:** Blocked tool positions no longer record their own estimated performance events; their lost output shows as speed loss with the reason *Positions blocked*. The speed loss window, threshold and minimum time can also be set globally with `speedLossWindowMins`, `speedLossThresholdPct` and `speedLossMinMins`.
* **Ops:** In the asset editor, **Shift Time Only**, **Intelligent Scheduling** and **Order Quantity Selection** can now be changed while inherited, which saves the asset's own value.
* **Ops:** The count editor now shows its time range's time zone, and uses the asset's time zone when opened from **Current Shift**.
* **Ops:** The Asset Overview summary's OEE now comes from the OEE tags for **Current Run** or **Current Shift** and lists only OEE-enabled assets. An area with no production target shows 0% performance instead of 100%.
* **Ops:** Events on the Operations scheduler calendar now show their asset when a site or area is selected, and Day and Week events show their whole title.
* **Ops:** Screens and reports that look up runs, state events or counts for a time range, such as This Week, Loss Analysis, production by shift and the OEE summary, are now much faster on long histories, and linking states and modes to many assets and checking the Quality schedule use far fewer queries. Each run's end is now stored in a new `endDate` column on `mes.modeEvent`, filled during the upgrade.
* **Ops:** `system.kanoa.asset.linkAssetStates()` and `linkAssetModes()` are now all-or-nothing: a call that fails partway links nothing.
* **Ops:** **Breaking:** Counts from the Line count tags are now held in memory and written to the database every 30 seconds by a new **Count Writes** job, which can be turned off or given another interval on the **Timers** tab. Screens and OEE tags still show each count at once, and counts entered on screens are saved straight away.
* **Ops:** **Breaking:** Kanoa now sets an asset's Line counter ids and `userId` when the asset is added, updated, copied or imported, and fills empty ones once the database is ready at startup and every 5 minutes with a new **Counter Ids** gateway timer. The assetOEE `EquipID` tag no longer runs a script. A site that uses its own copy of the assetOEE UDT with expression counter ids gets a gateway log warning naming the tag, and should switch to `Kanoa/assetOEE`.
* **Ops:** **Breaking:** The state buttons and the assetOEE `Inputs/State` tag no longer write the Line state tags themselves, and the custom `stateChange` hook now receives the new state as `stateInfo`.
* **Ops:** **Breaking:** `system.kanoa.measures.getMeasureEvents()`, `getMeasureRollingAverage()` and `getMeasureGapAnalysis()` return at most 500 rows when called without a full time range, unless `maxRows` is given (`0` for all). The gap report has a new `largeGapsOnly` option.
* **Ops:** Run Control, the operation screens, Asset Overview and the dashboard widgets now read the `kanoaMES` OEE tags instead of the assetOEE UDT's `Line` tags, so assets without `[Kanoa]` Line tags show their mode, state and OEE.
* **Ops:** The Asset Shift OEE widget now shows the current and previous shifts from the asset's `kanoaMES` OEE tags, including the new `OEE/Previous Shifts` tag.
* **Ops:** The OEE Dial widget now follows the dashboard's date range, and shows live values only on a dashboard without a date selector. The OEE KPI widget's values also follow the date range.
* **Ops:** The OEE bar chart widget's Overall value is now worked out the same way as the OEE Dial, OEE KPI and Asset Shift OEE widgets.
* **Ops:** The Station Counts widget no longer queries the database every 5 seconds. It refreshes at most once a minute while only the counts change, and at once when the run, item, work order, mode or date filter changes.
* **Ops:** The production chart on the Production page and the Production Counts widget is redrawn with the Kanoa ApexChart as running-total lines with a dashed target, shades the time spent in other modes, and marks each change of item or work order with a line labelled with both (e.g. `WAD - SC2024`). The lines start from zero for each new item or work order; a break in another mode, such as cleaning, and back to the same item and order keeps counting. Series in different units show as stacked plots, and the Production page charts every OEE asset with data under the selected asset.
* **Ops:** The Event Notifications widget now shows an out-of-control measure within about 5 seconds, instead of up to a minute after the info panel.
* **Ops:** Each asset cell on the Asset Overview summary now has one tooltip with what the asset is doing, who set its mode, its order and item, and its OEE against target. The mode-source icon and borders are gone, cells are the same height, and the OEE icon shows only when OEE is near or below target.
* **Ops:** A run now keeps the scheduled event it was started for, even when a tool change splits it, and the `kanoaMES` `OEE/Status` folder has new `scheduleBlockId`, `scheduleStart` and `scheduleEnd` tags.
* **Ops:** Run Control now shows **End** while the schedule owns the run, so an operator can end a scheduled run without going to the Mode tab, and no longer shows **End** on an idle line.
* **Ops:** Run Control opened from the info panel now closes after you start a run or pick a mode (End keeps it open), shows one toast at a time, and says which mode ended when you press **End**.
* **Ops:** Asset Operation's **Main Menu** back row now shows only on the other screens, the divider between the info panel and the content is a thin line that highlights while hovered or dragged, and the breadcrumb header and right-hand panel have no borders.
* **Ops:** The Measure SPC analysis widget now shows the chosen date range, sizes each dot by its number of points, and names each series on hover.
* **Ops:** On a machine that uses tooling, Run Control's product list shows each product's rate from the mounted tool, with the tool's name.
* **Ops:** Run Review's OEE badges now warn about performance or OEE only above 105%, so a short run just over its standard rate is no longer flagged.
* **Ops:** The asset info panel now shows the current run's start in the asset's site time zone, like the current shift.
* **Ops:** In the count editor, item state buttons show their category above the name and wrap instead of scrolling sideways, **Add Count** is now a **Count Increment** field, and the count popup lists only the item states for the chosen counter.
* **Ops:** The Production Order editor marks its required fields (Order #, Item, Mode and Status), and a new order starts as Released, in the Production mode.
* **Ops:** **Asset Operation > Production Orders** now shows only orders for items the asset can run, leaving out orders assigned to another asset.
* **Ops:** The user pickers on the crew members and operator scheduling tabs list only operators (users with `operateAssets`) and gateway admins.
* **Ops:** Deleting a state category in the State Manager now also deletes its states and sub-categories; reserved states are refused and states with history are disabled. The State Manager says why a reserved state such as Idle can't be deleted.
* **Ops:** **Breaking:** A reserved state, such as Running, Idle or Unknown State, keeps its name and state type: `system.kanoa.asset.updateState()` refuses to change them, and the State Editor shows them read-only with a **Reserved** row saying why. Use translations to show a reserved state under another name.
* **Ops:** Setting or removing an OEE threshold with `system.kanoa.asset.addAssetAttribute()` or `deleteAssetAttribute()` now updates the threshold tags of the asset and the OEE assets under it that inherit them.
* **Ops:** `system.kanoa.event.getDowntimeDataForReliability()` now counts only a stop that needs a part as a breakdown; any other stop is a process failure.
* **Ops:** Tools in the old `core.tooling` table are moved into the asset tree on upgrade, under a **Tooling** storage location on the first site, with their check sheet tooling links. An empty `core.tooling` table is removed.
* **Ops:** The tool editor now picks a tool's location, a cycle rate's machine and a Fits On machine with the standard asset selector instead of dropdowns.
* **Ops:** The tool editor now marks Name and Tooling type as required, shows **Save** only once both are set, and shows settings such as the life limits and calibration due only when they apply.
* **Ops:** The speed loss check now reads every machine at once each minute instead of running four queries per machine, and the OEE tags are updated from memory on counts and state changes instead of recounting each time.
* **Ops:** Added database indexes to speed up queries on performance events, check sheet events and count events.
* **Ops:** `system.kanoa.asset.getClosestAncestorAttribute()` now looks up an attribute in one query instead of one per path level.
* **Ops:** The Operator Login screen now updates each session's Duration and the Total Time every minute while it's open. An open session's time runs on to now.
* **Ops:** The Item filter and the editor on **Materials > Required Tooling** now use the item selector instead of a dropdown.
* **Ops:** The Outliers and Gap Analysis tables on the Measures analysis screen now say so when there's nothing in the range, instead of staying blank.
* **Ops:** When a measure tag's `spec/refresh` can't load limits, because no Quality attribute is linked or the attribute has no tolerance, the tag's error now says why and the gateway logs a warning.
* **Ops:** `system.kanoa.event.getReliabilityData()` now returns `productionRuns`, and Loss Analysis's loading toast says how many assets and production runs it analyzed.
* **Ops:** Double-clicking an order on the scheduled events list now opens the production order editor.
* **Ops:** **Breaking:** `system.kanoa.performanceState.getAssetPerformanceStates()` with no asset now returns no reasons instead of all of them. Reasons linked to an item or item class are listed only while that item runs.
* **Ops:** The asset tiles on Asset Overview are now white panels with a stripe in the mode's color and a status pill. In Production the pill shows the state in the state's color; otherwise it shows the mode. Unplanned downtime still flashes, and the tooltip names the mode and who set it.
* **Ops:** Asset Overview's Assets, Detail and Summary switches are now icon tabs. Each set of tiles sits on its own tinted panel without borders, and a lone enterprise, site, division or region at the top is skipped.
* **Ops:** Run Control's **Orders** tab now remembers the Due Date or Start Date choice when you leave and come back, as it does the date range.
* **Ops:** Run Control, the cell cards and the work-cell info panel update as soon as an asset's OEE values change, instead of every 3 seconds, and Run Control no longer shows an **End Idle** button on an idle line.
* **Ops:** The operations schedule's timeline week and month views use hourly slots and scroll sideways, so back-to-back orders stay on one row instead of stacking.
* **Ops:** **Breaking:** The **Production** page shows one OEE asset at a time, for up to 7 days; selecting a site or an area shows its assets as cards to pick from. It used to show a chart for every OEE asset under the selected site or area, which loaded every chart's data at once and could leave the page blank for minutes. The Production Counts widget (Asset Run Analysis) is limited to 7 days too: a longer range shows **Choose a range of up to 7 days**. Year To Date, This Month, Last Month and Last 14 Days are turned off in both date selectors, and the step arrows move the range by a week.
* **Ops:** In the Scrap editor, a run's waste worked out from its infeed and outfeed is labelled **Uncoded (calculated)**, with a note on how it's worked out. Users who aren't logged in see the waste only, with no controls.
* **Ops:** The Production chart's plot titles and the asset page's navigation cards are translated, and the cards fit long titles and subtitles.
* **Quality:** A check sheet linked to a tool now only triggers while that tool is mounted on the machine.
* **Quality:** A check sheet that requires an item is no longer scheduled while no item is running.
* **Quality:** `system.kanoa.quality.event.updateChkShtEventField()` now only accepts its documented fields.
* **Quality:** The trend chart's Nelson and WECO rules now come from `system.kanoa.quality.spc.spcCheck()` on an individuals chart, so they use the moving-range sigma instead of each series' standard deviation, and a violation highlights every point in the run. WECO rules 1-4 are now checked as themselves (rule 4, eight points on one side, was checked as Nelson rule 2, nine points).
* **Quality:** `system.kanoa.quality.spc` functions now run natively in Java.
* **Quality:** The quality attributes table now shows each attribute's details, such as its tag and tolerance.
* **Quality:** The check sheet scheduler now shows the list of check sheets without clicking **Select Check Sheet**.
* **Quality:** After the last check in a check group is entered, the selection no longer jumps back to the top of the check sheet.
* **Quality:** Tree pick list options are easier to enter: options no longer need to be wrapped in quotes or written without spaces.
* **Quality:** **Breaking:** `system.kanoa.quality.schedule.updateScheduledAutoChecks()` now returns the values saved, and `getSecondsSinceLastCheck()` returns `lastScheduledDate` as a date in every scope.
* **Quality:** The SPC trend chart now uses the same rule engine as `system.kanoa.quality.spc.spcCheck()` for the Nelson and WECO rule sets, and `spcCheck()` also returns `violationPoints`.
* **Quality:** BMP check item images are now converted to JPEG, and `system.kanoa.quality.config.processImage()` returns the new image id. `system.kanoa.quality.sheet.getSheetTypes()` returns types sorted by path.
* **Quality:** Add Check now leaves Auto check sheets out of its list unless **Include Auto Checks** is ticked, and Active Checks lists Auto checks added by hand with the manual checks. `system.kanoa.quality.event.getChkShtEvents()` has a new `includeManualAuto` option.
* **Quality:** Submitting, deleting or changing the status of a quality check no longer waits up to 5 seconds for the scheduled checks tag to refresh.
* **Quality:** The check sheet Trigger Editor popup is more compact, with Delay and Coming Due under the trigger and **Save** and **Close** kept at the bottom.
* **Quality:** `system.kanoa.quality.analysis.getSummary()` now groups only by the Check Summary screen's categories, and returns an empty dataset for any other.
* **Quality:** Quality images added with `system.kanoa.quality.image.processImage()` are now converted from BMP to JPEG.
* **Quality:** `system.kanoa.quality.config.getToleranceData()` now returns the best-matching tolerance first.
* **Maintenance:** Work order template exports no longer include user names. Imported templates are requested by the importing user and left unassigned, and overwritten templates keep their existing users.
* **Maintenance:** **Breaking:** `system.kanoa.cmms.deleteProcedureStep()`, `deleteProcedureStepCheck()`, `setProcedureStepSortOrder()` and `setProcedureStepCheckSortOrder()` now return `(result, message)` instead of a dictionary, and `checkWorkOrderSchedule()` raises an error without a CMMS license instead of returning a message.
* **Maintenance:** Work orders aren't generated while Maintenance is turned off in the app settings, and a disabled work order no longer fires its conditions.
* **Maintenance:** The procedure manager's **Export** button is shown only to users who can configure procedures, and exported files get file-system-safe names.
* **Maintenance:** Counter and run-hours work order conditions are now checked with far fewer database reads. A count or state edited more than an hour back can delay a condition by up to 15 minutes.
* **Trace:** Lot Manager hides the Trace and Lot Attributes tabs until a lot is selected.
* **Trace:** The Lot Editor's **Save** button is enabled only when the lot or its stock changed.
* **Trace:** The trace graph layout is cleaner. End points such as ships and scraps no longer stretch to the right edge, ingredient lots sit beside the step that uses them, and lines no longer cross.
* **Trace:** The default lot operations (Transfer, Split, Receive, Scrap and Process) now have their own colors where none was set. New lot operations allow input and output lots, and new lot state reasons are enabled, by default.
* **Trace:** In the serial editor, **Save** is enabled as soon as a name is typed, new serials start at 0, and the serialization table is sorted by name.
* **Trace:** Lot Manager now cuts off a long Location at its start so the asset name stays visible, and Id columns show the full number. An input refused because of its lot state now says which state it's in.
* **Trace:** The Add Lot Operation popup's input lot list offers only lots of the items the operation's input links allow.
* **Trace:** A lot operation linked to an asset can now also be used on that asset's child assets, for example Receive linked to Storage at Storage\Receiving.

#### Removed

* **Platform:** **Breaking:** Removed the **Configuration > Application > Timers** screen. Kanoa's timers are managed from the gateway config page's **Timers** tab.
* **Platform:** **Breaking:** The module no longer installs the `python-dateutil` and `six` Python libraries. Gateways that already have them keep them.
* **Platform:** **Breaking:** Removed `system.kanoa.utilities.printDataset()`.
* **Platform:** **Breaking:** Removed the old `kanoa/core/templates/selectors/tree/breadcrumb` and `labelSection` views.
* **Platform:** **Breaking:** Removed the unused `kanoa/OeeComparision`, `kanoa/qds/templates/selectors/checkNameSelector`, `kanoa/qds/config/checks/uploadDocument` and `kanoa/core/templates/selectors/timezoneSelector` views.
* **Platform:** **Breaking:** Removed the `kanoa/core/docks/dockRHS` view, and the options dock from the `kanoaTablet` and `kanoaMobile` page configs. The `kanoa/core/docks/options` view now shows the Options menu.
* **Ops:** **Breaking:** Removed the `getActiveOrdersTimer` tag timer. `kanoa/timers/getActiveOrdersTimer` keeps only its data tag, and the same dataset is in the new `[kanoaMES]scheduler/activeOrders` tag.
* **Ops:** **Breaking:** Removed the assetOEE UDT's `oeeThresholds/update`, `Configuration/refresh` and `Configuration/initializeTags` tags. The counter ids and `userId` are now memory tags that Kanoa sets.
* **Ops:** **Breaking:** Removed `system.kanoa.shift.addShiftEvent()`, `deleteShiftEvents()` and `getClosestAncestor()`; use `updateShiftEvents()`.
* **Ops:** **Breaking:** Removed `system.kanoa.schedule.adjustExistingEvents()`, `adjustScheduleEvents()`, `getExistingEventAdjustedTimes()`, `getEventScheduleAdjustedTimes()` and `checkEventsOverlap()`.
* **Quality:** **Breaking:** Removed `system.kanoa.quality.spc.rule1()` to `rule8()`. Use `system.kanoa.quality.spc.spcCheck()` with the `nelson` rule set and its `violations` / `violationPoints` instead.
* **Quality:** **Breaking:** Removed `system.kanoa.quality.event.updateChkEventDataTag()`, which no longer did anything. Adding, updating or deleting a check now refreshes the scheduled checks tag in the background.
* **Trace:** Removed the operation editor pane and the operations table from Lot Manager, replaced by the **Add Lot Operation** popup.
* **Ops:** Removed the Calendar component's timeline `rowHeight` setting and its Day/Week/Month dropdown. Views that saved a custom color palette now use the blue palette.
* **Ops:** **Breaking:** Removed the `getAssetShiftOEETimer` tag timer. `kanoa/timers/getAssetShiftOEETimer` keeps its data tag, which the gateway now writes once a minute.
* **Ops:** Removed the unused Input Materials view and the hidden input/output option in the item asset link editor; every link is an output.
* **Ops:** Removed the Production Counts widget's interval dropdown and the chart's **Use Package Count** checkbox. The chart now picks its own interval.

#### Fixed

* **Platform:** Fixed the Options menu's language list clearing the session's language as the menu opened. On Ignition 8.3 that broke every number field on screen with a component error, for example in the count editor and Run Review (an Ignition 8.3 issue: its Numeric Entry Field fails whenever a session property changes).
* **Platform:** Fixed text that screens build from words and numbers showing in English in other languages on the Operator Station info panel (notifications, operators, speed loss, tooling, order progress, downtime, rates), This Week, the count editor, the production chart's summary panel and the Scrap editor. Dates there now use the session's language too. Durations (such as *14mins*) are still in English.
* **Ops:** Fixed the production chart's **Scrap Reasons** overstating **Uncoded (no reason)**: it added up only the hours where waste worked out from infeed and outfeed came out positive. It is now each run's waste less its coded scrap, as the Scrap editor lists it.
* **Ops:** Fixed the production chart's lists (speed loss, quality checks, maintenance) scrolling sideways: the popup opens wider, with columns that fit.
* **Ops:** Fixed the production chart over a long range, such as a year, drawing a bar for every downtime and speed loss event, which could stop the browser. Events too short to see at the chart's range are drawn added up, and checks and work orders close together share a mark; the summary still counts every event. A range of more than 35 days that runs to now refreshes every 10 minutes.
* **Ops:** Fixed a quality-check notification on the Asset Operation info panel going to the Scheduled Checks dashboard, where the check didn't show from the popup. It now opens the Quality Checks list for the asset, including a check left in progress from an earlier day, and the check opens from there.
* **Platform:** Removed unused data saved in seven views (the lots, item, widget and dashboard importers, the notifications widget, the equipment schedule and the asset tree editor), about 2.3 MB that was sent to every new Perspective session.
* **Ops:** Fixed a guest (not logged in) being able to open the speed loss editor from the production chart's summary panel, where saving failed with "Something it refers to no longer exists". The editor now needs the Edit Operations right, and says to log in.
* **Ops:** Fixed Asset Operation sometimes opening on **Select Asset**, with the asset in the breadcrumb and nothing below it, when many screens start at once, such as stations reconnecting after a gateway restart.
* **Platform:** Fixed an issue where importing a widget over an existing widget failed, leaving the widget unchanged and deleting the import backup.
* **Platform:** Fixed documentation links in the app that broke when the documentation was reorganized.
* **Platform:** Fixed dashboard and widget imports. A wrong or bad file now shows an error saying why, a failed re-import no longer deletes the existing dashboard, imported widgets keep their `viewParams`, and `system.kanoa.dashboard.importWidget()` returns the widget instead of its backup.
* **Platform:** Fixed 24 standard dashboard widgets, such as OEE Dial, Run Control and Top Downtimes, being installed disabled and missing from **Add Widget**. They're enabled on upgrade.
* **Platform:** Fixed saving a widget's parameters in **Configure Widget** failing for widgets with a list parameter, and Dictionary and List parameters being saved as text.
* **Platform:** Fixed the Asset OEE Bar Chart widget drawing every series in one color after switching to **All**.
* **Platform:** Fixed the tree selector's breadcrumb opening its dropdown behind popups, showing a scrollbar, selecting the parent of a clicked crumb and being hard to read in dark mode, and the tree selector popup showing two **Clear** buttons.
* **Platform:** Fixed the trees in the navigation, item class, attribute, item state, performance state, part category, dashboard folder and check sheet type editors opening empty or showing stale items.
* **Platform:** Fixed **Save** on the Add User popup sometimes doing nothing, the user and role tables in **Configuration > Security** showing transposed data, and `system.kanoa.security.addUserFunction()` failing.
* **Platform:** Fixed several warning, error and success messages that never appeared.
* **Platform:** Fixed the Node Chart not scrolling to the first node when a trace loads, and Kanoa Flow node and edge events sending the wrong event data.
* **Platform:** Fixed Kanoa functions failing with "Gateway Context not available" when a tag script called them while the gateway was starting.
* **Platform:** Fixed `system.kanoa.file.getGatewayFilePath()` always returning `None`, `findFiles()` returning wrong paths on Linux, and several `system.kanoa.dashboard` functions, such as `addBreakpoint()` and `updateScreenDashboardField()`, always failing.
* **Platform:** Fixed saving new records sometimes failing with "A result set was generated for update" after a fresh install or upgrade, until the gateway was restarted.
* **Platform:** Fixed Kanoa treating a licensed product as expired for a few seconds during a module install or update, and the Maintenance license check failing after a license change.
* **Platform:** Fixed redeploying the Kanoa MES module leaving the previous copy loaded in memory.
* **Platform:** Fixed a database changeset with an apostrophe in its header, or a header over 200 characters, running again on every gateway start.
* **Platform:** Fixed Kanoa users who no longer exist in their internal Ignition user source still showing as active in **Configuration > Users**. They now show as disabled.
* **Platform:** Fixed `system.kanoa` function descriptions missing from Designer autocomplete after a gateway restart, and some descriptions being cut short.
* **Platform:** Fixed several screens breaking with a script error when a Java error, such as an expired license, occurred, and error messages that showed "None".
* **Platform:** Fixed the Dashboard Editor showing a "has been saved" toast for every widget on each save. Saving now shows one toast.
* **Platform:** Fixed importing a dashboard failing when it uses a breakpoint the gateway doesn't have. The breakpoint is now created, and the import either succeeds completely or changes nothing.
* **Platform:** Fixed **Configure Widget** squeezing a widget's description into a small scroll box.
* **Platform:** Fixed marquee **Preview** opening the wrong port (`:8043` became `:804`), and new marquee displays getting a URL with the wrong port.
* **Platform:** Fixed the date selector, work order editor and station counts widget showing white borders in dark mode.
* **Platform:** Fixed `system.kanoa.config.getConfig()` with a `configId` returning the wrong configs, and the `userId` filter in `system.kanoa.dashboard.getMarquees()`, `getMarqueeDashboards()` and `getMarqueeDisplay()`.
* **Platform:** Fixed charts sitting at the wrong size or off centre for a while after a dashboard opens.
* **Platform:** Fixed marquee **Preview** opening in the editor's project and showing View Not Found.
* **Platform:** Fixed the dashboard date range selector failing with an error for Last 24 Hrs, Last 7 Days, Last 14 Days and Custom.
* **Platform:** Fixed users with no first or last name losing their Gateway Admin permissions when they log in.
* **Platform:** Fixed the asset type seed data being skipped when static data is installed.
* **Platform:** Fixed giving a user a role on a second asset in **Edit User > Roles** replacing the first asset. The asset tree is now multi-select.
* **Platform:** Fixed dragging a menu item in the Navigation Editor snapping back instead of saving its new place. The editor's tree now shows the menu's order, and saving an item no longer clears its module.
* **Platform:** Fixed Maintenance and Inventory both getting sort order 0 at the top of the navigation menu. On new installs and upgrades, the top-level items now default to Home, Dashboards, Ops, Quality, Maintenance, Inventory, Configuration, Help, and an order you already changed is kept.
* **Platform:** Fixed dashboards added to a marquee all getting sort order 0, and edits to Sort Order or Duration in the marquee's dashboard table being lost.
* **Platform:** Fixed installed translations losing non-English characters, region languages such as `pt_BR` not being recognized, and translations containing `=` being cut short.
* **Platform:** Fixed the date range selector on Production Counts and other analytics screens keeping its preset after you picked a date and putting the preset's dates back on refresh. It now switches to Custom, and the period arrows move the range.
* **Platform:** Fixed double-clicking an item in a tree selector popup closing it without selecting the item.
* **Platform:** Fixed double-clicking a marquee dashboard row opening Edit Marquee Dashboard with a blank dashboard. Double-clicking Duration or Sort Order now only edits the cell.
* **Platform:** Fixed a gateway upgraded from Ignition 8.1 to 8.3 removing and reinstalling the languages it had chosen on 8.1.
* **Ops:** Fixed an issue where importing assets failed when a state belonged to an asset group that didn't exist on the target system. The asset group is now created during the import.
* **Ops:** Fixed asset imports not bringing over new asset types.
* **Ops:** Fixed asset export, import and duplicate leaving out performance states, the reasons in a linked performance state class, and item state links.
* **Ops:** Fixed the OEE screen listing assets that aren't OEE-enabled.
* **Ops:** Fixed closed production orders not showing on the Production Orders screen when **Show Active** was cleared.
* **Ops:** Fixed `system.kanoa.item.deleteItemAssetRates()` deleting the wrong rate.
* **Ops:** Fixed the `processTypeIdList` filter in `system.kanoa.asset.getAssets()` and the `itemPath` and `itemClassIdList` filters in `system.kanoa.item.getAssetItems()`.
* **Ops:** Fixed pressing **End** in Run Control during a scheduled event sometimes having the schedule restart it. Ending a scheduled run now keeps the asset idle until the event's end time.
* **Ops:** Fixed an asset's counter ids going empty after a gateway restart when the database wasn't ready yet, which stopped counts being recorded.
* **Ops:** Fixed counts added or cleared in the count editor taking up to a minute to show in the info panel's **Current Run** counts.
* **Ops:** Fixed the Asset Overview summary's modes, states, counts and state chart not updating until it was reopened.
* **Ops:** Fixed active production orders no longer updating after a trial reset, and production orders missing from the Production Orders list on lines with many items.
* **Ops:** Fixed shift events. Editing a site's shift no longer replaces its lines' own shifts with No Shift Defined, an asset's one-off shift replaces the inherited shifts it overlaps, and No Shift Defined days start at the asset's local midnight.
* **Ops:** Fixed a mode change not seeing a change made earlier in the same minute, so leaving a Production run that started that minute kept its zeroed counts.
* **Ops:** Fixed events on the Operations calendar not saving when dragged or resized if their asset wasn't one of the calendar's rows.
* **Ops:** Fixed the state picker in the **Add Downtime** popup not keeping the chosen state.
* **Ops:** Fixed a new asset type not appearing in the asset editor until the page was reloaded.
* **Ops:** Fixed the legacy `Line/oeeThresholds` tags updating only when the gateway started, and large OEE values wrapping onto two lines on the Enterprise OEE pages.
* **Ops:** Fixed the asset chart's Downtime chart not drawing its bars.
* **Ops:** Fixed the count screens showing a script error instead of a license warning, and the assetOEE State, Work Order and Waste Count tags logging errors, without an Ops license.
* **Ops:** Fixed scheduled durations for items with a **Batch (in mins)** rate period, and for lines that adjust their rate by crew size but have no shifts.
* **Ops:** Fixed `system.kanoa` functions failing on names that contain an apostrophe, across the `asset`, `order`, `schedule`, `shift` and `event` functions.
* **Ops:** Fixed functions that always returned 0 instead of the rows changed, such as `system.kanoa.shift.updateShiftField()`, `system.kanoa.order.updateProductionOrderMetaData()`, `system.kanoa.item.updateItemUnit()` and the `system.kanoa.performanceState` update functions.
* **Ops:** Fixed filters that were ignored or failed, including `itemClassIdList` and `enabled` in `system.kanoa.item.getItems()`, `assetId` and `assetIdList` in `system.kanoa.asset.getOperationalAssets()`, `startDate` in `system.kanoa.operators.getOperatorShiftAssignments()` and `assetId` in `system.kanoa.attribute.getAttributeEventTotals()`.
* **Ops:** Fixed `system.kanoa.event.getDowntimeDataByCategory()` always returning nothing, `checkItemInfo()` creating a duplicate work order, and the downtime bar chart miscounting days across a new year.
* **Ops:** Fixed `system.kanoa.order.addProductionOrderState()` failing unless `reservedBySystem` was passed, and `updateProductionOrderState()` allowing system-reserved states such as Closed to be changed.
* **Ops:** Fixed `system.kanoa.measures.updateMeasureEvent()` and `deleteMeasureEvent()` always failing (they now take a `measureEventId`), and `getMeasureOutliers()` returning outliers outside its time range.
* **Ops:** Fixed `system.kanoa.item.addItemState()` always adding the state as enabled, and `system.kanoa.performanceState.checkPerformanceState()` failing to add new states.
* **Ops:** Fixed `system.kanoa.operators.updateCrew()` being unable to change a crew's asset, and the mode manager showing an error on every change.
* **Ops:** Fixed wrong counts from the Line count tags when store-and-forward or MQTT values arrived late, repeated or out of order, and counts lost after a count tag's quality was bad.
* **Ops:** Fixed OLE and POLE quality comparing counts in different units, which could show Quality as high as 991% on machines that weigh their infeed and count their outfeed.
* **Ops:** Fixed the Asset Overview and Asset Operation screens sometimes showing different states for the same asset. State tags now update within moments of a state change.
* **Ops:** Fixed times showing in UTC instead of the device's time zone on the Run Review card view, the Kanoa Mobile check schedule, the Measures analysis charts and **Last Updated** on Serialization and Lot Routes.
* **Ops:** Fixed the asset info panel's **This Week** section showing only the last run's production time for an item.
* **Ops:** Fixed linking an item to an asset it was already linked to clearing that link's production rates.
* **Ops:** Fixed the OEE Dial, Asset Shift OEE and compact asset card gauges cutting off decimals instead of rounding.
* **Ops:** Fixed changing a count in the count editor while not logged in failing with "Something it refers to no longer exists". It now asks you to log in.
* **Ops:** Fixed item state buttons in the count editor cutting off long names, leaving out item states linked on a parent asset, and showing disabled item states.
* **Ops:** Fixed a counter with no counts in the range, such as Infeed on a new run, having no value box on the count editor's **Buttons** tab.
* **Ops:** Fixed the asset tree editor sometimes opening with an empty tree until **Refresh** was pressed, its form going blank after a save, and its Counters tab staying blank for an asset whose counters have no tags.
* **Ops:** Fixed the asset tree and the State Manager tree not selecting a newly added asset or state category.
* **Ops:** Fixed moving an asset by drag and drop in **Configuration > Ops > Assets** not saving its new parent.
* **Ops:** Fixed dragging an asset into a sibling of the same type, such as an area into another area, being treated as a reorder and not saved, and reordered assets not keeping the order they were dropped in.
* **Ops:** Fixed the Downtime analysis screen logging an error for an asset with no state events; `system.kanoa.event.getAssetStateEventsByInterval()` now returns an empty dataset.
* **Ops:** Fixed the Asset Operation dashboard picker showing an old list of dashboards and sometimes opening a different one from the one picked.
* **Ops:** Fixed the Operator Login screen's **Select Operator** list being empty.
* **Ops:** Fixed a new unit typed into the Production Order editor or item rate editor saving an invalid value, and bulk editing orders with **Units** left blank failing.
* **Ops:** Fixed an order dropped on the Operations schedule defaulting to Partial with the full quantity, and being marked Scheduled when nothing was scheduled for it.
* **Ops:** Fixed Run Control's order cards showing the wrong year for due dates near New Year.
* **Ops:** Fixed asset names on the mobile asset navigation buttons being cut off.
* **Ops:** Fixed deleting a production order's meta data: the **Delete** button never showed, and a failed delete showed a success message.
* **Ops:** Fixed measures being flagged out of control on nearly every SPC rule while their chart showed nothing. The check now runs on the measure's latest events (new `spcPoints` tag, default 30) against its UCL, LCL and target.
* **Ops:** Fixed the Event Notifications widget showing the last measure's rule violations for every out-of-control measure.
* **Ops:** Fixed measures logging errors every second while the Ops or Quality license or trial had expired. A measure now stops collecting and warns at most once an hour.
* **Ops:** Fixed the Measures analysis card showing "Between-event Ï" instead of "Between-event σ".
* **Ops:** Fixed `system.kanoa.operators.enterBadge()` matching a badge containing `_` or `%` to another operator, and a double scan recording two badge-ins.
* **Ops:** Fixed `system.kanoa.asset.addCounterType()`, `getProcessTypes()`'s `processTypeName` filter, `system.kanoa.measures.addMeasureSourceType()` always adding as enabled, `system.kanoa.schedule.getScheduleBlockExceptions()` ignoring `assetId`, `system.kanoa.performanceState.checkPerformanceStateClassPath()`, `system.kanoa.event.getAdjacentStateEvent()` and `system.kanoa.item.checkItemState()`.
* **Ops:** Fixed pressing OK twice on a recurring shift or event change running the change twice, and the shifts and operations calendars failing instead of resetting after a refused shift edit or a shift exception update.
* **Ops:** Fixed dragging an order on the Operations schedule sometimes losing the move and showing "Unknown event received".
* **Ops:** Fixed the Asset Shift OEE widget shipping with Box Line 1 as its asset. It now starts with no asset, like every other widget.
* **Ops:** Fixed the ERP simulator being unable to send production orders to MES.
* **Ops:** Fixed every item showing a folder icon in the Production Order item selection popup.
* **Ops:** Fixed adding counts from the Count Editor failing with "maximum recursion depth exceeded".
* **Ops:** Fixed scheduled orders missing from Run Control's **Schedule** tab.
* **Ops:** Fixed **Mount** in the tooling mount panel putting the machine into Changeover without changing the tool when a tool was already mounted. It now swaps the tools, and a mount that would be refused says why first. `system.kanoa.tooling.mountByName()` also swaps in one step, so a refused mount no longer leaves the machine empty.
* **Ops:** Fixed the Measure Editor showing **Tag** unchecked for a measure that has a tag, and the Measures and Counters lists not showing tag paths.
* **Ops:** Fixed reasons and counts for one asset also applying to another asset whose name starts the same way, such as Machine 1 and Machine 10. This affected the speed loss and Performance Events reason lists, scrap reasons and `system.kanoa.event.resetCountEvents()`.
* **Ops:** Fixed the Production Orders screen loading its orders five or six times as it opened, with a repeated "Showing the newest 100 orders" toast, and **Show Filter** clearing the table after **Get Data**.
* **Ops:** Fixed editing a downtime event on a dashboard with several downtime tables logging an error in the other tables, or applying the change twice.
* **Ops:** Fixed the info panel's Notifications card showing "No notifications" for up to a minute after Asset Operation opened.
* **Ops:** Fixed enabling or disabling a mode for assets in the Mode Manager, and the refresh, clear, **Add** and double-click actions on Item Units.
* **Ops:** Fixed three Asset Overview issues: switching a level from Summary back to Status stalled, the summary's Production count showed "null" while loading, and an asset with no state showed as "series-3" instead of Unknown.
* **Ops:** Fixed the time after a state code with no state linked on the asset being counted as the previous state, or lost. Such codes are now linked to a new reserved **Unknown State** (unplanned downtime), including codes already recorded, with a note on the event, one gateway error per code and a highlight in **Assets > States** so you can link the code to the right state.
* **Ops:** Fixed deleting an asset turning its own operator station dashboards into a default for every asset. They're now deleted with the asset.
* **Ops:** Fixed clicking an asset card on Asset Overview sometimes not opening Asset Operation.
* **Ops:** Fixed the `assetInputs` UDT's Infeed Count, Outfeed Count and State inputs never updating because they named a tag group that doesn't exist; assets they feed now count.
* **Ops:** Fixed saving an asset's dashboard on Asset Operation sometimes adding a second default dashboard or turning the default into that asset's own. Duplicates are removed on upgrade.
* **Ops:** Fixed Asset Operation sometimes showing the default dashboard's widgets under an asset's own dashboard title.
* **Ops:** Fixed the Item Units delete confirmation asking to delete items.
* **Ops:** Fixed the operations schedule filling in slowly with a full schedule, and an order dropped before the schedule had loaded asking for an asset. The schedule fills in much faster, and an early drop is ignored with a message to try again.
* **Ops:** Fixed Production Counts dashboard widgets saved before 1.16 logging a warning when they open.
* **Quality:** Fixed an issue where a check sheet that requires an item but has no linked items, item sets or item classes was never scheduled. It is now scheduled for any running item.
* **Quality:** Fixed **Once Per Shift** and **Only Unique Products Per Shift** checks never being skipped.
* **Quality:** Fixed disabled check sheet triggers still creating checks.
* **Quality:** Fixed Infeed, Outfeed and Waste Count check sheet triggers, which were hidden in the trigger editor and never ran. They now create a check every N counts.
* **Quality:** Fixed the tool picker on the check sheet editor's Tooling tab being empty and not saving.
* **Quality:** Fixed pick list check items accepting any typed value. Only one of the item's options is now accepted.
* **Quality:** Fixed characters being lost when typing a check comment. Comments now open in their own popup, where Home, End, the arrow keys and copy and paste work.
* **Quality:** Fixed the check cursor staying on a failed check after its comment was saved, and the comment's text also being entered into the selected check. The Failed Check Comments popup now closes once every failed check has a comment.
* **Quality:** Fixed the Check Details screen always showing values with four decimal places.
* **Quality:** Fixed the trigger modifier still showing after a trigger was changed from Product Change to Mode Change.
* **Quality:** Fixed checks added from the Active Checks page not showing the thumbs-up indicator that checks added from mobile show.
* **Quality:** Fixed images entered in an approved check sheet not being viewable.
* **Quality:** Fixed being able to select several items when creating a check sheet.
* **Quality:** Fixed a value picked in the product selector being entered into the selected check cell.
* **Quality:** Fixed retest links breaking when the linked check sheet was revised.
* **Quality:** Fixed check sheets staying disabled after being released from revision. A check sheet can now be enabled or disabled without putting it into revision.
* **Quality:** Fixed an error in the shift heat map on the Check Summary screen.
* **Quality:** Fixed the trend chart's SPC rules flagging the points before a run instead of the run itself, and missing some runs.
* **Quality:** Fixed `system.kanoa.quality.spc.spcCheck()` counting a point exactly on the mean as below it, and Nelson rule 8 being flagged for points all on one side of the mean.
* **Quality:** Fixed duplicating a check item not copying its trigger and aggregate fields.
* **Quality:** Fixed quality imports failing when a check used attributes that didn't exist on the target system, and fixed calculated check items losing their calculation on import.
* **Quality:** Fixed check results when a limit was 0 or a number was entered as text, which could show a value of 3 as FAIL.
* **Quality:** Fixed grouping the check summary by asset name, and the mobile check image selector leaving temporary image copies on the gateway.
* **Quality:** Fixed `system.kanoa.quality.config.addGroup()` adding a duplicate group, check item images without a thumbnail failing to save, and filters in `quality.config`, `quality.image`, `quality.sheet` and `quality.event` functions.
* **Quality:** Fixed new tolerances being saved disabled with no way to turn them on, and the UDL field saving to USL. The Attribute Detail Editor has an **Enabled** checkbox, and existing tolerances are enabled on upgrade.
* **Quality:** Fixed Recurring check sheet triggers using the gateway's time zone instead of the asset's site, which moved checks by an hour across daylight saving and put evening rules on the wrong day, and the **Next** preview showing UTC.
* **Quality:** Fixed Recurring check sheets never being scheduled for an asset that isn't OEE enabled. They're now scheduled once per linked asset, unless the trigger filters on a shift, mode or item.
* **Quality:** Fixed the Add Check popups (Active Checks, Kanoa Mobile and the Quality dashboard) showing empty check sheet, asset and item lists.
* **Quality:** Fixed a released check sheet with no folder failing to go In Revision, be copied or be imported.
* **Quality:** Fixed `system.kanoa.quality.sheet.addSheetType()` and `system.kanoa.quality.config.addUnit()` ignoring `enabled`, and `unlinkItems()` failing on an empty list.
* **Quality:** Fixed submitting a failed check sheet on Kanoa Mobile saving the wrong status and not sending its alert emails, and submitting a check sheet showing several toasts instead of one.
* **Quality:** Fixed an auto check being approved with no values when a tag read was slow.
* **Quality:** Fixed the PickList Checks tab of a check sheet showing nothing when a pick list was saved in single quotes or as a plain Tree list. Opening a sheet no longer logs a tab change error, and the first tab's calculated checks are recalculated once it loads.
* **Quality:** Fixed a check sheet on Cell 1 also applying to Cell 10, and an item class matching other classes whose names start with it.
* **Quality:** Fixed deleting a check sheet version with history, which now deletes only the version in the row you clicked.
* **Quality:** Fixed deleting a parent attribute with its child reporting the child as not deleted.
* **Maintenance:** Fixed recurring work orders creating every occurrence within the generate-ahead days at once, with all but the first marked Missed. They now create one maintenance work order at a time.
* **Maintenance:** Fixed a recurring work order released after a long pause never creating its next work order, and an invalid rule stopping the schedule check for the work orders after it.
* **Maintenance:** Fixed **Requested By** on work orders showing the template's requester instead of the person who made the request.
* **Maintenance:** Fixed deleting procedures or categories ending with a script error, editing a cell in the work order event status table not saving, and replacing a procedure step check photo failing.
* **Maintenance:** Fixed filters in `system.kanoa.cmms` functions, such as the status category in `getWorkOrderEvents()` and the condition name in `getConditions()`.
* **Maintenance:** Fixed recurring work order due dates using UTC instead of the asset's site time zone.
* **Maintenance:** Fixed saving a work order showing two "saved" toasts, or three errors on a failed save. Pressing **Save** several times now runs one save at a time.
* **Maintenance:** Fixed opening a work order saving it, with a toast for each field, and sometimes clearing its asset. It now saves only when you change a field.
* **Inventory:** Fixed `system.kanoa.inventory.addManufacturer()`, `addSupplier()`, `addPart()` and `addPartInventoryPolicy()` failing without optional values, and `addInventoryTransaction()` not returning the new transaction id.
* **Inventory:** Fixed the `partCategory` filter in `getParts()`, and the `createdBy`, `referenceType` and `referenceNumber` filters in `getInventoryTransactions()`.
* **Inventory:** Fixed `system.kanoa.inventory.addUnitOfMeasure()` and `addPartCategory()` ignoring `enabled`, and `addPartInventoryBalance()` failing without all three quantities.
* **Trace:** Fixed an issue where only the first output of a lot operation could use the input lot, and outputs saved from the list going to the enterprise root asset.
* **Trace:** Fixed a failed lot operation leaving an empty new lot behind, failing with "Lot already exists" when run again, and leaving gaps in serial numbers.
* **Trace:** Fixed the trace graph for stock moved onto a transport, such as a bowl or truck, and brought back to the location it came from.
* **Trace:** Fixed `system.kanoa.serial.getNextSerialNumber()` handing out the same serial number to two calls at the same time, and `system.kanoa.lot.updateRouteEventField()` changing other route events.
* **Trace:** Fixed double-clicking a plain-text lot attribute value showing "null".
* **Trace:** Fixed saving a new route, route step or route event with Enabled left unset failing with a SQL error.
* **Trace:** Fixed filters in `system.kanoa.lot` functions, such as `lotOperationNameList` and `itemPath` in `getLotEvents()`, and `updateLotStateReason()` changing the asset state links.
* **Trace:** Fixed **Add (Transfer)** from Lot Manager sometimes opening with a blank input Lot. **Execute** now asks you to choose the input lot when it's blank.
* **Trace:** Fixed the Asset Links section on **Lot Configuration > Lot States** growing without limit.

#### Security

* **Platform:** **Breaking:** `system.kanoa.security` functions that change users, roles, functions, asset roles and config, called from a Perspective session, now run only for a gateway admin or a user with the `configureSecurity` function. Only a gateway admin can grant or remove gateway admin.
* **Platform:** `system.kanoa.security.storeNewIDPUser()` only stores the session's own user, and `getTableUsers()` lists only what the logged-in user may see.
* **Platform:** Fixed passwords being written to the logs in plain text.
* **Platform:** Fixed a path traversal risk in the Maintenance and Quality image uploaders on Windows gateways. Uploaded images are now saved under a generated name.
* **Platform:** Fixed SQL injection risks in the `system.kanoa.security` and `system.kanoa.dashboard` functions.
* **Platform:** **Breaking:** `system.kanoa.image.convertImage()` and the `processImage()` functions in `quality.image`, `quality.config` and `cmms`, and `cmms.processWorkOrderEventImage()`, now only read and write image files up to 32 MB in Kanoa's temporary folder or `C:\kanoaImages`.
* **Platform:** Fixed SQL injection risks in the `system.kanoa.logger` functions.
* **Ops:** Fixed SQL injection risks in the `system.kanoa.asset`, `attribute`, `event`, `item`, `measures`, `order`, `performanceState`, `schedule` and `shift` functions.
* **Ops:** **Breaking:** Operators can now start and end runs, change modes, and edit runs and downtime only on assets where they have `operateAssets` (on that asset or one above it). Before, having it on any asset gave access to all of them.
* **Ops:** **Breaking:** In Perspective, `system.kanoa.asset.getAssets()` and `getOperationalAssets()` now always filter by the logged-in user, whatever `userId` is passed. A user with no asset roles for the function now sees no assets instead of every asset.
* **Quality:** Fixed SQL injection risks in the `system.kanoa.quality.analysis`, `config`, `event` and `sheet` functions.
* **Maintenance:** Fixed SQL injection risks in the `system.kanoa.cmms` functions.
* **Inventory:** Fixed SQL injection risks in the `system.kanoa.inventory` functions.
* **Trace:** Fixed SQL injection risks in the `system.kanoa.lot` and `system.kanoa.serial` functions.

***

</TabItem>
<TabItem value="stress-testing" label="Stress Testing">

## Summary

Kanoa MES 1.15.12 was already a capable, performant platform. On an ordinary business laptop (HP EliteBook, 4-core 15 W i7, 32 GB) running **both the Ignition gateway and SQL Server** side by side, it handled **500 production lines counting every 10 seconds**, 5,000 count events a minute, on under 1 of the laptop's 8 logical processors for the gateway and 0.4 for the database, recording every count, and **20 operator screens** opening at the same moment all loaded.

Kanoa MES 1.16.0 is even better. On the same laptop, with the same week of history and the same steps, it did everything 1.15.12 did with less CPU and fewer queries, and kept going where 1.15.12 reached its limit: **1,000 lines at 10-second counts, 10,084 counts a minute on 1.66 logical processors**, where 1.15.12 managed 5,191 on 2.48.

<KpiTiles />

What makes the difference:

- **Counts:** written together every 30 seconds instead of one write per count: 76% fewer queries at 500 lines. Screens still update on every count, and runs and shifts still get exactly their counts.
- **History slows screens far less:** This Week takes 63 ms a call (1.15.12: 166 ms), production by shift 74 ms (508 ms). Query CPU with 20 screens is down 45%.
- **OEE tags kept live by Java jobs** instead of once-a-minute tag timers and scripts: with no screens open, gateway 0.13 against 0.17, database 0.04 against 0.05.
- **Screens:** the slowest of 20 loads in 92 s against 105 s, with under a third of the peak threads (472 against 1,509).
- **Counts stay exact:** the seeded week matches to the count on both versions, and after the last asset step every simulator's own total matched the database exactly (165,486 counts).

### Scorecard

| Measure | 1.15.12 | 1.16.0 | Better or worse |
| --- | ---: | ---: | --- |
| Gateway CPU, 500 assets | 0.86 | 0.49 | <span className="badge badge--success">Better</span> |
| Gateway CPU, 1,000 assets, 10 s counts | 2.48 | 1.66* | <span className="badge badge--success">Better</span> a third less, for nearly twice the counts |
| Counts a minute, 1,000 assets, 10 s (of 10,000) | 5,191 | 10,084 | <span className="badge badge--success">Better</span> 1.15.12's busy gateway slowed its own simulators |
| Database CPU, 500 assets | 0.38 | 0.11 | <span className="badge badge--success">Better</span> |
| Database CPU, 1,000 assets, 10 s counts | 0.52 | 0.16 | <span className="badge badge--success">Better</span> |
| Queries a second, 500 assets | 176 | 43 | <span className="badge badge--success">Better</span> counts written together every 30 s |
| Gateway CPU, no screens | 0.17 | 0.13 | <span className="badge badge--success">Better</span> |
| Gateway CPU, 20 screens | 0.93 | 0.64 | <span className="badge badge--success">Better</span> |
| Slowest load, 20 screens | 105 s | 92 s | <span className="badge badge--success">Better</span> |
| Peak JVM threads, 20 screens | 1,509 | 472 | <span className="badge badge--success">Better</span> screens wait on queries for less time |
| Production by shift, per call | 508 ms | 74 ms | <span className="badge badge--success">Better</span> 7× |
| This Week summary, per call | 166 ms | 63 ms | <span className="badge badge--success">Better</span> 2.6× |
| Database CPU, 20 screens | 0.23 | 0.15 | <span className="badge badge--success">Better</span> |

CPU is in logical processors of the test laptop's 8.

\* Includes the step's first 50 seconds, when Ignition was still saving the tag configuration of the 500 assets the step had just added (4–6.6 logical processors); over the rest of the window the gateway averaged 0.72.

<ReductionChart />

### Assets

<AssetGatewayChart />

<AssetDatabaseChart />

<CountsChart />

### Operator screens

<ScreenGatewayChart />

<ScreenDatabaseChart />

### Limits

1.15.12 reached its limit at about 500 lines counting every 10 seconds: at 1,000 its gateway ran at 2.5 logical processors and only half the counts happened. 1.16 was still comfortable at 1,000 lines, the largest step tested, with Ignition's tag-script threads 10% busy; where it reaches its limit is not yet tested.

**20 screens is not a screen limit.** The screen steps (0, 5, 10, 15 and 20) were chosen to give enough data points to estimate the cores and memory a gateway needs as screens are added; no step approached a maximum. Real sites will differ: the load depends on what each screen does, how many tags it shows, gateway event and timer scripts, and any customization. Inductive Automation's [Ignition Server Sizing and Architecture Guide](https://inductiveautomation.com/resources/article/ignition-server-sizing-and-architecture-guide) makes the same point for Ignition generally and covers larger client counts. To size a server for a site, see the [System Requirements & Sizing Guide](../getting-started/system-requirements.md).

## Detailed results

Both versions on the same laptop, each from 50 fresh assets with the same seeded week of history.

### Operator screens (50 assets with a week of history)

| Screens | Version | Gateway CPU | Database CPU | Queries a second | Loaded, slowest | Peak JVM threads | Query CPU (s) |
| ---: | --- | ---: | ---: | ---: | --- | ---: | ---: |
| 0 | 1.15.12 | 0.17 | 0.05 | 23 | n/a | 154 | 13.2 |
| 0 | 1.16.0 | 0.13 | 0.04 | 7 | n/a | 182 | 3.8 |
| 5 | 1.15.12 | 0.25 | 0.06 | 26 | 5 of 5, 41 s | 381 | 19.1 |
| 5 | 1.16.0 | 0.18 | 0.04 | 10 | 5 of 5, 31 s | 312 | 2.5 |
| 10 | 1.15.12 | 0.30 | 0.10 | 34 | 10 of 10, 55 s | 578 | 33.7 |
| 10 | 1.16.0 | 0.14 | 0.07 | 17 | 10 of 10, 36 s | 497 | 10.8 |
| 15 | 1.15.12 | 0.37 | 0.08 | 61 | 15 of 15, 79 s | 973 | 42.4 |
| 15 | 1.16.0 | 0.46 | 0.10 | 23 | 15 of 15, 64 s | 429 | 25.2 |
| 20 | 1.15.12 | 0.93 | 0.23 | 81 | 20 of 20, 105 s | 1,509 | 65.3 |
| 20 | 1.16.0 | 0.64 | 0.15 | 24 | 20 of 20, 92 s | 472 | 35.6 |

At 15 screens 1.16 used a little more gateway CPU than 1.15.12 (0.46 against 0.37); at every other step, and on the database at every step but 15 (0.10 against 0.08), it used less.

### Assets (added to the 50 above, no screens open)

| Assets | Version | Gateway CPU | Database CPU | Counts a minute (expected) | Queries a second | Count rows added / log MB written |
| ---: | --- | ---: | ---: | ---: | ---: | ---: |
| 100 | 1.15.12 | 0.22 | 0.15 | 986 (1,000) | 37 | 4,890 / 17.9 |
| 100 | 1.16.0 | 0.33 | 0.05 | 971 (1,000) | 11 | 5,014 / 7.1 |
| 250 | 1.15.12 | 0.36 | 0.13 | 2,438 (2,500) | 90 | 12,350 / 41.8 |
| 250 | 1.16.0 | 0.28 | 0.05 | 2,363 (2,500) | 21 | 12,110 / 12.8 |
| 500 | 1.15.12 | 0.86 | 0.38 | 4,948 (5,000) | 176 | 24,871 / 86.5 |
| 500 | 1.16.0 | 0.49 | 0.11 | 4,947 (5,000) | 43 | 24,116 / 26.6 |
| 1,000 | 1.15.12 | 2.48 | 0.52 | 5,191 (10,000) | 225 | 26,417 / 106.4 |
| 1,000 | 1.16.0 | 1.66* | 0.16 | 10,084 (10,000)† | 81 | 51,450 / 56.9 |
| 1,000 at 20 s counts | 1.15.12 | 1.14 | 0.48 | 4,970 (5,000) | 179 | 24,920 / 88.2 |
| 1,000 at 20 s counts | 1.16.0 | 0.31 | 0.08 | 4,808 (5,000) | 57 | 26,360 / 29.9 |

At 100 assets 1.16's gateway averaged more than 1.15.12's (0.33 against 0.22, with a short peak as the step's new assets started); from 250 assets up it used less, and the gap widened with every step.

\* Includes the first 50 seconds of the window, when Ignition was still saving the tag configuration of the 500 assets just added; 0.72 over the rest of the window. † Counts a minute are summed by row time stamp, and 1.16 writes counts every 30 seconds, so a window's edges can take in a few rows more or fewer; an audit of each simulator's own total against the database found none missing.

## Test machine

| | |
| --- | --- |
| Machine | HP EliteBook 840 G5 (laptop) |
| Processor | Intel Core i7-8550U (8th gen): 4 physical cores, 8 logical processors (Hyper-Threading), 1.8 GHz base, up to 4.0 GHz turbo, 15 W laptop part |
| Memory | 32 GB DDR4-2400 (2 × 16 GB); the WSL 2 Linux VM is given 15 GB |
| Disk | Crucial P3 2 TB NVMe SSD |
| Host OS | Windows 11 Pro 64-bit; WSL 2, Ubuntu, all 8 logical processors |
| Containers | Docker, no CPU or memory limits; one gateway and database stack running at a time |
| Gateway | Ignition 8.1.54 (Azul Zulu OpenJDK 17, 4 GB maximum heap) for both versions |
| Database | Microsoft SQL Server 2022, same machine |
| Test clients | Headless Chrome on the same Windows host (screen steps only) |

Read the results as conservative: the 15 W processor lowers its clock under sustained load, and the gateway, SQL Server and the test browsers share the same 4 cores. A production server with its own database would do noticeably more.

## Method

- **Setup, the same for both versions:** 50 new OEE lines under a `Stress Test` enterprise, set up like real Kanoa assets (Production and Idle modes, Running and Faulted states, an item with a standard rate, a production run started). Each line has a simulator tag that raises its infeed and outfeed counts every tick, runs 50 ticks and then faults for 10: about 10 count events a line a minute at 10-second ticks. The simulators start at different points of that cycle, so the lines don't fault together.
- **History:** 7 days of runs, states and counts seeded under the 50 lines before measuring, a row per count on both versions (5.1 million rows), then 15 minutes to settle. 1.15.12 was measured on 9 November and 1.16.0 on 11 November 2026, on the current 1.16 build.
- **Screen steps:** 0, 5, 10, 15 and 20 headless Chrome sessions, each opening the Operation view on a different line; all of a step's sessions open together, then about 4 minutes measured. The steps give enough data points to estimate the gateway and database resources each screen adds. 20 is the largest step tested, not a limit on how many screens a gateway can serve.
- **Asset steps:** lines added to 100, 250, 500 and 1,000 at 10-second counts, and 1,000 at 20-second counts; each step built, left 3 minutes to settle, then measured for about 5 minutes with no screens open.
- **Measured:** gateway and database container CPU and memory every 10 seconds; queries a second; the gateway's threads, heap and garbage collection; the database's most expensive queries by CPU and reads; counts written a minute; and, after each asset step, an audit of every simulator's own count total against the database.
- **Count check:** for 5 seeded lines and one seeded day, the count rows and each version's own production report both give the exact expected totals (7,200 infeed and 216 outfeed a line a day).

</TabItem>
</Tabs>
