← 全部主题

开发日志

"The project was not saved after my change"

David · PLC Sidecar 作者

I pushed changes into TIA, but the project was not saved. I have to remember to do it by hand — I don't want that.

PLC Sidecar 团队

Cause: when compiling a single block failed during a push, the app skipped saving altogether. Compiling on its own and compiling the HMI did not save at all.

What changed:

  • A push always saves the project when at least one import went through.
  • The result is decided by compiling the whole PLC at the end, not by a single block.
  • Compiling the PLC or the HMI from the app now saves the project as well.
PLC Sidecar 团队

A related bug from the same day: after pushing one FB, TIA reported about a hundred errors. The block itself was fine — a dependent instance block simply had not been compiled yet. That is why the app now compiles the whole PLC after every push, not just the changed blocks. On the customer machine the compile then passed with 0 errors.

你的回复

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