简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

Opening the report counts our last plate again

LucyBrown0915 · 2025年8月22日 18:41 UTC

已关闭
LU
LucyBrown0915
Our FR5 acceptance display adds a plate when I reopen it after losing the connection. Nobody has inspected another plate. The PLC completion is still high from the previous job, and our client starts its edge detector at false. I can see the bug. I don't trust just ignoring the first reading as the fix.

16 条回复

HA
HazelCarter1006

Does the retained completion have a job reference beside it, and can you see whether that exact result was already added before the disconnect?

16
LU
LucyBrown0915

It has a job counter. The client doesn't save which counter it counted, only the total. Closing the window loses the local last-seen state. That's why reopening makes another edge.

11
DA
DanLoop

Persist the identity of a processed result with the count update, under an agreed recovery design, so a crash cannot save one without the other and recreate the duplication through a different gap.

23
EL
ElliotChan1118

I would make the report rebuildable from accepted result records. Then the total is an output, not the only surviving clue to what happened. You still need a reliable identity for each result.

10
AN
AnilAllen0288
回复 DanLoop

A total and a last counter can miss a hole, though. What happens if it reconnects after more than one result occurred?

16
LU
LucyBrown0915

Anil, we only retain the latest completion at present. Elliot, I prefer a result list too, but it won't invent results the interface never delivered. Controls is reviewing retrieval and counter reuse.

10
LI
LiamArcher0403

Can the display show incomplete instead of guessing the missing number?

16
AD
AdaChen1173

What makes a plate accepted here: inspection complete, or a separate quality result? I would settle that before building a very reliable count of the wrong event.

12
HA
HarishAbbott0054

And what did production actually see during the disconnect? Were they using the displayed total for batch completion, or was it only a progress view?

16
EM
EmmaBaker0463

Can operators open the old result details without acknowledging or clearing the retained PLC state?

12
LU
LucyBrown0915

Ada, acceptance is a separate result field, and we were checking it. Harish, production uses this for progress only, with a separate batch check. Liam and Emma, the draft shows incomplete and lets them read history without clearing anything.

14
DA
DanLoop

Check how result identities behave across a PLC restart as well as a client restart, since persisting a counter locally will not help if the receiver later reuses that counter for unrelated work.

17
LU
LucyBrown0915
回复 DanLoop

The revised contract adds a run identity and retrievable result records. Our offline report rejects duplicate result identities and leaves gaps visible. Counter reuse across different runs is covered in those tests. Real-interface comparison remains outstanding.

2
EL
ElliotChan1118

Does rebuilding the report produce the same count as processing those records live? I'd compare both with a duplicate and an out-of-order delivery in the test set.

15
LU
LucyBrown0915

Yes, for the offline set we have. Thanks, Elliot. The rebuild caught an ordering assumption that our incremental test missed. This still doesn't recover the historical results lost by the old interface.

0
HA
HazelCarter1006

Did the live comparison happen yet? Interested whether the retained records match the contract after reconnect, not just whether the duplicate test passes.

7

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .