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

The timestamps don't tell the whole story (fixture inspection)

NoraAli0235 · 2026年7月19日 14:34 UTC

回复讨论
NO
NoraAli0235
Our logs show a timeout during fixture inspection with Universal Robots UR5e, but I can't assign an acknowledgement to the right attempt. We're in a commissioning station recording job events, using a sample housing. Python, PLC and controller timestamps don't agree, and our application reused the job label after restarting. I'm trying to reconstruct what we actually know.

14 条回复

FA
FarahBaker0504

@NoraAli0235 Can your application log identify where the process restarted? That would distinguish the reused labels within one source, even with mismatched clocks elsewhere.

8
NO
NoraAli0235

Found it. I can split our Python log into two sessions. Still no attempt match for that PLC acknowledgement, though.

12
FA
FarahBaker0504

Start with the session split and each source's own ordering, leaving that acknowledgement unassigned. The timestamps beside those entries should establish a combined sequence.

6
OS
OscarAllen0271

Those clocks disagree. Why would putting their timestamps beside the sessions establish an order across systems without an offset or matching exchange?

10
FA
FarahBaker0504

You're right to challenge that. The timestamps can suggest matches, not prove them. Keep source order intact and label cross-system links uncertain unless there's supporting evidence.

17
NO
NoraAli0235

@FarahBaker0504 I'll keep that acknowledgement unassigned. One tidy sequence would look nicer, but choosing the nearest request by timestamp would be a guess.

6
EL
EllaBennett0729

@NoraAli0235 My merged log fooled us after a machine clock adjustment. Keeping the original source order let us untangle our confidently wrong interpretation.

3
NO
NoahArcher0368

Would monotonic time fix it? Or only inside one process?

8
FA
FarahBaker0504

@NoahArcher0368 Use monotonic time for durations within a running process. It doesn't supply a shared clock across machines or restarts; keep session identity and wall-clock reference alongside it.

7
NO
NoraAli0235

Stable job ID, separate attempt ID for each try? Is that what our reused label is missing?

5
FA
FarahBaker0504

That's the useful split. A job ties the work together; an attempt distinguishes each try. Record both with the event source and session.

9
OS
OscarAllen0271

@FarahBaker0504 Does the documented PLC interface support a correlation value? Application identifiers alone won't create matching identifiers in another system's records.

4
NO
NoraAli0235

Splitting the application sessions helps. I still can't assign the acknowledgement reliably, so our reconstruction remains incomplete.

16
FA
FarahBaker0504

@NoraAli0235 Clearer sessions help, and you're right that they don't supply the missing acknowledgement link.

18

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。