{}
搜尋常見問題
M241/M251停電保持區是如何分配的?
M241/M251剩餘變量可以在斷電、重新啟動、復位和應用程序下載時重新初始化或保留其值。剩餘變量有多種類型,分別聲明為“保留”、“持久”或者組合為“保留持久性”。

      對於 M241/M251控制器,聲明為持久變量的變量行為與聲明為保留持久性變量的變量行為相同。

附件描述了各種情況下剩餘變量的行為


注意:前 1000 個%MW 會自動持久保留,前提是沒有變量與它們關聯。它們的值在重新啟動/熱復位/冷復位後得到保留。其他%MW 作為 VAR 進行管理。

例如,如果程序中具有:

VAR myVariable AT %MW0 : WORD ; END_VAR

%MW0 的行為方式類似於 myVariable(既不會保留,也不會持久)。
 

施耐德電機Taiwan

附件
附件.png [439.89 KB]
探索更多
系列:
探索更多
系列:
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.