Two FR10 programs each expect the other to clear the request

LucyBrown0915 · 2026年2月10日 11:17 UTC

已关闭

主帖中文翻译暂不可用,以下显示英文原文;回复保留原文。 查看英文原文

LU
LucyBrown0915
Our PLC sends a short inspection request. The application sometimes misses it, and both authors say the other side owns clearing it. I want their ordinary job interface agreed before commissioning. A longer pulse seems a very temporary answer to a missing ownership rule.

21 条回复

NA
NathanChen1156

Ask both authors to walk through one exchange with request identity, receipt, result and clearing conditions. Each event needs a meaning and an owner before anyone changes its duration.

7分
LU
LucyBrown0915

Application calls its result response an acknowledgement. PLC author expected acknowledgement as soon as the request was received. They weren't even waiting for the same event.

17分
IM
ImranAdams0131

Then name receipt and result separately. One word has already cost you a debugging session.

23分
WI
WillArcher0400

Would a simple sequence table help them compare that before implementation? Include a request that is never received, not only the complete exchange where both meanings eventually become true.

4分
DI
DineshBrooks0821

The handover also needs the application's restart after receipt. A complete request may still have an uncertain result, and the operator should not be asked to create a new inspection just because the application came back.

17分
LU
LucyBrown0915

Will, yes, we have a table now. Dinesh, the restart case is absent from their current diagrams. I've added it as an unanswered case, not drawn my own arrows for them.

2分
NA
NathanChen1156

What survives restart on each side? A table with an identity column will not help if one program forgets the value at the exact point it needs it.

11分
IM
ImranAdams0131

And is that identity an attempt, or just the bracket job name? Same family can be inspected twice.

23分
LU
LucyBrown0915

Current app keeps only the bracket job name. PLC has an exchange counter, but the application never saves it. That's another explicit gap for the authors.

8分
WI
WillArcher0400

Does the counter have a defined lifetime across PLC restart too? I would ask that before making it the common identity, rather than discover later that both sides can reuse it.

21分
DI
DineshBrooks0821

Will's question is important for the maintainer. Please keep the expected behaviour for an unknown old event in the design, even if you choose a better identity for future exchanges.

15分
LU
LucyBrown0915

PLC author confirms the present counter resets. They are defining an exchange identity with restart behaviour, rather than simply exporting that counter and calling it unique.

16分
NA
NathanChen1156

Include clearing an already completed exchange and receiving its result again. Those are separate cases from a new request. Otherwise a repeated event can create new work under the improved names.

14分
IM
ImranAdams0131

A longer pulse was looking wonderfully simple before all this.

25分
WI
WillArcher0400

It can be part of an implementation, Imran, but it cannot answer who still owns an unreceived request. Lucy's original objection survives even if the pulse stops being missed in a demonstration.

14分
LU
LucyBrown0915

The authors now agree separate receipt and result events, explicit ownership, and an unresolved route after uncertain restart. Clearing conditions are written for success and timeout. No code change presented as finished yet.

25分
DI
DineshBrooks0821

Who will read the proposed operator messages without either author explaining them? That was the useful last step in our handover review; the diagrams made sense sooner than the recovery wording did.

0分
LU
LucyBrown0915

Our shift lead and a covering operator. They haven't seen this design discussion. I'll use the missed-receipt and uncertain-result cases, not just ask whether the screen looks clear.

16分
NA
NathanChen1156

And let them identify whom to call when the defined review cannot establish the outcome. A recovery page can be clear about the uncertainty and still leave its user stranded.

13分
LU
LucyBrown0915

Paper walkthrough caught exactly that: no named escalation contact for unresolved outcomes. Added with the shift lead. The agreed interface is ready for implementation and testing, with the missing cases still on the test list.

10分

讨论已关闭

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