{}

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

Welcome to the Schneider Electric corporate Website

Search FAQs
How do I clone an M221 controller application using an SD card?
Issue:
What are the steps to take to clone a M221 on a SD card?

Product line:
M221

Environment:
EcoStruxure Machine Expert Basic (formerly SoMachine Basic).

Resolution:
Cloning allows you to automatically back up the application, firmware, and post configuration (if it exists) of the Modicon M221 Logic Controller to the SD card.
The SD card can then be used to later restore the firmware, application, and post configuration (if it exists) to the logic controller, or copy them to another logic controller with the same reference.
Before cloning a controller, the M221 Logic Controller verifies whether the application is copy-protected or not.

NOTE:
  • The SD card must be empty and correctly formatted to perform this procedure.
  • The SD card name must be different from DATA, refer to Data Logging.
  • The detected error log and data memory are not cloned.
  • If the application is password-protected, the clone operation is blocked (the SD LED is flashing).


Creating a Clone SD Card from an existing M221 PLC:
This procedure describes how to copy the application, firmware, and post configuration (if it exists) from the controller to an SD card:
1) Format an SD card on a PC (with FAT32 file system)

2) Insert the SD card into the controller.
Result: The clone operation starts automatically and the SD LED is illuminated.

3) Wait until the end of the operation (until the SD LED is off or flashing).
If an error is detected, the SD LED flashes and the detected error is logged in Script.log file.

NOTE: The clone operation lasts 2 or 3 minutes. The clone operation has a low priority in order to minimize impact on the user logic and communication performance of the logic controller. Depending on the amount of free time in your program, the operation may require more time to complete if the logic controller is in RUNNING state compared to the STOPPED state.

4) Remove the SD card from the controller.


Restoring or Copying from a Clone SD Card into an M221 PLC
This procedure describes how to download the application, firmware, and post configuration (if it exists) stored in the SD card to your controller
1) Remove power from the controller

2) Insert the SD Card (that was the result of a Clone procedure) into the controller

3) Restore power to the controller.
Result: The clone operation is in progress
NOTE: The SD LED is lit during the operation.

4) Wait until the end of the operation (until the SD LED is off or flashing).
If an error is detected, the SD and ERR LEDs flash and the detected error is logged in Script.log file.

5) Remove the SD card and the controller will perform a restart by itself.

Schneider Electric Global

Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: