Engineering Tools Backup & Restore Data saving and restoring _ Software Manual EN Ä.N""ä 13450101 L
Contents 1 About this documentation......................................................... 4 1.1 Document history............................................................... 6 1.2 Conventions used............................................................... 7 1.3 Terminology used............................................................... 8 1.4 Definition of the notes used..................................................... 9 2 Controller-based Automation: Central motion control................................. 10 3 Basic concept..................................................................... 13 3.1 What are the functions offered by»backup & Restore«?........................... 13 3.2 Storage media used............................................................. 13 3.3 Differences between backup, restore, and update................................. 15 3.3.1 Backup.................................................................. 15 3.3.2 Restore and auto-restore................................................. 16 3.3.3 Update and auto-update................................................. 17 3.4 Standard procedure............................................................. 18 3.5 Signalling of the processing state................................................ 20 4 Creating a backup & carrying out recovery........................................... 21 4.1 Creating a backup............................................................... 21 4.1.1 Creating a backup: with the Engineering PC (recommended variant)....... 23 4.1.2 Creating a backup: Directly on the controller.............................. 24 4.1.3 Alternative: Creating a backup with the»webconfig«..................... 25 4.1.4 Alternative: Windows Explorer - on "Directory/file" level................... 27 4.2 Carrying out restore and auto-restore............................................ 28 4.2.1 Carrying out a restore: on the Engineering PC (recommended variant)...... 28 4.2.2 Carrying out a restore: directly on the controller........................... 29 4.2.3 Alternative:»WebConfig«................................................ 30 4.2.4 Alternative: Windows Explorer - on "Directory/file" level................... 31 4.2.5 Carrying out an auto-restore............................................. 32 4.3 Carrying out an update/auto-update (only available for control technology)........ 33 4.3.1 Software application»backup & Restore«................................. 33 4.3.2 Alternative:»WebConfig«................................................ 33 4.3.3 Alternative:»Windows Explorer«......................................... 33 2 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
Contents 5 Diagnostics....................................................................... 34 5.1 Status LEDs of the controllers.................................................... 34 5.2 Text outputs (optional panel/screen required).................................... 36 5.2.1 Error messages when a backup or restore is carried out.................... 36 5.2.2 Error messages when an update is carried out............................. 38 5.3 Event of an error: Controller c300/p300 does not start............................ 40 6 Index............................................................................ 41 Your opinion is important to us......................................................... 42 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 3
1 About this documentation 1 About this documentation This documentation contains information for carrying out»backup & Restore«on the following Lenze Controllers: Cabinet Controller as control system Panel Controller as visualisation system Cabinet controllers with a DVI interface require an external Monitor Panel. This manual is part of the Controller-based Automation manual compilation. It consists of the following documents: Documentation type System manuals Communication manuals Online helps Reference manuals Online helps Software manuals Online helps Subject System overview/sample topologies Controller-based Automation Visualising Bus systems Controller-based Automation EtherCAT Controller-based Automation CANopen Controller-based Automation PROFIBUS Controller-based Automation PROFINET Lenze Controller: Controller 3200 C Controller c300 Controller p300 Controller p500 Lenze Engineering Tools:»PLC Designer«: Programming»Engineer«: Inverter configuration»visiwinnet Smart«: Visualisation»Backup & Restore«: Back up/restore data 4 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
1 About this documentation More technical documentation for Lenze components Further information on Lenze products which can be used in conjunction with Controller-based Automation can be found in the following sets of documentation: Mounting & wiring Mounting instructions Controller Communication cards (MC-xxx) I/O system 1000 (EPM-Sxxx) Inverter, Servo Drives Communication modules Operating instructions Controller Servo system ECS (ECSxE, ECSxM) Sample applications/using application templates Online help/software manuals Application Sample i700 Application Samples ApplicationTemplate Parameter setting, configuration, commissioning Online help/reference manuals L-force Controller Inverter, Servo Drives I/O system 1000 (EPM-Sxxx) Online help/communication manuals Bus systems Communication modules Operating instructions Servo system ECS (ECSxE, ECSxM) Symbols: Printed documentation Online help in the Lenze Engineering Tool (also available as PDF file at www.lenze.com.) Tip! Current documentation and software updates with regard to Lenze products can be found in the download area at: www.lenze.com Target group This documentation addresses to all persons who save/restore data and carry out software updates with the Lenze»Backup & Restore«tool on a controller. Information on validity The information provided in this documentation is valid for... the Lenze automation system "Controller-based Automation" from version 3; Lenze Cabinet Controllers and Panel Controllers. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 5
1 About this documentation 1.1 Document history 1.1 Document history Version Description 1.0 08/2010 TD11 First edition on the Lenze automation system "Controller-based Automation" 3.x 1.1 06/2011 TD11 Revision on the Lenze automation system "Controller-based Automation" 3.1 1.2 08/2012 TD11 Revision on the Lenze automation system "Controller-based Automation" 3.3 1.3 04/2014 TD17 Revision on the Lenze automation system "Controller-based Automation" 3.8 6 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
1 About this documentation 1.2 Conventions used 1.2 Conventions used This documentation uses the following conventions for highlighting different types of information: Type of information Identification Examples/notes Numbers Decimal Normal spelling Example: 1234 Decimal separator Point In general, the decimal point is used. Example: 1234.56 Hexadecimal 0x[0... 9, A... F] Example: 0x60F4 Binary Nibble Text 0b[0, 1] Example: 0b0110 Example: 0b0110.0100 Version information Text colour blue All pieces of information that only apply to or from a specific software version of the controller are highlighted correspondingly in this documentation. Example: This function extension is available from software version V3.0! Program name» PLC Designer«... Window italics The message window... / The Options dialog box... Variable name Setting benable to TRUE... Control element Bold The OK button... / The Copy command... / The Properties tab... / The Name input field... Sequence of menu commands If several commands must be used successively to carry out a function, the individual commands are separated by an arrow: Select File Open to... Shortcut <Bold> Use <F1> to open the online help. If a key combination is required for a command, a "+" is placed between the key identifiers: With <Shift>+<ESC>... Hyperlink underlined Reference to further information: Hyperlink to further information. Icons Page reference ( 7) Reference to further information: Page number in PDF file. Step-by-step instructions Step-by-step instructions are marked by a pictograph. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 7
1 About this documentation 1.3 Terminology used 1.3 Terminology used Term Flash memory Secure Digital card (SD card) Control file USB stick Meaning The flash memory (exact designation Flash-EEPROM) is the internal memory of the controller. The terms "Secure Digital card" and "SD card" are used synonymously. The dialogs of the user interface use the designation "SD card". On the SD card the controller saves the project data. The control file is a configuration file for the»backup & Restore«runtime. The configuration of this file is used to carry out the action on the controller. The USB stick... is the central storage medium for executing a backup/restore; serves to transfer data between the controller and the Engineering PC. 8 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
1 About this documentation 1.4 Definition of the notes used 1.4 Definition of the notes used The following signal words and symbols are used in this documentation to indicate dangers and important information: Safety instructions Layout of the safety instructions: Pictograph and signal word! (characterises the type and severity of danger) Note (describes the danger and suggests how to prevent dangerous situations) Pictograph Signal word Meaning Danger! Danger of personal injury through dangerous electrical voltage Reference to an imminent danger that may result in death or serious personal injury if the corresponding measures are not taken. Danger! Danger of personal injury through a general source of danger Reference to an imminent danger that may result in death or serious personal injury if the corresponding measures are not taken. Stop! Danger of damage to material assets Reference to a possible danger that may result in damage to material assets if the corresponding measures are not taken. Application notes Pictograph Signal word Meaning Note! Important note to ensure trouble-free operation Tip! Useful tip for easy handling Reference to other documentation Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 9
2 Controller-based Automation: Central motion control 2 Controller-based Automation: Central motion control The Lenze automation system "Controller-based Automation" serves to create complex automation solutions with central motion control. Here, the Controller is the control centre of the system. System structure of the Controller-based Automation: "All from one single source" [2-1] Sample configuration (EtherCAT bus system): 3200 C controller with I/O system 1000 and Servo-Inverter i700 10 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
2 Controller-based Automation: Central motion control Lenze provides especially coordinated system components: Engineering software The Lenze Engineering Tools on your Engineering PC (Windows operating system ) serve to parameterise, configure and diagnose the system. The Engineering PC communicates with the controller via Ethernet. Controller The Lenze Controller is available as Panel Controller with integrated touch display and as Cabinet Controller in control cabinet design. Cabinet Controllers provide a direct coupling of the I/O system 100 via the integrated backplane bus. The runtime software of the Lenze Controllers provides the control and/or visualisation of motion sequences. The following software versions are available: "Logic": Sequence control in the Controller, motion control in the inverter "Motion": Sequence control and motion control in the Controller, inverter as actuating drive "Visu": Optional visualisation of the automation system, can be used separately or in addition to "Logic" or "Motion" An external monitor panel/display can be connected to the Cabinet Controller 3231 C/ 3241 C. Without software: Controller as single component with operating system only Bus systems EtherCAT is a standard "on board" bus system of the Controller-based Automation. EtherCAT enables the control of all nodes (Motion/Logic) on one common fieldbus. Optionally, CANopen, PROFIBUS and PROFINET can be used as extended topologies. The Controllers c300/p300 have a CANopen interface "on board" as well (in addition to EtherCAT). Inverter (e.g. Servo Inverter i700) "Logic & Motion" runtime software The "Controller-based Automation" system allows for the central control of devices for Logic and Motion applications. The runtime software runs on the Controller. In case of Logic applications, the sequence control is carried out in the Controller and the motion control is carried out in the inverter. In case of Motion applications, the sequence control and motion control are carried out in the Controller. The inverter is used as actuating drive. Motion applications make special demands on the cycle time and real-time capability of the bus system between the Controller and the subordinate fieldbus nodes. this is for instance the case if the field devices, for example, are to move in a synchronised way or if position setpoints are to be transmitted. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 11
2 Controller-based Automation: Central motion control Fieldbus communication The Lenze Controllers have different interfaces for fieldbus communication: Area Cabinet Controller Panel Controller c300 3221 C 3231 C 3241 C p300 p500 Interfaces (on board) Ethernet 1 2 1 2 EtherCAT 1 1) 1 1 1) 1 CANopen 1 2) - 1 2) - Optional interfaces (communication cards) CANopen - - MC-CAN2 PROFIBUS master - - MC-PBM PROFIBUS slave - - MC-PBS PROFINET device MC-PND - - 1) In preparation 2) Only the CAN master functionality is supported. The Ethernet interface serves to connect the Engineering PC or to create line topologies (no integrated switch for Controller c300/p300). More information on the bus systems and configuration can be found in the communication manuals: Controller-based Automation EtherCAT Controller-based Automation CANopen Controller-based Automation PROFIBUS Controller-based Automation PROFINET 12 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
3 Basic concept 3.1 What are the functions offered by»backup & Restore«? 3 Basic concept This chapter contains information on the functional principle of»backup & Restore«. 3.1 What are the functions offered by»backup & Restore«?»Backup & Restore«allows for... the creation of backups: saving the data of a Lenze Controller the restoring of backups: carrying out restores, restoring data bases the installation of updates (only available for the control technology): updating the software version of the controller 3.2 Storage media used The controller manages the data bases within an internal flash memory (flash) and on the SD memory card.»backup & Restore«allows for saving/restoring the data of the internal flash memory and the SD card on a USB stick. Internal flash memory The controllers are equipped with an internal flash memory. This memory contains the operating system and the Lenze software. The controller boots from this memory. Since this memory is fixedly installed in the device, the data stored are to be saved by means of»backup & Restore«. SD card The SD card serves to save project data in the controller.»backup & Restore«saves the data of the SD card. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 13
3 Basic concept 3.2 Storage media used USB stick The USB stick is the central storage medium for executing a»backup & Restore«. The USB stick is the storage medium required for backups and updates. Note! For working with»backup & Restore«in an error-free manner, exclusively USB sticks approved by Lenze are to be used. Solely USB sticks approved by Lenze ensure a correct functionality. Currently approved versions and memory sizes are listed in the up-to-date Lenze sales documents. Tip! Current documentation and software updates with regard to Lenze products can be found in the download area at: www.lenze.com 14 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
3 Basic concept 3.3 Differences between backup, restore, and update 3.3 Differences between backup, restore, and update The»Backup & Restore«tool enables the following actions: backup, restore, and update. The processes Backup (saving data), Restore (importing data of a backup), and Update (updating the software of the controller) are to be distinguished. Auto-Restore and Auto-Update are optimised processes for carrying out a series commissioning. 3.3.1 Backup What is a backup? A backup saves the entire data base of a Lenze Controller. The backup saves the following permanently stored data bases of the controller: Operating system Software Project data A backup is the basis to be able to carry out a restore in the event of an error. Lenze recommends the creation of regular backups to avoid data loss. Functional principle of a backup During the creation of a backup on the controller components (from the internal flash memory and the SD card) are copied to the USB stick. The USB stick is the storage medium used for backups. The backup always comprises the contents of the internal flash memory and the SD card. A backup is to be carried out manually. Further information can be found in the following section: Creating a backup & carrying out recovery ( 21) Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 15
3 Basic concept 3.3 Differences between backup, restore, and update 3.3.2 Restore and auto-restore Before a restore can be carried out, the USB stick must be prepared. What is a restore / auto-restore? Restoring a (previously created) backup is referred to as Restore. Restore and auto-restore are identical as regards the data contents - they merely differ with regard to the use (one-time restore or multiple restore).. Functional principle of restore and auto-restore A restore writes the (previously saved) backup data from the USB stick back to the internal flash memory and the SD card. In the case of a restore first a backup is created by the controller, in order to be able to retrieve the original state (in the event of an error). In the case of an auto-restore a restore without a backup is carried out. Differences between a restore/auto-restore Restore One-time restore of a backup which was previously configured. Select this process to restore the data bases of a backup on an individual controller. When carrying out a restore a backup is created beforehand. Auto-Restore Multiple restore (restoring a backup) on an optional number of controllers. If the USB stick is connected to another controller, the auto-restore is carried out automatically (series commissioning). When executing an auto-restore, a restore is carried out directly - no backup of the system is created before. 16 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
3 Basic concept 3.3 Differences between backup, restore, and update 3.3.3 Update and auto-update Carry out an update to update the controller software. What is an update / auto-update? During an update the Lenze operating system is updated (only available for the control technology). Update and auto-update are identical as regards the data contents. Use an Auto-update to carry out an update on several controllers successively: series commissioning. Where can I receive an update and auto-update? Lenze provides software updates. Tip! Current documentation and software updates with regard to Lenze products can be found in the download area at: www.lenze.com Functional principle of update and auto-update»backup & Restore«updates the software of the controller. An update transfers the data from the USB stick to the internal flash memory (flash). In the case of an Update first a safety backup is created, in order to be able to restore the original state in the event of an error. In the case of an Auto-Update no backup is carried out. An optional number of controllers can be updated successively. Differences between an update and an auto-update Update One-time update of the controller software. Select this process to update the software on an individual controller. When carrying out an update a backup is created beforehand for purposes of safety. Auto-update Multiple update of the controller software, an optional number of controllers can be updated successively. The auto-update starts automatically after the USB stick has been connected to another controller: series commissioning. When executing an auto-update, an update is carried out directly - no backup of the system is created before. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 17
3 Basic concept 3.4 Standard procedure 3.4 Standard procedure For executing»backup & Restore«, corresponding software applications are preinstalled on the controller. Since the controller can be obtained with different operating systems, different software applications are provided for the configuration. The following possibilities are provided to you to carry out a»backup & Restore«: Software application»backup & Restore«on the Engineering PC Operating system Engineering PC Windows XP/7 Operating system Controller Windows CE/ embedded Compact 7 Windows embedded Standard - - [3-1] Example:»Backup & Restore«Windows XP»Backup & Restore«on the controller - [3-2] Example:»Backup & Restore«Windows CE 18 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
3 Basic concept 3.4 Standard procedure Software application»webconfig«(alternatively - in the case of remote access via Engineering PC to a Cabinet controller without Monitor Panel) Operating system Engineering PC Windows XP/7 (Via remote access to Windows CE) Operating system Controller Windows CE/ embedded Compact 7 Windows embedded Standard - - Windows Explorer (alternatively, if no (executable) controller available) [3-3] Example:»Backup & Restore«Windows XP The»Backup & Restore«software application writes a control file to the USB stick. During the subsequent restart, the control file is evaluated by the system. Then the selected action is carried out. Cabinet controllers with a DVI interface allow for the connection of an external Monitor Panel. The optionally connectable panel serves to observe the progress of the actions. The current processing status is shown by means of status LEDs. Status LEDs of the controllers ( 34) Depending on the action selected, the controller is automatically restarted (after the process has been carried out successfully), or a signal is output and it is waited until the USB stick is removed and the controller is manually restarted. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 19
3 Basic concept 3.5 Signalling of the processing state 3.5 Signalling of the processing state When an error occurs it is signalled via the Error LED on the controller and a text message on the screen. Signal transmitter Status LEDs on the controller»backup & Restore«Software application»webconfig«description The controllers are equipped with status LEDs that show the current operating status. When a backup, restore, or update is carried out, the Error and Status 1 LEDs signal the processing progress or a possible error status. On an optionally connected panel (screen) texts showing status and error messages can be read. Status LEDs of the controllers ( 34) The»Backup & Restore«application provides status information in the form of dialog windows. On an optionally connected panel (screen) texts showing status and error messages can be read. When an update is carried out (only available for the control technology), status messages are written. The status messages can be viewed via the logbook function of the»webconfig«. The»WebConfig«signals the respective status by outputting a text in the corresponding code: 20 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
4 Creating a backup & carrying out recovery 4.1 Creating a backup 4 Creating a backup & carrying out recovery The»Backup & Restore«functionality of the controller can be executed using different software applications. They are listed in the following subchapters. There are different possibilities for carrying out a backup, restore/update: 1. With the Engineering PC:»Backup & Restore«application/via»WebConfig«2. Directly with the»backup & Restore«application. Standard procedure 4.1 Creating a backup Note! A backup saves all data of the controller. (data of the internal flash memory and data of the SD card). For a successful creation of a backup there has to be a sufficient amount of free memory capacity on the USB stick. Guide value for the size of a backup file: Windows CE 6.0: 100 MB (3200 C/p500) Windows Embedded Compact 7: 200 MB (c300/p300) Windows Embedded Standard: 2 GB The free memory capacity of the USB stick at least has to be half of the SD card capacity + 2 GB (guide value for Windows embedded standard). Remove the USB stick from the controller after the successful execution of the backup. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 21
4 Creating a backup & carrying out recovery 4.1 Creating a backup Components of the backup designation The designation of the»backup & Restore«directory contains the following components: <Prefix>_<Controller>_<Serial number>_<operating system>_<backup name>_<date>_<time> Part Prefix Product name Serial number Operating system Backup name Date/time Information IPC backup for a data backup IPC update for a (software) update Product name (device-dependent availability) Example: c300/p300 Serial number of the controller Operating system with which the backup was created. Example: CE for Windows CE. Backup name (length: 2-16 characters) Name the backup according to the machine functionality to be able to better identify the backup later on. Example: winder Creation time of the backup Example: IPCBackup_1390099990000999999999_CE_Winder_20131105_165803 22 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
4 Creating a backup & carrying out recovery 4.1 Creating a backup 4.1.1 Creating a backup: with the Engineering PC (recommended variant) [4-1] Illustration example:»backup & Restore«under Windows XP (Engineering PC) How to carry out a backup: 1. Connect the USB stick to the Engineering PC. 2. Start»Backup & Restore«on the Engineering PC. 3. Select the USB stick. 4. Select the Backup tab. 5. Assign backup name in the input field (length: 2-16 characters) Further information: Components of the backup designation ( 22) 6. Press Start. The control file is written to the USB stick. 7. Remove the USB stick from the Engineering PC and connect it to the controller on which the backup is to be carried out. 8. Restart controller (with connected USB stick) by mains switching. Contollers in Windows CE systems are automatically restarted. The backup data are saved to the \Backup subdirectory on the USB stick after successful write operation. 9. After the boot-up of the controller: Remove the USB stick from the controller. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 23
4 Creating a backup & carrying out recovery 4.1 Creating a backup 4.1.2 Creating a backup: Directly on the controller Note! Cabinet controllers with a DVI interface require an external Monitor Panel. [4-2] Illustration example:»backup & Restore«under Windows CE () How to carry out a backup: 1. Connect the USB stick to the USB interface of the controller. 2. Start»Backup & Restore«on the controller. 3. Select the Backup tab. 4. Assign backup name in the input field (length: 2-16 characters) Further information: Components of the backup designation ( 22) 5. Press Start.»Backup & Restore«writes the control file to the USB stick. 6. Restart controller (with connected USB stick) by mains switching. Contollers in Windows CE systems are automatically restarted. The backup data are saved to the \Backup subdirectory on the USB stick after successful write operation. 7. After the boot-up of the controller: Remove the USB stick from the controller. 24 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
4 Creating a backup & carrying out recovery 4.1 Creating a backup 4.1.3 Alternative: Creating a backup with the»webconfig«tip! For Cabinet controllers, use the»webconfig«without an external panel. Note! When operating the»webconfig«it must be observed that the values from the controller are reimported if the Update button is clicked. By clicking on Accept you overwrite the values previously saved (only the values that have changed are overwritten). Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 25
4 Creating a backup & carrying out recovery 4.1 Creating a backup How to carry out a backup using the»webconfig«: 1. Connect a USB stick to the controller. 2. Start the»webconfig«. 3. Navigate to the Backup Restore menu button. 4. Select the Backup menu item. 5. Select the Backup main action in the display area. 6. Assign the desired backup name in the input field. Further information: Components of the backup designation ( 22) 7. Select the Start Backup action and confirm your selection with the Accept button. The control file is written to the USB stick. The controller restarts. The backup is written to the USB stick. 8. Remove the USB stick from the controller. 26 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
4 Creating a backup & carrying out recovery 4.1 Creating a backup 4.1.4 Alternative: Windows Explorer - on "Directory/file" level Note! For carrying out a backup with the Windows Explorer only USB sticks which have previously been used for a»backup & Restore«can be used. Tip! In case no (executable) controller is available, or if the controller does not start in a faultless manner, the»backup & Restore«functions can be executed via an Explorer (like for example the Windows Explorer). Only create a backup if the controller is executable. How to carry out a backup using the Windows Explorer: 1. Insert a USB stick into an Engineering PC. 2. Start an Explorer. 3. Change to the directory: <USB stick>\backup\copy_backup_file Copy the Backup.xml file. 4. Store this file one folder higher: <USB stick>\backup Note: If there is a Restore.xml file in this directory it has to be deleted. 5. Applies to 3200 C/p500 controllers: Copy the menu.lst file from the <USB stick>:\backup\copy_backup_file directory to the root directory of the USB stick. <USB stick>:\ 6. Connect the USB stick to the controller of which you want to create a backup. 7. Restart controller (with connected USB stick) by mains switching. Contollers in Windows CE systems are automatically restarted. The backup data are saved to the \Backup subdirectory on the USB stick after successful write operation. 8. After the boot-up of the controller: Remove the USB stick from the controller. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 27
4 Creating a backup & carrying out recovery 4.2 Carrying out restore and auto-restore 4.2 Carrying out restore and auto-restore Note! Before a restore is performed, a safety backup is created. Remove (after carrying out the restore) the USB stick from the controller. Only applies to Windows embedded Standard: After a restore has been performed, the file system is automatically checked (chkdsk.exe). 4.2.1 Carrying out a restore: on the Engineering PC (recommended variant) [4-3] Illustration example:»backup & Restore«under Windows XP (Engineering PC) How to carry out a restore: 1. Connect a USB stick to the Engineering PC. 2. Start the»backup & Restore«application. 3. Select the USB stick. 4. Open the Restore/Update tab. 5. Select the Restore action 6. Available backups are shown. 7. Select a backup. Further information: Components of the backup designation ( 22) 8. Press Start. A control file is written to the USB stick. 9. Connect the USB stick to the controller on which you want to carry out the restore. 28 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
4 Creating a backup & carrying out recovery 4.2 Carrying out restore and auto-restore 10. Restart controller (with connected USB stick) by mains switching. Contollers in Windows CE systems are automatically restarted. The backup selected is restored. 11. After the boot-up of the controller: Remove the USB stick from the controller. 4.2.2 Carrying out a restore: directly on the controller Note! Cabinet controllers with a DVI interface require an external Monitor Panel. [4-4] Illustration example:»backup & Restore«under Windows CE () How to carry out a restore: 1. Connect a USB stick to the USB interface of the controller. 2. Start the»backup & Restore«application. 3. Open the Restore/Update tab. 4. Select the Restore action 5. Available backups are shown. 6. Select a backup. Further information: Components of the backup designation ( 22) 7. Press Start. A control file is written to the USB stick. 8. Restart controller (with connected USB stick) by mains switching. Contollers in Windows CE systems are automatically restarted. The backup selected is restored. 9. After the boot-up of the controller: Remove the USB stick from the controller. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 29
4 Creating a backup & carrying out recovery 4.2 Carrying out restore and auto-restore 4.2.3 Alternative:»WebConfig«Tip! Use the»webconfig«if the controller does not have a DVI interface or if no Monitor Panel is connected. How to carry out a restore: 1. Connect the USB stick to the controller. 2. Start the»webconfig«. 3. Navigate to the Backup Restore menu button. 4. Select the Restore Update menu item 5. Select the Restore main action in the display area.. 6. Select the desired display area of the backup/update files from the selection list. Via this setting you can select the available backups 1 to 10, 11 to 20, or 21 to 30. Up to ten backups can be shown in the display area. Note: If more than 30 backups are available on a USB stick, only the first 30 backups can be selected via the»webconfig«. The selection of a backup is to be confirmed via the Accept button. 7. Select a backup from the selection list. Further information: Components of the backup designation ( 22) 8. Select the Start Restore Update action. 9. Click on Accept. The control file is written to the USB stick. The backup selected is restored. (For purposes of safety a backup is created beforehand.) After the restore process, the controller will be restarted. 30 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
4 Creating a backup & carrying out recovery 4.2 Carrying out restore and auto-restore 10. After the boot-up of the controller: Remove the USB stick from the controller. 4.2.4 Alternative: Windows Explorer - on "Directory/file" level In case the controller does not start anymore it is possible to manually prepare a USB stick at the Engineering PC, so that afterwards a restore can be carried out with it on the desired controller. Note! Execution with the Windows Explorer is only possible if the USB stick used contains a valid backup. Creating a backup & carrying out recovery ( 21) How to carry out a restore: 1. Connect the USB stick to the Engineering PC or the controller. 2. Start the Explorer 3. Change to the directory: <USB stick>\backup It includes all backups and updates available on the USB stick. 4. Open the folder of the backup which you want to restore. The folder name corresponds to the backup file name. Further information: Components of the backup designation ( 22) 5. Copy the Restore.xml file. 6. Store this file one folder higher: <USB stick>\backup 7. Copy the menu.lst file from the <USB stick>:\backup\copy_backup_file directory to the root directory of the USB stick: <USB stick>:\ 8. Connect the USB stick to the controller on which you want to carry out a restore. 9. Restart controller (with connected USB stick) by mains switching. The restore is automatically carried out during the boot-up process. 10. After the boot-up of the controller: Remove the USB stick from the controller. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 31
4 Creating a backup & carrying out recovery 4.2 Carrying out restore and auto-restore 4.2.5 Carrying out an auto-restore Note! When executing an Auto-restore, a restore is carried out directly - no backup of the system is created before. An auto-restore is an optimised process for carrying out a series commissioning. An auto-restore serves to automatically save identical backup data to multiple controllers. Auto-restore with»backup & Restore«- software application In order to be able to perform an auto-restore, a one-time backup of the desired controller the data bases of which you want to copy must be effected. Creating a backup & carrying out recovery ( 21) A USB stick configured for auto-restore can afterwards be used for an optional number of autorestore processes. How to prepare a USB stick for an auto-restore: The individual steps of an Auto-Restore are identical to those of a Restore. Carrying out restore and auto-restore ( 28) 1. Select the Auto-Restore command from the selection list to start the process. 2. Connect the USB stick to the desired controller. 3. Restart controller (with connected USB stick) by mains switching. The restore is automatically carried out during the boot-up process. 4. After the boot-up of the controller: Remove the USB stick from the controller. Tip! This process can be repeated with an optional number of controllers. Alternative: WebConfig - web interface How to prepare a USB stick for an auto-restore: The individual steps of an Auto-Restore are identical to those of a Restore. Carrying out restore and auto-restore ( 28) 1. Select the Auto-Restore command from the selection list to start the process. 2. Connect the USB stick to the desired controller. 3. Restart controller (with connected USB stick) by mains switching. The restore is automatically carried out during the boot-up process. 4. After the boot-up of the controller: Remove the USB stick from the controller. 32 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
4 Creating a backup & carrying out recovery 4.3 Carrying out an update/auto-update (only available for control technology) 4.3 Carrying out an update/auto-update (only available for control technology) Note! A (software) update provided by Lenze is to be copied into the directory <USB stick>\backup to the USB stick. 4.3.1 Software application»backup & Restore«The individual steps of an (auto-)update are identical to those of an (auto-)restore. Select the (Auto- )update command from the selection list to start the process. 4.3.2 Alternative:»WebConfig«The individual steps of an Update are identical to those of a Restore. Select the Update command from the selection list to start the process. 4.3.3 Alternative:»Windows Explorer«The individual steps of an update are identical to those of a restore. Please carry out the steps specified in the "Restore" section accordingly. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 33
5 Diagnostics 5.1 Status LEDs of the controllers 5 Diagnostics 5.1 Status LEDs of the controllers The controllers are equipped with LEDs that signal the current operating status. Depending on the controller used, the colouring of the LEDs may vary. Power: green/blue*, yellow Error: green, red Status 1: green, yellow Status 2: no function * device-dependent LED colour: either green or blue [5-1] Example: Cabinet Controller 3200 C Specific signals during a»backup & Restore«process When a backup, restore, or update is carried out, the controllers show the respective status of the»backup & Restore«process by means of the Error and Status 1 LEDs. The signalling of the status LEDs displays the respective status: LED Interval Meaning Colour 1 / Colour 2 Error - during a»backup & Restore«Green permanently lit»backup & Restore«process is completed, status: "Complete". Red blinking (5.0 Hz) Green Red blinking (5.0 Hz)»Backup & Restore«process, status: "Error". Possible causes: Fatal error (Abort) SD card not available/not inserted correctly in slot Mains switching required Status 1 ("busy") - during a»backup & Restore«Green blinking»backup & Restore«process active. (0.5 Hz) Green Yellow blinking (0.5 Hz) Remove USB stick General information about the status LEDs of the controllers LED Interval Meaning Colour 1 / Colour 2 Power green/blue* constant Starting sequence properly completed. No active error Controller is switched on Supply voltage OK 34 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
5 Diagnostics 5.1 Status LEDs of the controllers LED Colour 1 / Colour 2 green/ blue* Yellow constant The supply voltage has fallen below the minimum value (voltage failure/"powerfail") Yellow blinking (2.0 Hz) blinking (0.5 Hz) Only for Controller 3241 C: Green blinking (5.0 Hz) Only for Controller 3241 C: Green Yellow blinking (5.0 Hz) Error Red Interval blinking (5.0 Hz) Green Red blinking (5.0 Hz) Status after switch-on/restart (in preparation for c300/p300 controllers.) "System clock is not synchronised" (missing time information). Note: If the controller is switched off for more than two weeks, the set time information is lost. The next starting sequence will generate a logbook entry (Power LED is blinking green/blue). The current time must be set manually via the»webconfig«(parameter 91). Battery pack (ACCU-PACK) is not fully charged. The length of the dark bar indicates the charge condition: Battery pack almost dead: long dark bar Battery pack almost full: short dark bar Error status of the battery pack (ACCU-PACK) UPS function not available, possible cause: Interrupted connection to the battery pack Battery pack not connected, cable break/short circuit Error Fatal error (Abort) SD card not available/not inserted correctly Operating system licence not available Mains switching required Status 1 ("busy") Green permanently lit Controller is running (operating status): PLC project is running (device is running, operating status) blinking (0.5 Hz) Starting sequence of the controller is active Green Yellow blinking (0.5 Hz) Meaning Status 2 - - No function * device-dependent LED colour: either green or blue User action required: "Load PLC project": PLC was started, project is not running Remove USB stick Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 35
5 Diagnostics 5.2 Text outputs (optional panel/screen required) 5.2 Text outputs (optional panel/screen required) During the actions are processed, the software outputs information in the form of text messages and progress bars (requires optional panel/screen). The backup and restore processes pass through several successive steps. A sequence step can only be executed if the previous step has been successful. In order to be able to trace the processing order of the individual steps, messages are output during the entire processing procedure. The respective message signals which processing step has been passed through. 5.2.1 Error messages when a backup or restore is carried out During the processing of the backup/restore, the following error messages may occur: Backup Restore Processing order Error messages Processing order Error messages 36 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
5 Diagnostics 5.2 Text outputs (optional panel/screen required) Message Message Information / remedy E0 Failed to initialize hardware modules It is tried to carry out a backup or restore on an unknown device. Use the approved Lenze hardware for carrying out the»backup & Restore«processes. E1 E2 E3 E4 E5 E6 E7 ERROR: No Backup and Restore device found! ERROR: CONTROL FILE MISSING OR CORRUPT! No changes applied! ERROR: The target drive is the Backup device! No hard disk found. ERROR: No internal storage device detected! The system is unchanged! ERROR: No operating system found for backup! The backup was aborted! No data was saved! Error: Not enough disk space on Backup device! The backup was aborted! No data was saved! Error: No storage device for user data for backup found! The backup is aborted! No data was saved! The USB stick inserted does not contain a valid data structure. Prepare the USB stick with the»backup & Restore«software application. The USB stick inserted does not contain a valid control file. Prepare the USB stick with the»backup & Restore«software application. Creating a backup: with the Engineering PC (recommended variant) ( 23) Access to the internal storage medium is not possible. The hardware is damaged! Contact the Lenze support. Access to the internal storage medium is not possible. The hardware is damaged! Contact the Lenze support. On the device no valid operating system was found, or the system is damaged. Carry out a restore. Carrying out restore and auto-restore ( 28) If it fails, contact the Lenze support. The USB stick does not provide enough space to save the system. Use a USB stick with a greater storage capacity, or remove the data that are not needed from the USB stick. The SD card was removed. No backup was carried out. Remove the USB stick Insert another SD card Restart the device Create a backup Creating a backup & carrying out recovery ( 21) E8 User data device is empty! The SD card does not contain data. E9 ERROR: Windows did not shut down properly. Please reboot Windows and correct any consistency of the file system The file system is damaged. Windows has to be started and an error check of the file system has to be carried out while the write filter is switched off. E10 E11 E12 E13 ERROR: Backup of the Windows file system failed! Backup aborted! No data was saved! ERROR: No storage device for user data found! No changes applied! ERROR: CPU module incompatible with software version! No changes applied! Error: Not enough disk space on target device! Errors have occurred during the backup of Windows Embedded Standard. No backup was carried out. Try to carry out the backup again. If this fails, contact the Lenze support. The SD card was removed. Insert another SD card. The backup selected is not compatible with the hardware used. Use a backup compatible with the hardware. The processor type must comply with the one installed in the system. The data stored do not fit on the SD card. Use an SD card with a sufficient storage capacity. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 37
5 Diagnostics 5.2 Text outputs (optional panel/screen required) Message Message Information / remedy E14 E15 ERROR: Storage capacity of the selected backup is too small. Invalid backup! ERROR: The size of the target device is too small. Backup exceeds storage capacity of target device! The control file does not match the backup, or the backup was manipulated. Only use backups that are consistent in themselves. The backup originates from a greater storage medium. Contact the Lenze support. Log file Afterwards the text messages are saved on the USB stick in a log file: <USB stick>:\backup\log.txt 5.2.2 Error messages when an update is carried out When an update is executed, there is the following processing order: 38 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17
5 Diagnostics 5.2 Text outputs (optional panel/screen required) During an update the following error messages may occur: Message Message in the logbook Remedy E1 System version is identical to the selected update package. No action necessary. The software version of the controller is already up to date (version identical to that of the update). Remove the USB stick No further action required E2 No Backup package found During the backup creation errors have occurred. The update process cannot be continued. Check messages in the <USB stick>\backup\log.txt file Eliminate error Restart update process. E3 E4 E5 Migration finished successfully. Update finished with <<1>> errors. Please restore your previous Backup. Migration failed. The system is corrupt! Please restore your previous Backup. Migration failed. The system is unchanged! The migration of the databases has been carried out successfully, but the installation of the update has failed. Try the following: Configure USB stick for a restore Carry out restore. (Like this your system is reset to the original state). Carrying out restore and auto-restore ( 28) Repeat update process. Carrying out an update/auto-update (only available for control technology) ( 33) Update of the data has failed. Configure USB stick for a restore Carry out restore. (Like this your system is reset to the original state). Carrying out restore and auto-restore ( 28) Repeat update process. Carrying out an update/auto-update (only available for control technology) ( 33) The change attempt was carried out in the temporary directory, so that the controller was not changed. Try to import the update again. The error messages can be viewed via the»webconfig«in the Logbook section. Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 39
Index 6 Index A Activating the Lenze standard settings (Reset button) 40 Activating the standard settings (Reset button) 40 Application notes 9 B Backup/Restore error messages 36 C Carrying out a restore/auto-restore Backup & Restore software application 28, 29 WebConfig (alternatively) 30 Windows Explorer (alternatively) 31 Carrying out an auto-restore 32 Backup & Restore - software application 32 WebConfig (alternatively) 32 Carrying out an update 33 Backup & Restore - software application 33 WebConfig (alternatively) 33 Windows Explorer (alternatively) 33 Controller c300/p300 does not start (event of an error) 40 Creating a backup 21 Backup & Restore software application 23, 24 WebConfig (alternatively) 25 Windows Explorer - on "Directory/file" level (alternatively) 27 Creating a backup/carrying out recovery 21 D Diagnostics 34 Differences between a restore/auto-restore 16 Differences between an update and an auto-update 17 Differences between backup, restore, and update 15 L Layout of the safety instructions 9 LEDs of the controllers 34 Log file 38 R Reset button 40 S Safety instructions 9 Signalling of the processing state 20 Standard procedure 18 Status LEDs of the controllers 34 Storage media 13 Internal flash memory 13 SD card 13 USB stick 14 Structure of the safety instructions 9 System structure of the Controller-based Automation 10 T Target group 5 Terminology used 8 Troubleshooting 34 U Update error messages 38 W What is a backup? 15 What is a restore/auto-restore? 16 What is an update/auto-update? 17 E E-mail to Lenze 42 Error messages when a backup or restore is carried out 36 Error messages when an update is carried out 38 F Feedback to Lenze 42 Fieldbus communication (interfaces) 12 Functional range of Backup & Restore 13 I If an error occurs: Controller c300/p300 does not start 40 Interfaces for fieldbus communication 12 Lenze Backup & Restore Software Manual DMS 1.3 EN 04/2014 TD17 41
Your opinion is important to us These instructions were created to the best of our knowledge and belief to give you the best possible support for handling our product. Perhaps we have not succeeded in achieving this objective in every respect. If you have suggestions for improvement, please e-mail us to: feedback-docu@lenze.com Thank you very much for your support. Your Lenze documentation team 42
Backup & Restore Software Manual SHPSTV3BCKNRST 13450101 DMS 1.3 EN 04/2014 TD17 Lenze Automation GmbH Postfach 10 13 52, D-31763 Hameln Hans-Lenze-Straße 1, D-31855 Aerzen Germany +49 5154 82-0 +49 5154 82-2800 lenze@lenze.com www.lenze.com Service Lenze Service GmbH Breslauer Straße 3, D-32699 Extertal Germany 008000 24 46877 (24 h helpline) +49 5154 82-1112 service@lenze.com L