Eplan p8 Simatic S7 PLC

Download Eplan p8 Simatic S7 PLC

Post on 12-Jul-2016

34 views

Category:

Documents

9 download

Embed Size (px)

DESCRIPTION

PLC Simatic S7 Eplan

TRANSCRIPT

  • 31.07.2008

    Application Example

    PLC / Bus Data Exchange with "SIMATIC STEP 7"

    Valid for version 1.9.6 and higher

  • 2 / 64

    Copyright 2008 EPLAN Software & Service GmbH & Co. KG.

    EPLAN Software & Service GmbH & Co. KG assumes no liability for either technical or printing errors,

    or for deficiencies in this technical information and cannot be held liable for damages that may result

    directly or indirectly from delivery, performance, and use of this material.

    This document contains legally protected ownership information that is subject to copyright. All rights

    are protected. This document or parts of this document may not be copied or reproduced by any other

    means without the prior consent of EPLAN Software & Service GmbH & Co. KG.

    The software described in this document is subject to a licensing agreement. The software may only

    be used and copied within the scope of this agreement.

    RITTAL is a registered trademark of Rittal GmbH & Co. KG.

    EPLAN, EPLAN Electric P8

    , EPLAN Fluid

    , EPLAN PPE

    and EPLAN Cabinet

    are registered

    trademarks of EPLAN Software & Service GmbH & Co. KG.

    Windows NT, Windows 2000

    , Windows XP

    , Windows Vista

    , Microsoft Windows

    , Microsoft

    Excel, Microsoft

    Access

    , and Notepad

    are registered trademarks of Microsoft Corporation.

    CLIP PROJECT and INTERBUS

    are registered trademarks of Phoenix Contact GmbH & Co.

    AutoCAD, Autodesk Inventor

    , and VoloView Express are registered trademarks of Autodesk, Inc.

    SIMATIC HW Konfig is a registered trademark of Siemens AG.

    InstallShield is a registered trademark of InstallShield, Inc.

    Adobe Reader

    and Adobe

    Acrobat

    are registered trademarks of Adobe Systems Inc.

    All other product names, trade names, and company names are trademarks or registered trademarks

    of their respective owners.

    EPLAN uses the Open-Source-Software 7-Zip (7za.dll), Copyright by Igor Pavlov. The source code

    of 7-Zip is subject to the GNU Lesser General Public License (LGPL). The source code of 7-Zip and

    details on this license can be found on the following website: http://www.7-zip.org

    Note: The hardware requirements specified by the operating system manufacturers are valid

    for the hardware that is used. Hardware combinations that cause faults according to

    information from manufacturers may also affect the operation of EPLAN. Therefore an accurate

    basic installation of hardware, operating system and hardware drivers (e.g., graphics card

    driver, etc.) is essential for a smooth operation of EPLAN. The basic conditions and areas of

    application specified by the hardware manufacturers apply similarly to the operation of EPLAN.

    Siemens AG was kind enough to permit use of the illustrations from the "SIMATIC STEP 7"

    program.

    EPLAN Software & Service GmbH & Co. KG. does not provide support for the Software

    "SIMATIC STEP 7" in any way.

  • 3 / 64

    Table of Contents

    The PLC / Bus Data Exchange with "SIMATIC STEP 7" by Siemens ............................................................................................. 4

    Preconditions ............................................................................................. 5

    General Notes for the Data Exchange Process......................................... 6

    What You Need to Know in Advance......................................................... 7

    Selecting Settings at PLC Connection Points............................... 12

    Basic Settings .......................................................................................... 12

    Meaning of the Function Properties ......................................................... 13

    Selecting Settings on PLC cards ................................................... 20

    Meaning of the Function Properties ......................................................... 21

    Creating Rack Assignments........................................................... 34

    Creating Rack Assignments in the Demo Sample Project....................... 36

    Creating a Bus Structure ................................................................ 41

    Meaning of the Function Properties ......................................................... 42

    Exporting PLC data ......................................................................... 49

    Exporting Data from EPLAN .................................................................... 49

    Importing Data into "SIMATIC STEP 7" ................................................... 50

    Importing PLC Data......................................................................... 55

    Exporting Data from "SIMATIC STEP 7" ................................................. 55

    Importing data into EPLAN ...................................................................... 56

    Special Considerations after a Data Import ............................................. 58

    Appendix: Modification History...................................................... 63

  • 4 / 64

    The PLC / Bus Data Exchange with "SIMATIC STEP 7" by Siemens

    EPLAN provides the option to manage the hardware configuration data for your PLC / bus systems and to document it in your EPLAN project.

    EPLAN provides an interface for data exchange with PLC configuration-programs of other manufacturers, like "SIMATIC STEP 7", so that you will not have to duplicate these efforts. This allows you the user to decide whether the project design is started in "SIMATIC STEP 7" or in EPLAN.

    If you are starting in "SIMATIC STEP 7", you will generate unplaced functions during the import into your new EPLAN Project; these may then be arranged and completed by placing them in the schematic.

    If you are starting in EPLAN, you must pay attention to certain rules so that the data arrives at the correct places in "SIMATIC STEP 7". This document is designed to assist you with that task.

    The settings made in EPLAN and the settings in the "SIMATIC STEP 7" software will be compared in this application example, so that it can be seen with just a glance which EPLAN settings apply to which settings in "SIMATIC STEP 7".

  • 5 / 64

    Preconditions

    The example used in this document was created and tested with "SIMATIC STEP 7" Version 5.4 + SP3, edition K5.4.3.0.

    All illustrations and operating sequences of "SIMATIC STEP 7" described in this document relate to this version.

    You will need the following to recreate this example:

    The appropriate "EPLAN PLC & Bus-Extension" license scope in EPLAN

    The "SIMATIC STEP 7" software, which is not part of the delivery scope of EPLAN or of this application example You may obtain this software from your Siemens representative. We also assume basic knowledge of the operation of the "SIMATIC STEP 7" software.

    A prerequisite to reconstructing the following steps is that you have opened the EPLAN-DEMO demo project.

  • 6 / 64

    General Notes for the Data Exchange Process

    EPLAN and "SIMATIC STEP 7" view PLC data differently.

    While EPLAN shows all electrical engineering data, "SIMATIC STEP 7" needs only a depiction of the logical relationships of all components.

    For instance, there are PLC connection points in EPLAN that are dedicated to the power supply; these are not necessary in "SIMATIC STEP 7".

    And then there is interface information in "SIMATIC STEP 7", such as baud rate settings, that is not necessary in EPLAN.

    The program does write all relevant data from "SIMATIC STEP 7" into the exchange file during its export process, but EPLAN ignores information not crucial to its needs during the import.

    Data that cannot be written by EPLAN during an export for "SIMATIC STEP 7" because it is not familiar data will be completed with default values during import into "SIMATIC STEP 7".

    Warning:

    Not all properties (e.g., connection configurations) will be exported from "SIMATIC STEP 7" for some assemblies (e.g., analog assemblies). These settings will be populated with default values after a (re)import into "SIMATIC STEP 7", meaning that the previous settings will be lost. Please check these settings and reset them if necessary.

  • 7 / 64

    What You Need to Know in Advance

    What Is the PLC Navigator?

    The PLC- dialog (accessible via Project data > PLC > Navigator) displays all PLC data (PLC boxes, PLC connection points) in the project.

    Here, you can edit all the data for an entire PLC or single PLC cards. Every card is listed with the card data, the power supply connection points, the addresses (channels), and the connection points belonging to the addresses. PLC boxes and connection points can also be created.

  • 8 / 64

    What Is the PLC / Bus Configuration Navigator?

    The Bus configuration - dialog (which can be reached via Project data > PLC > Bus configuration navigator) displays the bus hierarchy. Meaning, this is where the assignment of bus nodes and racks as well as the assignment of modules to assemblies are displayed.

  • 9 / 64

    Explanation of the icons in the PLC navigators:

    Identifies the configuration project

    Identifies a "bundle / network ID"

    Identifies a bus master

    Identifies a bus slave

    Identifies a bus coupler

    Identifies a rack

    Identifies a module on a rack

    Identifies a module with the same n