How can we help you today?

Why the M221 PLC is not automatically booting at the end of the Clone operation from SD Card?

Article available in these languages:

  • Japanese

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


The script.cmd file has such below content (in this case, both firmware and application are selected):
Delete "/usr/cfg"
Delete "/usr/app"
Delete "/sys/os"
Download "/sys/os"
Download "/usr/app"
Download "/usr/cfg"
Reboot

When inserting a SD card into a M221 with the above script file, at the end of the application download, the script executes a “Reboot” command to make the PLC booting and starting with this new application. The M221 PLC behavior would depend on the Boot version it has (Boot is included during manufacturing process, and not updated during a firmware update).


-If the PLC was manufactured with Boot version (it can be read within %SW13) < 28, then the PLC will manage this command. It will reboot and start with this new downloaded application.

-If the PLC was manufactured with a more recent Boot version >=28, then the PLC will reject the "Reboot" command, with an error into the script.log reporting “Reboot - Invalid Command “ and it’s only removing the SD card from the PLC, which will make the M221 automatically reboot.

Schneider Electric Netherlands

Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:
  • Products Documentation
  • Software Downloads
  • Product Substitution and Replacement
  • Help and Contact Center
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • General Terms of Business
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings