Hur kan vi hjälpa dig idag?

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.

Schneider Electric Sverige

Utforska mer

Produktfamilj

Utforska mer

Produktfamilj

Behöver du hjälp?

Produktväljare

Hitta snabbt och enkelt rätt produkter och tillbehör för dina ändamål.

Begär en offert

Ställ din fråga online så kontaktar vi dig.

Här köper du

Hitta enkelt närmaste Schneider Electric-distributör på din ort.

Hjälpcenter

Hitta alla supportresurser som du behöver på ett ställe.