我们今天能为您提供什么帮助?

How do I update initialization values of variables on the fly?

The first step in being able to update the initialization value your variables is to set the SAVE attribute in the Data Editor.

However, By itself, the SAVE feature does nothing, but this attribute is used along with the "Update Init values with Current Values" and "Update Local Init Values with PLC Init Values"

To better understand these features, you must first understand that there are 2 versions of the program on the PLC at any given time: The Stored Version, which is stored to Non-volatile Memory and the Running version of the project, which is loaded from Non-volatile Memory to the RAM when the PLC starts.

By having the SAVE attribute checked and launching "Update Init values with Current Values", which is equivalent to invoking %S94, this will update all the Initial values with the current values in the Running version of the project at the time the function is executed.

Then after "Update Init values with Current Values" is completed, you should trigger "Update Local Init Values with PLC Init Values" the same as triggering %S66 in order to update these values in the Stored version of the project.

If only "Update Init values with Current Values" is triggered without "Update Local Init Values with PLC Init Values" and the PLC is Power Cycled, then these init values will be lost, because the stored project was not updated.

These three features need to be used together in order to update initial values on the fly.

施耐德電機Taiwan

探索更多
產品:
探索更多
產品:
  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 施耐德電機社群
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings