SD: Cloning via Ladder

SD Clone functions can:

You can 'clone' a complete PLC or data using the SD Ladder functions

These Ladder functions are parallel to the actions you can carry out via Information Mode.

Note

The SD Card password and the Clone File password must be identical.

You can use Unitronics' SD Card Explorer, included in the SD Card Suite, to access SD card files and either upload them to a PC for viewing and editing, or transfer them into another PLC's SD card.

 

This function must be used with a negative transition element.

 

Parameter

Purpose

Direction

Clone To SD: Creates a compressed data file in the correct SD card folder

Clone From SD: Installs a compressed data file from an SD card folder into the PLC

File Type

Select Direct or Constant.

If you select Direct, the value in the register determines the data file that the function creates/installs according to the following legend:

  2 = Full Data Table (*.fdt files)

  4 = Firmware (*.Oxx files: .O13, .O35, or .O57)

  5 = User Application (+VLP if exists) (*.vxx files: .V13, .V35, .V57, .V10)

  7 - Full cloning (DT, Firmware, UA, Operands)(*.Cxx) .C13, .C35, .C57)or .C10

  8 = Operands (*.Dxx files: .D13, .D35, .D57)

Note that the file extension numbers relate to the Vision model: .x13 =V130, .x35 =V350, .x57 =V570, .x10 = V1040/1210

File Name

This is limited to 8 characters. The file extension is automatically assigned by the PLC according to the file type.

 If you are cloning an OS or a ‘Full Clone’, the file name MUST be exactly 8 characters long.

Status

This MI is a bitmap; a bit turns ON to indicate status.

The MI is initialized when the function starts.

 

  • All bits OFF – No errors, and the process is idle

  • Bit 1 –  No SD card found, or the card is locked (Write-enable OFF)

  • Bit 2 – Clone utility busy

  • Bit 3 -File type not found (*.FDT,*.Oxx,*.Vxx,*.Dxx,*.Cxx)

  • Bit 4– Illegal File Name

  • Bit 5 - Incompatible Boot Version/Firmware/Clone file

  • Bit 6 -  Internal use

  • Bit 7 - Timeout exceeded

  • Bit 8 - Safe to Remove Bit is ON

  • Bit 9 - Path not found (Install Clone)

  • Bit 10-Password error

Success Bit

 

Turns ON when the data is successfully written to the SD. It remains ON until it is reset by the application, or until the application calls the function.

 

SB 366: Clone in Progress. Note that the process can take from several seconds to several minutes.

The following nets show the conditions required to run the function.