Sie sind auf Seite 1von 9

Application Note GALILEO

12/2010 MN04802062Z-EN replaces M001985-01, 09/2007

Import SIMATIC variables

Imprint

Manufacturer Eaton Automation AG Spinnereistrasse 8-14 CH-9008 St. Gallen Schweiz www.eaton-automation.com www.eaton.com Support Region North America Eaton Corporation Electrical Sector 1111 Superior Ave. Cleveland, OH 44114 United States 877-ETN-CARE (877-386-2273) www.eaton.com

Other regions Please contact your supplier or send an E-Mail to: automation@eaton.com

Original instructions The German version of this document is the original instructions. Editor A.Schmid Brand and product names All brand and product names are trademarks or registered trademarks of the owner concerned. Copyright Eaton Automation AG, CH-9008 St. Gallen All rights reserved, also for the translation. None of this document may be reproduced or processed, duplicated or distributed by electronic sytems in any form (print, photocopy, microfilm or any other process) without the written permission of Eaton Automation AG, St. Gallen. Subject to modifications.

Import SIMATIC variables

12/2010 MN04802062Z-EN www.eaton.com

Proper use

Proper use
Hardware, software, operating systems and drivers must only be used for the applications specified and only in conjunction with the components recommended by Eaton Automation AG.

Warning!
No warranty claims will be recognized for faults arising from the improper handling of devices and modules. The devices, even by means of communication, should not be used for the implementation of any safety functions relating to the protection of personnel and machinery. No liability is accepted for claims for damages arising from a failure or functional defect in the device. All data specified in this document does not represent warranted properties in the legal sense.

Import SIMATIC variables

12/2010 MN04802062Z-EN www.eaton.com

Contents

Contents
1 General ................................................................................................................ 5
Aim and purpose of this document .......................................................................... 5 List of documents .................................................................................................... 5 2 Procedure ............................................................................................................ 6 2.1 Simatic symbol table ................................................................................................ 6 2.2 Editing the *.DIF file with Excel ................................................................................ 7 2.3 Import in Galileo ...................................................................................................... 9 1.1 1.2

Import SIMATIC variables

12/2010 MN04802062Z-EN www.eaton.com

1 General

1 GENERAL
1.1 AIM AND PURPOSE OF THIS DOCUMENT
This documentation describes the import of tag variables from a STEP 7 application. It is assumed that the following software is already installed and that you are familiar with its operation: SIMATIC STEP 7 PLC programming software from Siemens Galileo HMI programming software Refer to the Galileo documentation or the Online Help for more information on Galileo and GRS. The dialogs shown from Galileo are from Version 6.0.

1.2 LIST OF DOCUMENTS


Document [1] User Manual GALILEO: Communication Simatic S7 Doc. No. MN04802059Z

Import SIMATIC variables

12/2010 MN04802062Z-EN www.eaton.com

2 Procedure

PROCEDURE

2.1 SIMATIC SYMBOL TABLE


The symbol table is created using the SIMATIC Symbol Editor. This can be exported using Table - Export in Data Interchange Format (*.DIF). Refer to the SIMATIC Help for further information on this format.

Import SIMATIC variables

12/2010 MN04802062Z-EN www.eaton.com

2 Procedure

2.2 EDITING THE *.DIF FILE WITH EXCEL


The symbol table in DIF format can be opened in Excel and contains the columns A to D.

First of all, a new line must be added at the top and a new column added in front of column A. The columns then have the following function: Column A Column B Column C Column D Column E Structure (identical names are brought together in a structure) Name of the tag variable Address of the tag variable Data type Comment (no use)

The top line can be used to describe the columns. However, this is not absolutely necessary. The first line is ignored for the import.

The following should then be observed in order to ensure a successful import: The following data types are supported: BOOL, BYTE, WORD, INT, DWORD, DINT, REAL all other data types are ignored. In other words, the tag variables are not imported. Data blocks cannot be imported since the data for this is not contained in the symbol table. However, tag variables which have a DB as an address can be added manually: e.g. DB20.DBB12. Only structures of data type BOOL can be addressed in their entirety and the structure should not contain any address gaps.

Import SIMATIC variables

12/2010 MN04802062Z-EN www.eaton.com

2 Procedure

The addresses within a structure must be in ascending order in the table. Single Boolean tag variables are imported, however, they must be addressed correctly by hand, i.e. a M14.2 generates a bit tag variable, but does not create a bit array of 8 elements. If the station address is to be imported as well, this must be written in front of the tag variable address: e.g. ST2:MB12 or ST3:DB2.DBW8 If no station address is defined, the default station number is imported in Galileo under Select PLC. Special characters and spaces in the symbol name are replaced with _: e.g. MW 62 .:;,?=& MW_62________

The formatted file must be stored in Excel as a tab-delimited text file (*.txt). This format can be imported with Galileo.

Import SIMATIC variables

12/2010 MN04802062Z-EN www.eaton.com

2 Procedure

2.3 IMPORT IN GALILEO


The tab-delimited text file can then be imported directly. For this the file must be closed in Excel.

Any problems during the import are indicated in the dialog window, otherwise the tag variables are created and addressed.

Structures that do not comply with the required data block size must be corrected manually.

Import SIMATIC variables

12/2010 MN04802062Z-EN www.eaton.com

Das könnte Ihnen auch gefallen