Manual (Software) Global Drive Cam Loader L
This Manual is valid for the Global Drive Cam Loader as of version 1.1 Copyright © 2005 Lenze Drive Systems GmbH. All rights reserved. Imprint Lenze Drive Systems GmbH POB 10 13 52, 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.
Global Drive Cam Loader Contents Contents 1 About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 Conventions used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2 Layout of the safety information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Global Drive Cam Loader Contents 7 8 9 4 6.3 Editing settings on the worksheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.1 Adding a slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.2 Selecting the properties of a slave. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.3 Adding a product. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.
Global Drive Cam Loader About this Manual Conventions used 1 About this Manual This Manual contains information about the Lenze Global Drive Cam Loader V1.1. The Cam Loader is a software which is used to transfer recipes consisting of motion profiles, cam tracks and position markers from a PC to Lenze target systems. Special features of the Cam Loader are: [ Import of CAD data via standardised interfaces (VDI 2143).
Global Drive Cam Loader About this Manual Layout of the safety information 1.2 Layout of the safety information All safety information have a uniform structure: [ The icon characterises the type of danger. [ The signal word characterises the severity of danger. [ The note describes the danger and suggests how to avoid the danger.
Global Drive Cam Loader System requirements Connection with the target system 2 System requirements The following minimum requirements on hardware and software must be met in order to use the Cam Loader: [ Microsoft® Windows NT® 4.0 (as of Service Pack 5), Windows® 2000 (as of Service Pack 2) or Windows XP [ IBM®-compatible PC with Intel® Pentium® 90 processor [ 128 MB RAM [ 120 MB free hard disk capacity [ Pointer device (mouse, track ball, etc.
Global Drive Cam Loader Software installation 3 Software installation X How to install the Cam Loader: 1. Start Windows. 2. Insert the Global Drive Cam Loader CD-ROM into your CD-ROM drive. If the auto-start function of your CD-ROM drive is active the installation program is started automatically and you can proceed with step 5. 3. Select Run ... from the start menu. 4. Enter the letter for your CD-ROM drive followed by ":\setup.exe" (e.g. "e:\setup.exe") in the command line and confirm with OK. 5.
Global Drive Cam Loader Introduction Cam Loader applications 4 Introduction [ The subsection Cam Loader applications describes the basic proceeding for different Cam Loader applications. [ The subsection Creating/preparing import data explains the data formats of the motion profiles, cam tracks and position markers required for data import. (^ 13) 4.1 Cam Loader applications Depending on the application, the Cam Loader can be used with or without user interface.
Global Drive Cam Loader Introduction Cam Loader applications 4.1.1 Control with user interface (GUI mode) Control with user interface is required if a new project shall be created or prepared by the mechanical/automation engineer for the user. Basic proceeding: 1. Use the user interface of the Cam Loader 0 and create a new Cam Loader project. The axes subdirectories for existing and future product data (motion profiles, cam tracks and position markers) are created automatically. 2.
Global Drive Cam Loader Introduction Cam Loader applications 4.1.2 Control without user interface (batch mode) It is also possible to start the Cam Loader without user interface (batch mode). [ In this case, a script file is used for control. The script file can be created by the user himself using a traditional text editor or automatically generated for a project by the Cam Loader.
Global Drive Cam Loader Introduction Cam Loader applications 4.1.3 Commissioning of production machinery For the commissioning of production machinery, you have to transfer the motion profiles, cam tracks and position markers as well as the user program and the parameter sets to the target system. [ In this case, the Cam Loader is only used to create the LCx files. [ The Global Drive Loader is used to transfer the drive data to the target system: Basic proceeding: 1.
Global Drive Cam Loader Introduction Creating/preparing import data 4. The LCx file 2, the DDS file 3 including the compiled user program and the GDC file 4 including the parameter sets for the corresponding target system are transferred to the Global Drive Loader. 5. After this, the drive data 5 is downloaded by the Global Drive Loader. – The Global Drive Loader can also be started by means of a script file. The entire process can thus be automated. (See the documentation for the Global Drive Loader.
Global Drive Cam Loader Introduction Creating/preparing import data 4.2.1 Data format of motion profile data For data import with the Cam Loader, the motion profile data must be available as an ASCII file with the ending *.txt. [ Each line contains the x and y position of a point. [ Comma and point are allowed as decimal symbols. [ Between the two position data there may only be one or several separators (spaces or tab characters).
Global Drive Cam Loader Introduction Creating/preparing import data 4.2.2 Data format of cam track data For data import with the Cam Loader, the cam track data must be available as an ASCII file with the ending *.txt. [ For each product number, you can define max. three cam tracks with 4 cams each.
Global Drive Cam Loader Introduction Creating/preparing import data Cam type The cam type is defined through the following numbers: Entry 16 Cam type 1 Position cam in positive effective direction • Switch on and switch off point are defined by positions. • The cam switches if the direction of the axis is positive (positive speed). 2 Position cam in negative effective direction • Switch on and switch off point are defined by positions.
Global Drive Cam Loader Introduction Creating/preparing import data Cam reference The cam controller can either refer to the X axis or to the Y axis. Entry Cam reference 0 X axis 1 Y axis Start and stop values of the cams Each line contains the start and stop value of a cam. [ For time-based cams, enter the ON-time in [ms] of the cam instead of the stop value. [ The cams must be entered in ascending order of the start values. [ The start and stop value of free cams is "0.0".
Global Drive Cam Loader Introduction Creating/preparing import data 4.2.3 Data format of position markers For data import with the Cam Loader, the position marker data must be available as an ASCII file with the ending *.txt. [ Each line contains one position (X and Y value). [ The position data can be entered in any order. [ After the X and Y position you can add a comment after at least one separator (space or tab character) and two slashes ("//") (option).
Global Drive Cam Loader User interface Using the direct help 5 User interface X Go to the Start menu and select ProgramsWLenzeWGlobal Drive Cam Loader 1.1WGlobal Drive Cam Loader to start the Cam Loader with user interface.
Global Drive Cam Loader User interface Language selection 5.2 Language selection You can always select another language for the menu, dialog and help texts of the Cam Loader. [ The available languages depend on the language files that have been installed together with the Cam Loader. X How to select another language... 1. Select the command ViewWSelect language. 2. Go to the Language configuration dialog box and select the desired language. 3. Click OK to confirm your selection and close the dialog box.
Global Drive Cam Loader User interface Toolbar 5.5 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. [ Simply click an icon to activate the corresponding command.
Global Drive Cam Loader User interface Document window (worksheet) 5.7 Document window (worksheet) If you open a project the corresponding worksheet will be indicated in a so-called document window in the Cam Loader Workspace. By default, the document window is displayed on a full screen, i.e. the document window fills the whole workspace of the Cam Loader.
Global Drive Cam Loader User interface Status bar 5.8 Status bar The program status is indicated in the status bar. I Tip! If you position the mouse pointer over an icon in the Toolbar or a menu command more information about the corresponding function will be indicated in the status bar. L 1.
Global Drive Cam Loader Operation 6 Operation After the first start of the Cam Loader, the user interface is displayed with an empty workspace. [ Now you can create a new project (worksheet) or open an existing project. I Tip! In the installation directory of the Cam Loader you can find example projects which can be used to make yourself familiar with the operation of the Cam Loader. What do you want to do? 4Creating a new project 4Opening an existing project 24 (^ 29) 1.
Global Drive Cam Loader Operation Creating a new project 6.1 Creating a new project New projects are created by means of a wizard which issues a number of queries including the file name and directory for the new project as well as the settings for the master, a slave and a product. X How to create a new project...
Global Drive Cam Loader Operation Creating a new project X How to define the file name and directory for a new project... 1. Go to the New project dialog box and click the Project save as button to open the Save as dialog box. 2. Go to the Save as dialog box and select the directory in which you want to store the new project. 3. Go to the File name input field and enter a name for the new project. 4. Click OK to confirm the settings for the new project and close the Save as dialog box. 5.
Global Drive Cam Loader Operation Creating a new project 6.1.3 Step 3: Defining the properties of the slave X How to define the properties of the slave... 1. Go to the Slave dialog box and select the properties of the slave. • The Name of the slave is indicated on your worksheet. It is also used as name for the LCx file. The Cam Loader creates a subdirectory with the same name in the project directory.
Global Drive Cam Loader Operation Creating a new project 6.1.4 Step 4: Defining the product properties I Tip! In the following text, the term "Product" is used for cam or motion profiles because product-dependent sequences of motion can be achieved through different cam profiles. X Defining the product properties... 1. Go to the Product dialog box and select the product properties: • The name is only indicated for a better overview within the Cam Loader, otherwise it is not of importance.
Global Drive Cam Loader Operation Opening an existing project 6.2 Opening an existing project I Tip! • It is possible to open several Cam Loader projects (worksheets) simultaneously. The commands for the arrangement of the individual worksheets can be found in the "Window" menu. • With a click on the entries 1...4 in the File menu you can open one of the four projects edited last. X How to open an existing project... 1. Go to the Toolbar and click on the icon or select FileWOpen. 2.
Global Drive Cam Loader Operation Editing settings on the worksheet 6.3 Editing settings on the worksheet The worksheet consists of a table including all axes and products of the plant or machine project. Each line of the table represents an axis and each column a product: 0 Products 1 Master 2 Slaves 3 Product number 4 Import data for slave/product I Tip! • If you want to edit a setting on your worksheet simply click the corresponding field in the table.
Global Drive Cam Loader Operation Editing settings on the worksheet Slaves The following table lines represent the slaves: [ A double-click on the Name field of a slave 2 opens the Properties dialog box for the corresponding slave. [ A double-click on an Import data field 4 opens the Import data dialog box for the corresponding slave and the corresponding product. Assignment of the import data At the crossing point of a slave and a product the assigned import data are represented by letters.
Global Drive Cam Loader Operation Editing settings on the worksheet 6.3.1 Adding a slave New slaves are added at the end of the list. You can enter a symbolic name for the new slave which will be indicated on your worksheet. [ The name of the slave is also used as name for the LCx file. [ The Cam Loader creates a subdirectory with the same name in the project directory.
Global Drive Cam Loader Operation Editing settings on the worksheet I Tip! If you want to change the settings of several axes/products you can also use the command EditWProject settings.... In the Project settings dialog box that appears you can quickly change between the different axes/products by clicking the corresponding tabs: 6.3.3 Adding a product X How to add a product to your worksheet... 1. Select EditWAdd product. 2.
Global Drive Cam Loader Operation Editing settings on the worksheet 6.3.4 Selecting the product properties The product properties can always be changed. X How to change the product properties... 1. Double-click the field with the product number of the product whose properties you want to change on your worksheet. 2. Go to the Project settings dialog box and enter the new settings. 4Defining the product properties... (^ 28) 3. Click OK to confirm the settings and close the dialog box. 34 1.
Global Drive Cam Loader Operation Editing settings on the worksheet 6.3.5 Defining the import data for a slave/product I Tip! Detailed information about the file format of the import data can be found in chapter "Creating/preparing import data". (^ 13) X How to assign import data to a slave/product... 1. Double-click the import data field at the crossing point of slave and product on your worksheet. Example: Import data field for Slave3 and Product2: 2.
Global Drive Cam Loader Operation Editing settings on the worksheet • A click on the icon opens a dialog box in which you can select the corresponding import data from your directories. • With the "9300 EK (9300 servo cam profiler)" the Cams and Positions input fields are deactivated because cam tracks and position markers are not supported by the 9300 servo cam profiler. • If you want to cancel an assignment simply delete the text in the corresponding input field. 3.
Global Drive Cam Loader Operation Editing settings on the worksheet 6.3.6 Creating LCx files Optionally, you can create the LCx files for one or several slaves simultaneously. [ Each LCx file is assigned to a drive axis. The LCx file contains the motion profiles of the corresponding axis and other axis-specific data. With the 9300 servo PLC and ECS, the LCx file also includes the defined cam tracks and position markers.
Global Drive Cam Loader Operation Editing settings on the worksheet 6.3.7 Deleting a product ) Note! This function only deletes a product from the project/worksheet. The import data assigned to the product are not deleted! Deleting a product cannot be undone! X How to delete a product... 1. Select EditWDelete product.... 2. Go to the Delete product dialog box and select the product to be deleted from the project: 3. Click OK to delete the selected product and close the dialog box. 6.3.
Global Drive Cam Loader Operation Connection with the OPC server 6.4 Connection with the OPC server The Lenze DriveServer is used for communication between Cam Loader and target system and LCx file transfer. • The DriveServer provides easy integration of drives into open automation structures based on OPC (OLE for Process Control). • A specially adapted variant of the DriveServer and the bus server for the system bus (CAN) is part of the Cam Loader installation package.
Global Drive Cam Loader Operation Downloading the drive data X How to download the drive data... 1. Select FileWDownload of multiple slaves... . • This command can only be executed if the Cam Loader is connected to the OPC server. 2. Go to the Download to controllers dialog box and select the slaves to be downloaded: • If the checkbox If necessary, download all data without queries is activated the data will be downloaded without further queries.
Global Drive Cam Loader Operation Saving a project 6.6 Saving a project ) Note! If you open several Cam Loader projects simultaneously this function refers to the project in the active window. X Click the I Tip! icon or select FileWSave to save the project. Save your project at regular intervals to protect your data against power failures or system problems. If you want to create a backup project on another data carrier or in another directory use the command FileWSave as... instead.
Global Drive Cam Loader Operation Creating a template for a script file I Tip! This way you can create a new project or a backup project on another data carrier or in a directory other than the project directory on the basis of the current project. 6.8 Creating a template for a script file The Cam Loader can automatically create a script file for an open project which can be used to start the Cam Loader without user interface, e.g. on an IPC.
Global Drive Cam Loader Operation Exiting the Cam Loader 6.10 Exiting the Cam Loader ) Note! If you have not saved the changes made in one or several projects you will be asked if you want to save them before exiting the Cam Loader. X Select FileWExit or click the Window icon r in the Title bar to exit Cam Loader. L 1.
Global Drive Cam Loader Control via script files Creating a script file 7 Control via script files When configuring production machinery, it is useful to control the conversion and download of the cam profiler data by means of batch files. For this purpose, the Cam Loader can be controlled by means of a script file without the need of additional data input. [ For this, the Cam Loader is started with additional program parameters via the command line.
Global Drive Cam Loader Control via script files Script files 7.2 Script files Script files are divided into sections. Different keys can be entered in the sections, therefore they are very similar to typical Windows INI files. [ Sections are put into square brackets. The following lines list the keys for a specific section. [ A key consists of a key name followed by an equal sign and a key value. [ Comments can be added, the comment must, however, be separated from the key value by a semicolon.
Global Drive Cam Loader Control via script files Script files ParameterSetFile=.\Slave1\LC7_beispiel.GDC LC-Path=.\Slave1 Segmented002=1 PathCurve002=.\Slave1\Importdata\Segment1.txt PathCurve_B002=.\Slave1\Importdata\Segment2.txt PathCurve_C002=.\Slave1\Importdata\Segment3.txt PathCurve_D002=.\Slave1\Importdata\Segment4.txt PathCurve_E002=.\Slave1\Importdata\Segment5.txt PathPosition002=.\Slave1\Importdata\Pos1.txt Segmented003=0 [Slave002] Name=Slave2 Unit=mm Minimum=0.0000 Maximum=0.0000 Gear1=1.
Global Drive Cam Loader Control via script files Script files 7.2.1 Master settings Section [CamLoader] 7.2.
Global Drive Cam Loader Control via script files Syntax of the command line start 7.
Global Drive Cam Loader Control via script files Log files 7.4 Log files Log files list all important events for documentation and diagnostics purposes: [ Program start [ Connection with the OPC server [ Information about the creation of the LCx file [ Download information Example of a log file CamLoader - Log File Monday, November 03, 2003, 09:48:32 Script file: E:\Programs\Lenze\CamLoader_0_2\Project_1\Test1_CamLoader_93EK_93PLC.cmd -----------Script file read successfully. Connected to OPC server.
Global Drive Cam Loader Appendix Error numbers, causes & remedies 8 Appendix 8.1 Error numbers, causes & remedies Error number Cause Remedy D000h An error occurred during opening the script file. Check path and/or file name. D001h An error occurred in the script file data. Save project again to create a new script file or correct script file manually with a text editor (the faulty key is indicated in the error message).
Global Drive Cam Loader Appendix Error numbers, causes & remedies Error number Cause Remedy D401h Error during the start of the "DriveLC7" com- Re-install Cam Loader. ponent. • Component has not been installed or has not been registered correctly. D402h Error during setting the cam profile data (points). Evaluate error description. D405h Error during writing the LC7 file. Check path for the LCx file. Check if there is enough free space available on your drive.
Global Drive Cam Loader Appendix Glossary 8.2 Glossary A Absolute data model Contains both the X and the Y coordinate. Therefore requires more space than the relative data model. The points are 1:1 transferred from the Cam Loader to the target system: • Advantage: The distance between the points can be variable. This allows to optimise the distribution of the points according to the cam profile characteristics. • Disadvantage: Compared to the relative data model, less points can be saved.
Global Drive Cam Loader Appendix Glossary I IPC Abbreviation for Industrial PC. Industrial PCs are used in case of special environmental conditions, e.g. dirt or vibrations. They are slot CPUs with powerful processors and TFT displays (often with touch screens). OLE Abbreviation for "Object Linking and Embedding": Integration of operational objects into other applications, e.g. Microsoft® Excel spreadsheets into Microsoft® Word documents.
Global Drive Cam Loader Index 9 Index A P Absolute data model 27 Assignment of the import data 31 Position marker 18 Product number 28, 33 Project directory 25 B Batch mode 11 S C Segmented curve 35 Slaves 31 Status bar 23 Cam tracks 15 Conventions used 5 Copyright 2 Copyright information 2 Creating a script file 42 Curves 27 Cycles 26 T Title bar 20 Toolbar 21 Trademarks 2 U D User interface 7 Data model 27 Direct help 19 Document window 22 Download 39 E Example project 24 F Feed constant