Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
Why the M221 PLC is not automatically booting at the end of the clone operation from SDcard?

Article available in these languages: Japanese


A script (file script.cmd) can been created with SoMachineBasic ( commissioning, -MemoryManagement ) to create a SD card image within the application ( and or without the firmware)
Then the script.cmd file have such below content (In case both firmware and application is selected)
Delete "/usr/cfg"
Delete "/usr/app"
Delete "/sys/os"
Download "/sys/os"
Download "/usr/app"
Download "/usr/cfg"
Reboot

When inserting a SDCard into a M221 which those above script file, at the end of the application download, the script included a command “Reboot” to make the PLC booting and start with this new application. The M221 PLC behavior would depend the boot version it have (boot is included during manufacturing process, and not updated during a firmware update)

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

-If the PLC was manufactured with a more recent boot version >=28 , then the PLC reject the command “Reboot”, with the report into the script.log reporting fil “Reboot - Invalid Command
and it’s only removing the SDcard from the PLC, which will make the M221 automatically reboot

Schneider Electric Ireland

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:

Need help?

  • Product Selector

    Quickly and easily find the right products and accessories for your applications.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Help Centre

    Search topic-related frequently asked questions to find answers you need.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Find our Offices
  • Where to buy
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings