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

Why does the M221 controller not start automatically after a Clone operation using an SD card?

Article available in these languages:

A script (script.cmd file) can be generated via SoMachine/Machine Expert Basic (Commissioning >> Memory Management) to create an SD card image containing the application (with or without the firmware).

The script.cmd file appears as follows (in this example, both the firmware and the application are selected):

Delete "/usr/cfg"
Delete "/usr/app"
Delete "/sys/os"
Download "/sys/os"
Download "/usr/app"
Download "/usr/cfg"
Reboot

When an SD card containing this script is inserted into an M221 logic controller, a "Reboot" command is executed once the application has been loaded, causing the controller to restart and launch the new application. The behavior of the M221 controller then depends on its "Boot" version (this version is embedded during manufacturing and is not altered by firmware updates):


- If the controller was manufactured with a "Boot" version (which can be checked via register %SW13) lower than 28, it will process this command: it will restart and launch the newly loaded application.

- If the controller was manufactured with a more recent "Boot" version (28 or higher), it will reject the "Reboot" command. A "Reboot - Invalid Command" error will be recorded in the script.log file; in this case, the M221 will only restart automatically once the SD card is removed from the controller.

施耐德電機Taiwan

探索更多

系列:

探索更多

系列:

需要協助?

產品選型工具

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

取得報價

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

購買地點

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

支援中心

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