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

Persistent variables in Machine Expert - Basic with M221

Article available in these languages:

Automatic Saved on Power Outage
The controller automatically saves the first 50 Memory Words (%MW0 to %MW49) in the internal data flash following a power outage. The date is restored to the memory word region during the initialization, even if the controller performs a cold start due to a battery malfunction.
These automatically saved persistent variables are reinitialized in case of a new download, INIT command or %S0 activation.
Saved by User Request
You can save up to 2000 memory words (%MW50 up to %MW2049) in the flash memory. The number of words saved or restored is specified in the system word %SW148.
To perform the SAVE operation, set system bit %S93 to 1. The flash region is erased at the end of the MAST cycle. The operation exclusively occupies the controller for approximately 40 ms. The system bit %S92 is set to 1 to signal the end of operation.
The restore is performed by setting %S94 to 1. The restore operation is performed completely at the end of the MAST cycle.

Notes:
When the battery is present, all %M and %MW words are retained
If the battery is not present only the first %MW0 to %MW49 are retained, as mentioned above.. %M bits are not retained.
%MF and %MD registers overlap with %MW words and the ones that overlap with the retained registers will also be retained. For example %MF0 / % MD0 overlaps with %MW0 and %MW1, %MF1/ %MD1 overlaps with %MW1 and %MW2  and so on and so forth.

If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:

Support | Schneider Electric Global (se.com)

施耐德電機Taiwan

探索更多

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

在同一位置找到滿足您所有需求的支援資源。