Skip to content

Record planned stops, adjust counts and recompute OEE

eaxScadaHow-to guideProEnterpriseView as Markdown

Correct what the machine could not tell: a planned maintenance stop, scrap found at a later inspection, or results that need to be worked out again after late data or a configuration change.

All three are in Analytics and Reports > Production, each section shown only with its own right: Planned stops (production_plan), Count adjustments (production_counts), Recompute (production_recompute). Each entry is recorded first in the audit trail with who made it and why; if the trail cannot write, nothing is recorded and nothing changes. You can only cover machines whose every source tag you may read. None of this writes to a machine.

A planned stop (maintenance, trials, no orders) is not counted against availability: its time is planned stop time.

  1. Open Planned stops and choose Add planned stop.
  2. Machines: 1 to 500.
  3. Starts and Ends: the end after the start, at most 31 days later.
  4. The reason: only an active planned reason code offered for every machine it covers. An optional comment.
  5. Record the planned stop.

Change and Remove (which asks first) need a Reason for the change (or for the removal); both are recorded as new records, the earlier ones stay. A removed stop’s time counts as scheduled again and availability is worked out again. A planned stop that also covers a machine you may not read is listed with your machines only, and you cannot change or remove it.

Where planned stops overlap, their union is planned; the reason of the earliest-starting one is reported for the overlap. A planned stop over an unplanned stop makes only the overlap planned.

A count adjustment moves units from good to reject at a time. The total never changes.

  1. Open Count adjustments and choose Add adjustment.
  2. Choose the machine, the Time of the units (not in the future, inside a slice already computed), Units moved from good to reject (1 to 1,000,000) and the Reason.
  3. Record the adjustment.

It is refused when it would make the good count of that slice negative, when no computed slice holds the time yet, and while the machine is being recomputed (“try again in a moment”).

Recompute works results out again from the historian, for example after a history import, a late store-and-forward, a changed plan or ideal cycle, or a calculation fix in a release. It does not change archived reports: their files stay as they were.

  1. Open Recompute and choose New recompute (or Recompute this machine in a machine’s row).
  2. Choose 1 to 50 machines and From (in the past). To is optional (empty: now). Each machine is recomputed from its stored state at or before From up to now.
  3. Choose Preview. The server works out the result without writing anything and shows, per machine, the slices that would change with their old and new values (run time, unplanned stop time, good and reject, OEE), the number of stops changed, and the reasons that would detach from their stop or move to another one. At most 2,000 changed slices per machine are listed; the sums cover all of them.
  4. Give the Reason for the recompute (one line, at most 500 characters).
  5. Choose Recompute. The request carries the preview’s token: a preview older than 30 minutes, or for other machines or another range, is refused (“Preview again, then recompute”). The API refuses a request without a preview too.

Before an HA takeover point. When the range starts before the point where this server took over from the other HA server, the rows there were computed by the other server from its own historian. The preview says so; the request then asks for an explicit confirmation (Recompute before the takeover point). Without it the request is refused and the refusal is recorded (RECOMPUTE_REFUSED). To leave the earlier rows as they are, start the range at the takeover point.

Progress and history. The grid of Recompute is the audit trail’s history of requests and refusals, every user’s, newest first, with each machine’s state: Queued, Recomputing, Done, Retrying (with the error) or Not computing (the server does not compute this machine now; check it in Machines). Rows still in progress are read again in place.

After a recompute that moved stops, a recorded reason goes to the stop that contains its start, or to the one that overlaps it most. If no stop does, it is detached: Reasons to review lists it with the stop as the operator saw it, who entered it and when. Stops then shows the machine’s stops around that time now, so that an operator can enter the reason again on the right stop. The records themselves are never changed or deleted.

Message Why
“Not recorded: the audit trail cannot be written, so nothing changed.” The trail is down. When the audit trail is down
“Not allowed: it covers a machine whose source tags you may not read.” A machine you may not read.
“The preview no longer matches…” The preview is older than 30 minutes, or the machines or the range changed.
“OEE and downtime does not compute on this server right now.” A standby, a primary without quorum, or the module paused by the licence.
“Not recorded on this server: …” An HA standby or a primary without quorum: use the primary.