Skip to content

Rank a month of stops by cause

A month of LRU-40 stops from the MES, ranked by lost minutes, with the two causes that are most of the problem tied back to the step chain.

The MES records every stop with a reason code, but a code is not a cause. Turning a month of them into the two things to fix means grouping, ranking and then reading the PLC program the codes come from.
Capability
Plant analytics
Typed by
Production manager
Works with
MES (PostgreSQL), PRG_Sequence.st
Delivers
A Pareto chart and the vital few causes

The request, as typed

Where did LRU-40 lose its time in November? Rank the stops by minutes lost, and for the biggest ones tell me which step of the sequence they come from.
LRU-40 stops in November, by causeDrawn from the run’s data
Pareto of LRU-40 downtime minutes in November by cause: S3 lift-up timeout 412, tray jam at B11 288, M40 overload 131, then six smaller causes.
CategoryminutesShareCumulative
S3 lift-up timeout (Y20)41235.8%35.8%
Tray jam at infeed B1128825.0%60.8%
M40 outfeed overload13111.4%72.2%
S5 turntable 90° timeout (Y30)968.3%80.5%
Light curtain trip746.4%87.0%
Air pressure low585.0%92.0%
Label no-read413.6%95.6%
Halt not reset292.5%98.1%
Other221.9%100.0%
Two causes, the lift timeout at S3 and tray jams at the infeed, are 60% of the 1,151 minutes lost; with the outfeed overload, three are past 70%.

How the run works.

seib-1 never touches a file or a system. It writes each next step as a tool call; seib Cowork checks it, runs it, and sends the result back. Anything that writes waits for a person.

  1. In

    What it read

    • MES (PostgreSQL)
    • PRG_Sequence.st
  2. Model

    seib-1

    • Plans the task
    • Writes each next step as a tool call
    • Reads every result before the next
  3. Desktop

    seib Cowork runs

    • connector_describe: MES
    • connector_call: SQL query
    • read_file: PRG_Sequence.st
    • Chart in the answer
  4. Person

    Reads the answer

    • Out: A Pareto chart and the vital few causes
    • Nothing to approve: every connector was read-only.

What it does.

Nothing to approve: every connector it used was read-only.

  1. 1

    Describes the MES and queries November's stop events for LRU-40, with reason code and duration.

  2. 2

    Groups the 214 stops by reason and ranks them by minutes lost.

  3. 3

    Reads PRG_Sequence.st to tie each step-timeout alarm to its step and its timeout constant.

  4. 4

    Draws the Pareto in the answer.

What comes back.

1,151 minutes lost across nine causes. Two of them, the lift-up timeout in step S3 and tray jams at infeed sensor B11, are 60% of it. The S3 timeout comes from T_LIFT_UP, set to 4 s in the program, while the lift's logged travel times sit at 3.6 to 4.1 s: the timeout is too tight for a worn cylinder, or the cylinder is too slow for the timeout, and either way the fix is in one place.

A worked example, not yet a captured run: the request is one seib-1 is built for, and the chart is drawn here from the data in seib’s test environment, Nordhafen Components, a fictional machine-building plant with generated data. It joins the cases above it, which are captures of seib Cowork 0.2.5 running on seib-1, once it has been run the same way. No customer data appears.

Request pilot access.

Not a waitlist. Tell us the problem and we’ll tell you honestly whether seib is ready for it.

  1. 1A person reads your request and replies within a few business days.
  2. 2A short call about the line, the toolchain and what's slow today.
  3. 3A Cowork pilot starts with one team, read-only connectors and two or three knowledge bases.
Pilot request, confidential0 of 5 complete
Interested in