The idea itself is pretty simple and came directly from feedback from production.

There are several important machine units that had already raised real suspicions: this is where defects may actually originate.

Some strange behavior had already been confirmed in real operation, but looking at the data, it was still unclear what exactly was happening and how much we could trust those observations.

So from time to time we literally had to check equipment behavior manually.

And then it hit us: we need to build a clear map of machine units and their normal behavior, and then learn how to watch those units online.

In other words, instead of trying to predict defects directly and looking for a needle in a haystack, we moved to another hypothesis:

defects may appear where equipment starts behaving abnormally.

And this is where the large accumulated time series became really useful.

How we implemented it

First, we had to decide which type of devices we wanted to work with first.

We chose servo drives and material accumulators.

Then we had to figure out which devices were actually visible in the PLC and which registers belonged to them:

  • identify the machine unit;
  • understand which device sits inside that unit;
  • for example, servo current or sensor readings and how they are related;
  • also readiness, synchronization, errors, and diagnostic codes;
  • and make sure we do not mess up the operating mode settings, because without the correct context the measurement cannot really be evaluated.

In the end, we built a map containing 130 signals and 22 unit cards: servo drives, accumulators, tension sensors, and several service cards.

The behavior ranges were not invented out of thin air.

We analyzed 93 Parquet files, or 5,021,209 snapshots, covering the period from August 6 to November 9, 2026.

But it is important not to fool ourselves here.

These ranges are not a guarantee that the equipment is healthy.

They are simply historical behavior ranges that we can use to compare against the current PLC signal snapshot.

You can't just call everything an "alarm"

One of the main traps is to call every deviation a failure.

In reality, you cannot do that.

For example, if the current of one servo drive goes 30–40% above its normal historical range, that does not automatically mean there is an emergency.

But it is already a useful marker for a commissioning or maintenance engineer to take a closer look at the equipment.

Externally, nothing may look wrong at all.

And at first, it may not even have any visible effect on the defect rate.

So the rules ended up being deliberately conservative:

  1. Check the quality and freshness of the snapshot — this matters because we are doing online inference.
  2. Check the overall operating context. For example, if the machine is working normally but one servo drive suddenly gets disabled outside the expected state, that is already worth flagging.
  3. For each servo drive, separately check readiness, errors, zero point, and synchronization with the setpoint. The operator's setpoint may not match what the equipment is actually doing, and visually this is not always obvious.
  4. For sensors, take related setpoints into account.
  5. Only after all these checks compare the actual value against historical ranges.
  6. Show PLC diagnostic codes separately and do not mix them with our own conclusions.

PLC logic works a little differently.

Yes, there are alarm bits.

But they do not catch subtle deviations in equipment behavior.

For example, a servo current that has increased by 30–40% may still not trigger any PLC alarm at all.

And we also should not forget that an operator may intentionally ignore an alarm because they want to finish the shift production target faster.

But our online inference dashboard sitting on management's desk will highlight it immediately.

So the system does not try to guess the root cause.

It simply says:

here is the unit, here is the signal, and here is why it deserves attention.

An example where this is already useful

Yesterday, one of the units started behaving suspiciously.

From the outside, it was unclear what exactly was going on.

But the event history showed a repeating pattern in one signal:

08:01 · W1*4A · peak 30.2% nominal, normal range 0.9–28.5
08:03 · W1*4A · peak 33.6% nominal, normal range 0.9–28.5
08:05 · W1*4A · peak 36.7% nominal, normal range 0.9–28.5
08:14 · W1*4A · peak 37.8% nominal, normal range 0.9–28.5
08:19 · W1*4A · peak 35.4% nominal, normal range 0.9–28.5

Again, this does not mean we should put a huge red "ALARM" label on the screen.

But now it is no longer just some vague feeling that "something is wrong."

We can see the exact unit.

The exact signal.

The moment when it appeared.

The timestamp.

How far the value moved outside the range.

And what the historical normal range looks like.

For a maintenance or commissioning engineer, this can be much more useful than trying to investigate the machine only after it has already stopped because of an irreversible alarm condition.

In a convenient web UI, you can open the unit card, check the current values, look through the event history, and understand whether you need to investigate — and where to start.

What's the practical value?

The practical value is pretty simple:

production gets early diagnostics of equipment behavior in units that may potentially be related to defects.

How useful this will actually be for maintenance engineers in preventing abnormal equipment behavior will have to be evaluated later, once enough real operational experience has accumulated.

That is when we will be able to confidently say something like:

we detected an anomaly, production took action, and the servo current values, for example, returned to normal.

And of course, we plan to expand this approach to other machine units as well.