XLE, XLEe, XLT, XLTe: How to Backup Program Using Clone Unit
Return to: Horner Tech Support FAQ
This section includes:
Overview
The ‘Clone Unit’ feature allows the user to “clone” the OCS of the exact same model. This feature “clones” application program and unit settings stored in Battery backed RAM of an OCS into the RM.
This feature can be used for:
-
Replacing an OCS by another unit of the same model.
-
Duplicating or “cloning” units without a PC.
Resources
For further information on this controller, please refer to the following documents on our website: www.hornerautomation.com
Manual Numbers for XLE, XLEe, XLT & XLTe |
|
---|---|
User Manual |
|
Datasheet for Model 0 |
|
Datasheet for Model 2 |
|
Datasheet for Model 3 |
|
Datasheet for Model 4 |
|
Datasheet for Model 5 |
|
Datasheet for Model 6 |
Make Clone
User must perform the following sequence of action to Clone a unit:
Step 1: Clone Unit can be accessed by going to the System Menu of the OCS. A new menu Clone Unit has been added at the end of the main System Menu as shown below:
Selecting Clone Unit menu will open the following menu screen:
-
In the above figure, F3 and F4 are inactive in the Clone Unit.
-
DSK – when selected shows the number of total and free bytes in Removable Media.
Step 2: Make/Create Clone option enables the user to duplicate / Clone an application file, all unit settings and all register values from Battery Backed RAM.
Selecting Make Clone opens the Clone Unit Confirmation Screen:
After confirmation, the OCS will create two new files in the root directory of the Removable Media Drive as shown below:
-
AUTOLOAD.PGM - Application file
-
CLONE.DAT - File having all unit settings and register values from Battery Backed RAM
NOTE: Make/Create clone operation automatically includes the security in AUTOLOAD.PGM file for security enabled files.
Step 3: Once the cloning is successful, the OCS shows the Cloning status:
Make/Create clone can also be triggered by setting %SR164.9 bit to ‘1’ from Ladder program or graphics. Once the operation is completed, this bit is made zero by the firmware. When Make/Create clone operation is triggered by this SR bit, it does not ask the user for confirmation to make the clone. The success / failure of the operation is also not notified on screen to the user.
In case of failure of ‘Make Clone’ operation, %SR164.11 bit is set to ‘1’ by the firmware and never reset.
NOTE: Backup of registers in flash memory is not performed by the Clone feature.
Load Clone
This option loads the application, all unit settings and register values from Removable media to the Battery backed RAM (Regardless of AutoLoad settings) and then resets the OCS for the settings to take effect.
User must perform the following to Load the Clone.
Step 1: Select ‘Clone Unit’ from main system menu of OCS as shown below:
Selecting Clone Unit menu will open the following menu screen. Select Load Clone.
Step 2: 2. User must confirm Load Clone as shown below:
Step 3: After confirmation, all unit settings and register values will be loaded from the Removable media to the Battery backed RAM (Regardless of AutoLoad settings) and then the OCS resets at which stage the settings take effect.
NOTE: For security enabled files, ‘Load Clone’ asks for password validation before loading the application.
Load clone can also be triggered by setting %SR164.10 bit to ‘1’ from Ladder program or graphics. Once the operation is completed, this bit is made zero by the firmware. When the Load clone operation is triggered by this SR bit, it does not ask the user for confirmation to load the clone. The success / failure of the operation is not notified on the screen to the user.
In case of failure of the ‘Load Clone’ operation, %SR164.12 bit is set to ‘1’ by the firmware and never reset.