← 全部主题

开发日志

Versions, review before push, and rollback

David · PLC Sidecar 作者

For every bigger change I want a version — daily, or with a checkbox. Before a change, load the current state from TIA and the PLC (or work offline). After the change, a window with the list of changes and a before / after comparison. And I must be able to go back to an older version, whole or just selected changes.

PLC Sidecar 团队

Done in several steps:

  • Versions are created before and after every writing job (default: the first write of the day = a full version).
  • Freshness check: if someone changed a block directly in TIA in the meantime, the push stops before importing and offers to take over the TIA version.
  • List of changes after every job: before / after for every object, readable even for LAD/FBD.
  • Review before push: the state in TIA next to what will be sent; single blocks can be left out.
  • Rollback of a whole version or only selected changes — through the same review.
  • AI writes a short summary of each version in six languages.
PLC Sidecar 团队

What went wrong: the "create a version" option (yes/no) was accidentally written as the TIA version into the exported file, and the HMI tag import then failed. Fixed — the TIA version now comes only from the project, never from job options.

Comparing with the online PLC is written but still waiting to be verified on a reachable PLC.

你的回复

格式:**粗体**、*斜体*、`代码`、``` 代码块 ```、- 列表、链接。不支持 HTML。