Software Manual L-force Loader L
This Manual is valid for the »L-force Loader« as of version 4.0 DMS 4.0 EN - 07/2007 - TD05/TD19 Copyright © 2007 Lenze Drive Systems GmbH. All rights reserved. Imprint Lenze Drive Systems GmbH Postfach 10 13 52, D-31763 Hameln, Germany Phone: ++49 (0)5154 / 82-0 Fax: ++49 (0)5154 / 82-2111 E-Mail: Lenze@Lenze.de Copyright information All texts, photos and graphics contained in this documentation are subject to copyright protection.
L-force Loader Contents Contents 1 About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 Conventions used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2 Layout of the safety instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 System requirements . . . . . .
L-force Loader Contents 7 8 4 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.1 Error numbers, causes & remedies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.2 Log files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7.
L-force Loader About this Manual Conventions used 1 About this Manual This Manual contains information about the »L-force Loader«. The »L-force Loader« is a software to transfer PLC programs, parameter sets and application data from a PC to Lenze target systems. Special features of the »L-force Loader«: r Intuitive program operation via an easy-to-use PC user interface.
L-force Loader About this Manual Layout of the safety instructions 1.
L-force Loader System requirements Supported target systems 2 System requirements The following minimum requirements on hardware and software must be met in order to use the »L-force Loader«: r Microsoft® Windows® 2000 (as of Service Pack 2) or Windows® XP r Microsoft® Internet Explorer as of version 5.0 r IBM® compatible PC with Intel® Pentium® processor with at least 600 MHz r 256 MB RAM r 120 MB free hard disk capacity r Pointer device (mouse, track ball, etc.
L-force Loader System requirements Connection with the target system 2.2 Connection with the target system The communication with the target system (controller, Drive PLC, etc.) requires a fieldbusspecific interface module for the PC and the corresponding fieldbus modules for the target systems to be connected. r For system bus (CAN) communication, Lenze offers the following interface modules for the PC: Communication accessories PC port PC system bus adapter 2173 incl.
L-force Loader Software installation 3 Software installation M Double-click the file "Setup_L-force_Loader.exe" in Windows Explorer and follow the instructions of the installation program to install the »L-force Loader« on your computer! Note! With Windows 2000/XP the installation requires administrator rights! L DMS 4.
L-force Loader User interface Language selection 4 User interface M Select the menu item Programs Lenze L-force Loader - 4.0 L-force Loader, from the start menu to start the »L-force Loader« with user interface.
L-force Loader User interface Menu bar 4.2 Menu bar The menu bar is used to access the menu commands for the »L-force Loader«. r A click on an item of the main menu opens the corresponding menu and lists the menu items contained in it. r Click a menu item to execute the corresponding function. – Menu items which are displayed in light grey are currently deactivated because the execution of the corresponding function would not make any sense in the current program state.
L-force Loader User interface Menu bar "Online" menu The Online menu provides commands which can only be activated when the »L-force Loader« is in online mode: Command Function PLC / application start Starts the PLC program/application on the target system • Only with target systems with appropriate functionality (e.g. 9400 HighLine/StateLine, 9300 Servo PLC, Drive PLC).
L-force Loader User interface Toolbar 4.3 Toolbar Via the icons of the toolbar you can directly execute some of the most frequently used menu commands without making a detour via the Menu bar. r Simply click an icon to activate the corresponding command.
L-force Loader Operation How to configure the communication settings 5 Operation 5.1 How to configure the communication settings The Lenze DriveServer and the OPC bus server for the corresponding fieldbus are used to build up the connection with the target system. Note! For the configuration of the communication settings, the DriveServer must be closed. The DriveServer is default set to the OPC bus server for the system bus (CAN).
L-force Loader Operation How to configure the communication settings OPC bus server for LECOM Instead of using the system bus (CAN), you can also communicate with the target system via LECOM. The corresponding communication settings are configured with the LECOM configurator of the »L-force Loader«. The LECOM configurator is activated via Options LECOM configurator....
L-force Loader Operation How to configure the communication settings 5.1.1 Example: Configuring a point-to-point connection via LECOM Note! The configuration described below only has to be carried out once. M How to configure a point-to-point connection via LECOM: 1. Select Programs Lenze L-force Loader - 4.0 L-force Loader from the Start menu to start the »L-force Loader«. In the »L-force Loader«: 2. Select Options DriveServer configurator to open the »DriveServer configurator«.
L-force Loader Operation How to configure the communication settings In the »L-force Loader«: 10. Select Options LECOM configurator to open the »LECOM configurator«. In the »LECOM configurator«: 11. Click OK to confirm the Lenze OPC server LECOM info dialog box. • The configuration saved last will be loaded automatically. 12. Select the configuration entry for the interface (COMx) from the tree/list on the left.
L-force Loader Operation How to select a target system 5.2 How to select a target system For selecting a target system, you can perform an automatic search for devices connected to the bus system. M How to perform an automatic search: 1. Click Find devices to find the devices connected to the bus system. • The progress of scanning will be indicated by a progress bar. • At the end of scanning, the Select target system dialog box will appear: 2. Select the desired target system from the tree. 3.
L-force Loader Operation How to build up a connection with the target system 5.3 How to build up a connection with the target system M Click Log in in the function area to build up a connection to the selected target system. r If the connection has been established successfully, the »L-force Loader« changes from offline to online mode and the status bar indicates the communication status "Online" and the device address. – For Lenze PLCs, the PLC program status is indicated as well.
L-force Loader Operation How to select files for the download 5.4 How to select files for the download After you have established a connection to the target system and the »L-force Loader« is in online mode, you can select the files to be downloaded to the target system. A difference is made between: r DDS binary files created with the Drive PLC Developer Studio r Application data created e.g.
L-force Loader Operation How to select files for the download 5.4.1 How to open a DDS binary file If the target system has PLC functionality (e.g. 9300 Servo PLC and Drive PLC), this function can be used to open a DDS binary file for the download. r All binary formats as of Drive PLC Developer Studio (DDS) version 1.0 are supported. M How to open a DDS binary file... 1. Select DDS binary file... in the function area. 2. Select the desired file in the Open DDS binary file dialog box. 3.
L-force Loader Operation How to select files for the download 5.4.2 How to open application data If the target system supports the download of application data, click Application data... to open an application data file for the download. r After this, you can download *.lc9 files containing motion profiles & cam data created with Cam Designer or *.lc7 files created with GDC to the target system. r Apart from *.lc9-/*.
L-force Loader Operation How to select files for the download 5.4.3 How to open a GDC parameter set file Click GDC parameter set file... to open a parameter set file created with Global Drive Control (GDC) for the download. M How to open a GDC parameter set file... 1. Select the GDC parameter set file... function in the function area. 2. Select the desired file in the Open GDC parameter set file dialog box. 3. Click OK to confirm your selection. • The selection is accepted and the dialog box is closed.
L-force Loader Operation How to select files for the download 5.4.4 How to open a 9400 application Click Open 9400 application to open an application created for the "L-force 9400 Servo Drives" series with the L-force Engineer for the download. Note! For the »L-force Loader«, the 9400 application to be opened must be present in the form of an L-force Loader file (*.lfl). This file contains the application data required in a compressed manner. O Tip! If you want to create an L-force Loader file (*.
L-force Loader Operation How to download data 5.5 How to download data As long as at least one file has been opened for the download, the Download... function will be available in online mode. Use this function to download the selected file(s). Note! After selecting the Download... function, the »L-force Loader« changes from online mode to the so-called download mode. For safety reasons, the program cannot be closed in download mode.
L-force Loader Operation How to download data After a successful download After the download of a DDS binary file or an L-force 9400 application, a dialog box appears in which you are asked whether the PLC program or the application is to be started in the target system. r If the Always start PLC program/application checkbox of this dialog box is ticked, the PLC program or application will always be started after a download and the query will not be displayed.
L-force Loader Operation How to download data 5.5.1 Parameter set transfer The function area provides the following functions for the download of GDC parameter set files: Command Function Duplication of parameter set At the parameter set transfer, some codes of the parameter set are not transferred to the target system.
L-force Loader Operation How to end the connection with the target system 5.6 How to end the connection with the target system After you have logged in on the target system and changed from offline to online mode, the Log out function will be indicated instead of the Log in function. Use this function to end the online connection to the target system.
L-force Loader Control via script files Structure of the script file 6 Control via script files Data can be automatically downloaded to several target systems if the »L-force Loader« has been started in the so-called batch mode. r The batch mode processes a script without the need of additional user inputs. r All »L-force Loader« activities including possibly occurring error messages are listed in a log file.
L-force Loader Control via script files Structure of the script file O Tip! The script is not tested for correctness before it is being processed, i.e. script processing does not stop before an error occurs. The error can be analysed and eliminated using the log file. Communication settings - [COMMUNICATION] section Key Parameter Baudrate Baud rate of the system bus in kBaud. • The baud rate selection in the script is optional.
L-force Loader Control via script files Structure of the script file Target system-dependent settings - [DEVICE...] sections Every target system must have a [DEVICE???] section. The question marks must be replaced by consecutive numbers (001 ... NumberOfDevices). r If you have defined the key NumberOfDevices=3 in the [COMMON] section, the following three sections must be available: [DEVICE001], [DEVICE002], [DEVICE003]. r The target systems are processed subsequently, starting with [DEVICE001].
L-force Loader Control via script files Structure of the script file 32 Key Parameter BinFile Path and file name of the DDS binary file for the download. • Not indicated for target systems without PLC functionality. • File indication is optional (only indicated files will be transferred to the target system). AddDataFile Path and file name of the application data for the download. • Not indicated for target systems which do not support the download of application data.
L-force Loader Control via script files Example of a script file 6.2 Example of a script file The following example shows a script file for two target systems: [COMMUNICATION] Baudrate=500 ; setting optional [COMMON] NumberOfDevices=2 ShowProcessing=1 ; 0 = no progress window ; 1 = displays progress window ExitAfterDownload=0 ; 0 = L-force Loader will not exit ; 1 = L-force Loader will exit after job is done [DEVICE001] NodeAddress=Lenze OPC Systembus Server.6 SDO=1 BinFile=D:\Projects\ServoPLC10.
L-force Loader Control via script files Syntax of the command line call 6.3 Syntax of the command line call Use the following syntax to start the »L-force Loader« in batch mode: Lforce_Loader.exe /batch script file [log file] r The /batch parameter determines that all background program functions will be scriptcontrolled. r The script file parameter indicates the script file to be used. – It is possible to use absolute and relative path names. A relative path always refers to the current directory.
L-force Loader Control via script files Batch mode commands 6.4 Batch mode commands After the »L-force Loader« has been started in batch mode, the task bar in the info area displays the following icon: r Right-click the icon to open a pop-up menu which provides the following commands: Menu command Function Indicate processing Shows status window providing information about the progress of script processing. • The status window corresponds to the log file except for the “Id" column.
L-force Loader Appendix Error numbers, causes & remedies 7 Appendix 7.1 Error numbers, causes & remedies Error number Cause 0001h ... BFFFh The Online Help for the system bus configurator provides information about these error numbers. Remedy C000h Error while opening/closing a file. Close the program and restart it. If the problem still occurs, check the path and the file name of the file causing the error. C001h Internal program error (invalid handling). Restart the program.
L-force Loader Appendix Error numbers, causes & remedies L Error number Cause Remedy C300h Error while downloading the DDS binary file. Repeat the download. If the problem still occurs, contact the Lenze Hotline. C301h The target system found on the bus does not Check the device address or select a different correspond to the target system for which DDS binary file. the DDS binary file has been created. C302h The project on the target system is a newer version than the project to be loaded.
L-force Loader Appendix Error numbers, causes & remedies Error number Cause Remedy C602h Error while identifying the FIF. (Product code cannot be read.) C603h Error while identifying the FIF. (ID cannot be read.) Check the communication parameters. If the problem still occurs, contact the Lenze Hotline. C604h Error while copying the application data. Check the name of the target system causing the error (e.g. "DEVICE001") in the log file and the specifications in the script file.
L-force Loader Appendix Error numbers, causes & remedies Error number Cause Remedy Error while downloading L-force 9400 application 8000C702h Controller inhibit has not been set. Set controller inhibit on the target system. 8000C704h Application has not been stopped. Stop the application on the target system. 8000C801h Error message of target system while downloading. Restart target system to establish the "ready for download" state.
L-force Loader Appendix Log files 7.2 Log files Log files list all important events for documentation and diagnostics purposes. These events are for instance: r Program start r Connection establishment to the target system with the communication parameters set r Target system found (name, version, software product code, etc.) r Download information r Disconnection r Program end O Tip! The "Lforce_Loader.
L-force Loader Appendix Log files Every event saved in the log file contains the following information: Column Meaning Id Function index identifying the event: 0001h Program start 0002h Program end 0003h Log in 0004h Log out 0005h Opening of a DDS binary file 0006h Preparation of the DDS binary file for the download 0007h Download of the DDS binary file 0008h Start of the PLC program 0009h Stop of the PLC program 000Ah Opening of a GDC parameter set file 000Bh Opening of a GDC device description 000Ch R
L-force Loader Appendix Log files 42 Column Meaning Category The following categories are available: • Error • Warning • Note • Info Date and time Time when the event occurred. Message text Short description of the event. Error code Error number (if an error occurred). DMS 4.
L-force Loader Appendix File header for application data 7.3 File header for application data Note! The file header is not valid for *.lc7 files. *.lc7 files can only be transferred to the "9300 servo cam profiler" target system. Name Data type Data length in bytes Contents wSizeHeader WORD 2 Length of the header in bytes wDataType WORD 2 Specification identifier of the data • After the download this information is available under C2131. 0 ...
L-force Loader Index 8 Index Numbers M 9400 Servo Drives 24 Menu "?" 12 Menu "Online" 12 Menu "Options" 11 Menu bar 11 A After a successful download 26 Application notes 6 Assignment of device descriptions 27 Automatic search 18 O OPC bus server for LECOM 15 OPC bus server for system bus (CAN) 14 Open 9400 application 24 Open L-force application 24 B Batch mode 29 Before downloading a file 25 P C PC diagnostic adapter 8 PC system bus adapter 8 Command line call 34 Communication settings 14, 30 C
)(('%$&. L 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. If you have suggestions for improvement, please e-mail us to: feedback-docu@Lenze.de Thank you for your support.