Buses de campo modbus Rtu

download Buses de campo modbus Rtu

of 50

description

Manual de instalcion

Transcript of Buses de campo modbus Rtu

  • EIO

    0000

    0005

    47.0

    0EIO0000000547 11/2009

    RTU Configuration Softwarea SoCollaborative softwarewww.schneider-electric.com

    User Manual

    11/2009

  • 2

    The information provided in this documentation contains general descriptions and/or technical characteristics of the performance of the products contained herein. This documentation is not intended as a substitute for and is not to be used for determining suitability or reliability of these products for specific user applications. It is the duty of any such user or integrator to perform the appropriate and complete risk analysis, evaluation and testing of the products with respect to the relevant specific application or use thereof. Neither Schneider Electric nor any of its affiliates or subsidiaries shall be responsible or liable for misuse of the information contained herein. If you have any suggestions for improvements or amendments or have found EIO0000000547 11/2009

    errors in this publication, please notify us. No part of this document may be reproduced in any form or by any means, electronic or mechanical, including photocopying, without express written permission of Schneider Electric.All pertinent state, regional, and local safety regulations must be observed when installing and using this product. For reasons of safety and to help ensure compliance with documented system data, only the manufacturer should perform repairs to components.When devices are used for applications with technical safety requirements, the relevant instructions must be followed. Failure to use Schneider Electric software or approved software with our hardware products may result in injury, harm, or improper operating results.Failure to observe this information can result in injury or equipment damage. 2009 Schneider Electric. All rights reserved.

  • EIO0000000547 11/2009 3

    Table of Contents

    C

    C

    C

    AppeAppSafety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    hapter 1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9General Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Software Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

    hapter 2 RTU Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15RTU Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

    hapter 3 RTU Configuration Software . . . . . . . . . . . . . . . . . . . . . . 17Variable Name Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Information Object Address. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Station Configuration Browser. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Common Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Device Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Single Points Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Double Points Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Measured Values Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Integrated Totals Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Single Commands Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Double Commands Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Set Points Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Import of Data to Unity Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Edit Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

    ndices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35endix A RTU Application Example . . . . . . . . . . . . . . . . . . . . . . . . 37

    Configuration with the Embedded Web Server . . . . . . . . . . . . . . . . . . . . . 38RTU Configuration Software Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Resulting Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

    Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

  • 4 EIO0000000547 11/2009

  • EIO0000000547 11/2009 5

    Safety Information

    Import

    NOTICEant Information

    Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure.

  • 6PLEASEEIO0000000547 11/2009

    NOTEElectrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material.A qualified person is one who has skills and knowledge related to the construction and operation of electrical equipment and the installation, and has received safety training to recognize and avoid the hazards involved.

  • EIO0000000547 11/2009 7

    About the Book

    At a G

    Docume

    Validity

    Related

    User Colance

    nt ScopeThis manual describes the RTU Configuration Software, which helps you to parameterize variables that are used in a telecontrol module.

    NoteThis documentation is valid for RTU Configuration Software V1.0.

    Documents

    You can download these technical publications and other technical information from our website at www.schneider-electric.com.

    mmentsWe welcome your comments about this document. You can reach us by e-mail at [email protected].

    Title of Documentation Reference NumberW315, W320E Remote Interface Units User Manual NT00135-EN-04Unity Pro Reference Manual 35006144 (Eng),

    35006146 (Ger)Unity Pro Operating Modes Manual 33003101 (Eng),

    33003103 (Ger)

  • 8 EIO0000000547 11/2009

  • EIO0000000 9

    1

    IntroductionEIO0000000547 11/2009

    Introduction

    Overvie

    What's i547 11/2009wThis chapter provides general information on the RTU Configuration Software.

    n this Chapter?This chapter contains the following topics:

    Topic PageGeneral Information 10Hardware Requirements 13Software Requirements 14Installation 14

  • Introduction

    10

    General Information

    OverviewThe RTU Configuration Software helps you to parameterize variables that are used in telecontrol modules.The tool simplifies the configuration of variables significantly, because you configure the variables per variable type instead of parameterizing every single variable.

    W@DE EIO0000000547 11/2009

    NOTE: This tool is not an alternative to the embedded web server of telecontrol modules, because it only covers the variable part and not the complete configuration of telecontrol modules.

    ModulesThe W@DE TSXETW3xx product range is a PLC-based remote control solution incorporating:z operation in local or remote modez data archivingz direct user alarm notification.Each remote control interface communicates with a control station using Modbus, IEC or DNP3 open protocols over a communication medium (Radio, PSTN, GSM, RS232, Ethernet, USB).

  • Introduction

    EIO0000000

    Data FlowThe following graphic shows the data flow between a telecontrol module, a PLC, the RTU Configuration Software and Unity Pro.547 11/2009 11

  • Introduction

    12

    Backup of Module ConfigurationNOTE: It is recommended to save the telecontrol module configuration (created with the embedded web server of the module) before importing the variable type configuration (created with the RTU Configuration Software).

    Build/ImportDuring installation of the RTU Configuration Software an additional library (RTU library), providing the DFBs and DDT needed by the tool, is installed in Unity Pro.

    Save, EdEIO0000000547 11/2009

    Stages for build/import

    For detailed information on how to build and import a configuration please refer to User Interface (see page 20).

    itFor detailed information on how to save and edit a configuration please refer to User Interface (see page 20).

    Stage Description1 Build of the configuration data out of the common settings and the different

    variable types in the RTU Configuration Software.2 Export of the generated data out of the RTU Configuration Software for:

    z Unity Pro (Variable list and Sections)z telecontrol module (variable configuration)

    3 Import of the generated data to Unity Pro and to the telecontrol module.

  • Introduction

    EIO0000000

    Hardware Requirements

    PC

    Telecon

    PLCs

    Component DescriptionSystem with Microsoft Windows VistaSystem Pentium Processor 2.4 GHz or higher

    recommended: 3.0 GHz547 11/2009 13

    trol ModulesThe following W@DE modules can be used with the tool:z TSXETW315xxz TSXETW320xxxxz TSXETW325xxxx

    The following PLC platforms can be used with the tool:z Premiumz Quantumz Modicon M340

    RAM Memory 1 GB minimumrecommended: 2 GB

    Hard Disk minimum available free space: 100 MBSystem with Microsoft Windows XPSystem Pentium Processor 1.2 GHz or higher

    recommended: 3.0 GHzRAM Memory 512 MB minimum

    recommended: 1 GBHard Disk minimum available free space: 100 MB

    Component DescriptionDrive CD-ROM drive, to install the software

    recommended: CD-ROM writer

    Component DescriptionDisplay VGA (800-600) minimum

    recommended: SVGA (1024-768 or more) with high color 24 bits

  • Introduction

    14

    Software Requirements

    General SoftwareThe following software has to be installed on your PC:z Microsoft Windows XP Professional or Microsoft Windows Vistaz Microsoft .NET Framework V3.5z Microsoft Internet Explorer 5.5 or laterz Unity Pro 4.0 or later

    Installa

    Overvie

    ResultEIO0000000547 11/2009

    After installing the software mentioned above you can start to install the RTU Configuration Software 1.0.

    tion

    wTo install, repair or remove the tool you have to start the setup.exe.After starting the setup.exe follow the installation routine.NOTE: Please refer to the Software Requirements (see page 14) before starting the installation.

    The result of the installation process is the following:z The RTU Configuration Software is available.z A icon to start the tool is available in the Unity Pro toolbar.z The additional RTU library, providing the DFBs and DDTs needed by the tool, is

    available in Unity Pro.

  • EIO0000000 15

    2

    RTU LibraryEIO0000000547 11/2009

    RTU Library

    RTU L

    Overvie

    DFBs547 11/2009ibrary

    wDuring installation of the RTU Configuration Software an additional library (RTU library), providing the DFBs and DDT needed by the tool, is installed in Unity Pro.These DFBs/DDT must be available before you can import the variable list and sections generated by the RTU Configuration Software.

    The RTU Configuration Software needs the following DFBs:

    DFB Name DescriptionIEC_DTI calculation of the number cycles per secondsIEC_RTU_COMMAND Word to BitIEC_RTU_TimeSync time synchronization after PLC restart (second, minute, hour,

    day, month, year, weekday)IEC_SCAL_ME scaling of data values

  • RTU Library

    16

    DDTThe RTU Configuration Software needs the DateAndTime DDT.The DateAndTime DDT has the following structure:

    Element Data Typehour INTminute INTsecond INTEIO0000000547 11/2009

    day INTmonth INTyear INTmonday BOOLtuesday BOOLwednesday BOOLthursday BOOLfriday BOOLsaturday BOOLsunday BOOLweekday BOOLweekend BOOLsummertime BOOLIV BOOL

  • EIO0000000 17

    3

    RTU Configuration SoftwareEIO0000000547 11/2009

    RTU Configuration Software

    Overvie

    What's i547 11/2009wThis chapter provides information on the RTU Configuration Software.

    n this Chapter?This chapter contains the following topics:

    Topic PageVariable Name Creation 18Information Object Address 19User Interface 20Station Configuration Browser 22Common Settings 23Device Configuration 24Single Points Properties 25Double Points Properties 26Measured Values Properties 27Integrated Totals Properties 28Single Commands Properties 29Double Commands Properties 30Set Points Properties 31Import of Data to Unity Pro 32Edit Variables 33

  • RTU Configuration Software

    18

    Variable Name Creation

    OverviewThe variable names are automatically generated from different data entered in the interface of the RTU Configuration Software.For detailed information on the different data please refer to the Device configuration section and the respective variable types (e.g Single points) sections.

    Name CEIO0000000547 11/2009

    reationThe following data is used to generate the variable names:

    The concatenated data are separated from each other with an underline.Example: Station01_SP0001_102_100

    Data Defined in Description/CommentStation prefix Device configuration

    properties windowoptionalThis prefix is only used to generate the variable names, if the Prefix is used check box is activated.Example: Station01

    Prefix properties window of the respective variable type (e.g. Single points properties window)

    IEC variable type specific prefixThis prefix is merged with a 4-digits incremental number.Example: SP0001

    Objects address properties window of the respective variable type (e.g. Single points properties window)

    starting object address of the related IEC variable typeExample: 102

    Objects start address

    Device configuration properties window

    station addressThe specific %MW Object address of a variable is calculated from the inserted Objects start address. Example: 100

    WARNINGUNINTENDED EQUIPMENT OPERATIONTest and verify the complete configuration and the final application.Ensure that no mistakes were made during configuration.Failure to follow these instructions can result in death, serious injury, or equipment damage.

  • RTU Configuration Software

    EIO0000000

    Information Object Address

    OverviewAccording to the IEC-60870/101 and 104, the information object address (IOA) is used to identify the configured data points in the telecontrol module.Together with the hardware address (the link address for a Modbus Serial Line connection or the IP address for a Modbus TCP/IP connection) and the sector address (common address) the data points can be accessed from outside of the 547 11/2009 19

    device.

  • RTU Configuration Software

    20

    User Interface

    OverviewThe user interface consists of several windows, a menu bar and a toolbar.EIO0000000547 11/2009

    Legend

    Number Description1 Menu bar

    z (File New, Open, Save, Save As, Exit)z (Build Configuration, Prepare Unity Pro Part...)z (Extras Cleanup Log-Window)

    2 Toolbar (New, Open, Save)3 Station Configuration Browser (see page 22)4 Properties window

    The displayed properties depend on the variable type selected in the Station Configuration Browser at the left.For the different variable type properties please refer to the subsequent sections.

    5 Information window (provides information on the status of operations)You can clear the information window using Extras Cleanup Log-Window.

  • RTU Configuration Software

    EIO0000000

    Saving the ConfigurationTo open, save or exit the configuration, use the menu bar or the toolbar.You can save the configuration to any folder you like to.The configuration is saved as a *.config file.

    Building the ConfigurationTo build the configuration use Build Configuration.

    Editing

    Importin547 11/2009 21

    When building the configuration, a sub-folder is created in the folder you saved your configuration to, named as your configuration file.Example: MyConfiguration.config will result in a sub-folder MyConfiguration.This sub-folder (e.g. MyConfiguration) contains:z a file Variables.TXT (telecontrol module variable list)z another sub-folder for each station you defined in your configuration (named as

    the respective station) withz a variable list, the structures and the sections for Unity Pro

    the Configuration/VariablesTo edit the configuration or the variables, use the Configuration or the Variables tab.Now you can modify your configuration or variables and add comments in a list format.

    g the DataThe generated data for the telecontrol modules you have to import manually.For Unity Pro the import is done automatically using Build Prepare Unity Pro part.... Please refer to Import of Data to Unity Pro (see page 32).

  • RTU Configuration Software

    22

    Station Configuration Browser

    OverviewThe Station Configuration Browser provides toz add, delete or rename a stationz select the group of properties you want to edit (for example Common settings,

    Monitoring Single points, Controlling Single commands)

    Adding,EIO0000000547 11/2009

    Deleting or Renaming the StationRight-click a station and select the respective item from the context menu (Add, Delete, Rename).

  • RTU Configuration Software

    EIO0000000

    Selecting a Group of PropertiesTo select a group of properties you want to edit, click on of the following items/sub-items:z Device configuration (see page 24)z Monitoring (data, read from the station)z Single points (see page 25)z Double points (see page 26)z Measured values (see page 27)z Integrated totals (see page 28)

    Comm

    Overvie547 11/2009 23

    z Controlling (data, written to the station)z Single commands (see page 29)z Double commands (see page 30)z Set points (see page 31)

    on Settings

    wSelect Common settings in the Station Configuration Browser to open the Common settings properties window.In this window you can define up to 5 Cycles (range: 0..100000 ms).The defined Cycles are available in the Query cycle drop down list of the different variable types (e.g. in the Single points properties window).

  • RTU Configuration Software

    24

    Device Configuration

    OverviewSelect Device configuration in the Station Configuration Browser to open the Device configuration properties window.In this window you can define the general settings for each station configuration.For information on how variable names are generated please refer to Variable Name

    Data/ProEIO0000000547 11/2009

    Creation (see page 18).

    pertiesYou can define the following data/properties in the Device configuration properties window:

    Data Property DescriptionDescription This station

    manages ... for example

    description of the station

    Version 0.0.001 ... for example

    version of the station configuration

    PLC drop-down list PLC, the module communicates withz M340z Premiumz Quantum

    Station prefix Station01 for example

    prefix for the stationThis prefix will be used to generate the variable names, if the Prefix is used check box is activated.

    Prefix is used check box If this check box is activated the Station prefix generate the variable names.

    Modbus slave address

    32 for example Modbus Serial Line slave address

    Network address [x.y.z.n]

    192.168.19.2 for example

    Modbus TCP/IP address of the station

    Objects start address

    1000 for example start address of the ASDU data (%MW)

    Quality bits start address

    100 for example start address of the quality data (%MW)

    Structure name RTU for example name of the variable structure in Unity Pro

  • RTU Configuration Software

    EIO0000000

    Single Points Properties

    OverviewSelect Single Points in the Station Configuration Browser to open the properties window of the Single Point variable type.For information on how variable names are generated please refer to Variable Name Creation (see page 18).

    Data/Pro547 11/2009 25

    pertiesYou can define the following data/properties for the Single Point variable type:

    NOTE: For all used variable types the Number of objects and the Objects address have to be defined.

    Data Property DescriptionPrefix SP for example IEC variable type specific prefix

    For variable name generation this prefix is merged with a 4-digits incremental number.Example: SP0001

    Structure name SinglePoints for example

    name of the subelement of the variable structure in Unity Pro

    Number objects 10 for example number of variables of this typeNOTE: If this variable type is not used set the number to 0.

    Objects address 100 for example address of the first variable of this typeThe Object address is used to access the variables from a control station via a RTU connection (according to IEC-60870/101 and /104; DNP3).

    Datatype BOOL for example Unity Pro datatypeQuery cycle 1000ms for

    examplechoice of cycle defined in the Common settings

  • RTU Configuration Software

    26

    Double Points Properties

    OverviewSelect Double points in the Station Configuration Browser to open the properties window of the Double point variable type.For information on how variable names are generated please refer to Variable Name Creation (see page 18).

    Data/ProEIO0000000547 11/2009

    pertiesYou can define the following data/properties for the Double point variable type:

    NOTE: For all used variable types the Number of objects and the Objects address have to be defined.

    Data Property DescriptionPrefix DP for example IEC variable type specific prefix

    For variable name generation this prefix is merged with a 4-digits incremental number.Example: DP0001

    Structure name DoublePoints for example

    name of the subelement of the variable structure in Unity Pro

    Number objects 10 for example number of variables of this typeNOTE: If this variable type is not used set the number to 0.

    Objects address 200 for example address of the first variable of this typeThe Object address is used to access the variables from a control station via a RTU connection (according to IEC-60870/101 and /104; DNP3).

    Datatype DBOOL for example Unity Pro datatypeQuery cycle 1000ms for

    examplechoice of cycle defined in the Common settings

  • RTU Configuration Software

    EIO0000000

    Measured Values Properties

    OverviewSelect Measured Values in the Station Configuration Browser to open the properties window of the Measured Value variable type.For information on how variable names are generated please refer to Variable Name Creation (see page 18).

    Data/Pro547 11/2009 27

    pertiesYou can define the following data/properties for the Measured Value variable type:

    NOTE: For all used variable types the Number of objects and the Objects address have to be defined.

    Data Property DescriptionPrefix ME for example IEC variable type specific prefix

    For variable name generation this prefix is merged with a 4-digits incremental number.Example: ME0001

    Structure name MeasuredValues for example

    name of the subelement of the variable structure in Unity Pro

    Number objects 10 for example number of variables of this typeNOTE: If this variable type is not used set the number to 0.

    Objects address 300 for example address of the first variable of this typeThe Object address is used to access the variables from a control station via a RTU connection (according to IEC-60870/101 and /104; DNP3).

    Datatype INT for example Unity Pro datatypeQuery cycle 1000ms for example choice of cycle defined in the Common settingsVariation method z TIMEINTEGRAL

    z PERCENTz FIXED

    variation of a variable to avoid multiple events with lowest values / value changes

    Variation value 100 for example value for the configured Variation method (Example for the variation method TIMEINTEGRAL: integrated value until the data point variable gets transmitted.

    Variation reference

    32767 for example reference value to which the measured value will be normalized

  • RTU Configuration Software

    28

    Integrated Totals Properties

    OverviewSelect Integrated totals in the Station Configuration Browser to open the properties window of the Integrated total variable type.For information on how variable names are generated please refer to Variable Name Creation (see page 18).

    Data/ProEIO0000000547 11/2009

    pertiesYou can define the following data/properties for the Integrated total variable type:

    NOTE: For all used variable types the Number of objects and the Objects address have to be defined.

    Data Property DescriptionPrefix IT for example IEC variable type specific prefix

    For variable name generation this prefix is merged with a 4-digits incremental number.Example: IT0001

    Structure name IntegratedTotals for example

    name of the subelement of the variable structure in Unity Pro

    Number objects 10 for example number of variables of this typeNOTE: If this variable type is not used set the number to 0.

    Objects address 400 for example address of the first variable of this typeThe Object address is used to access the variables from a control station via a RTU connection (according to IEC-60870/101 and /104; DNP3).

    Datatype INT for example Unity Pro datatypeQuery cycle 1000ms for

    examplechoice of cycle defined in the Common settings

    Periodic event is used

    check box If this check box is activated the integrated total values are saved periodically. See Periodic event.

    Periodic event 15 min for example

    time span between 2 savings of the integrated total valuesYou can select the Periodic event data from a list (10 sec up to 1 day).This property is used only, if the Periodic event is used check box is activated.

    Reset value 1000000 for example

    Overflow value that must be exceeded, for the integrated total value to be reset.

  • RTU Configuration Software

    EIO0000000

    Single Commands Properties

    OverviewSelect Single commands in the Station Configuration Browser to open the properties window of the Single command variable type.For information on how variable names are generated please refer to Variable Name Creation (see page 18).

    Data/Pro547 11/2009 29

    pertiesYou can define the following data/properties for the Single command variable type:

    NOTE: For all used variable types the Number of objects and the Objects address have to be defined.

    Data Property DescriptionPrefix SC for example IEC variable type specific prefix

    For variable name generation this prefix is merged with a 4-digits incremental number.Example: SC0001

    Structure name SingleCommands for example

    name of the subelement of the variable structure in Unity Pro

    Number objects 10 for example number of variables of this typeNOTE: If this variable type is not used set the number to 0.

    Objects address 500 for example address of the first variable of this typeThe Object address is used to access the variables from a control station via a RTU connection (according to IEC-60870/101 and /104; DNP3).

    Datatype BOOL for example Unity Pro datatype

  • RTU Configuration Software

    30

    Double Commands Properties

    OverviewSelect Double commands in the Station Configuration Browser to open the properties window of the Double command variable type.For information on how variable names are generated please refer to Variable Name Creation (see page 18).

    Data/ProEIO0000000547 11/2009

    pertiesYou can define the following data/properties for the Double command variable type:

    NOTE: For all used variable types the Number of objects and the Objects address have to be defined.

    Data Property DescriptionPrefix DC for example IEC variable type specific prefix

    For variable name generation this prefix is merged with a 4-digits incremental number.Example: DC0001

    Structure name DoubleCommands for example

    name of the subelement of the variable structure in Unity Pro

    Number objects 10 for example number of variables of this typeNOTE: If this variable type is not used set the number to 0.

    Objects address 600 for example address of the first variable of this typeThe Object address is used to access the variables from a control station via a RTU connection (according to IEC-60870/101 and /104; DNP3).

    Datatype DBOOL for example Unity Pro datatype

  • RTU Configuration Software

    EIO0000000

    Set Points Properties

    OverviewSelect Set points in the Station Configuration Browser to open the properties window of the Set point variable type.For information on how variable names are generated please refer to Variable Name Creation (see page 18).

    Data/Pro547 11/2009 31

    pertiesYou can define the following data/properties for the Set points variable type:

    NOTE: For all used variable types the Number of objects and the Objects address have to be defined.

    Data Property DescriptionPrefix SE for example IEC variable type specific prefix

    For variable name generation this prefix is merged with a 4-digits incremental number.Example: SP0001

    Structure name SetPoints for example

    name of the subelement of the variable structure in Unity Pro

    Number objects 10 for example number of variables of this typeNOTE: If this variable type is not used set the number to 0.

    Objects address 700 for example address of the first variable of this typeThe Object address is used to access the variables from a control station via a RTU connection (according to IEC-60870/101 and /104; DNP3).

    Datatype INT for example Unity Pro datatype

  • RTU Configuration Software

    32

    Import of Data to Unity Pro

    OverviewAfter building the configuration (Build Configuration), you can import the application specific part automatically to Unity Pro by selecting Build Prepare Unity Pro part....

    Procedure

    Batch PEIO0000000547 11/2009

    NOTE: Using Open: Unity application... or Import: Unity application... you have to verify that the %MW addresses generated with the RTU Configuration Software are not used for other variables in the Unity application you are opening or importing.

    rocessingNOTE: Using the so called Batch processing you can create 1 new Unity Pro application for every station in 1 step.

    Step Action1 Select the Station you want to import.2 z Either open an existing Unity Pro application using Open: Unity

    application...z or create a new one using Create: Unity application...z or import an existing XEF file using Import: Unity application...

    3 Import the generated sections and variables of the selected station by clicking the Generate button.

  • RTU Configuration Software

    EIO0000000

    Edit Variables

    OverviewFor each variable you can insert an additional comment in the variable list using the Variables tab.

    XML Fil547 11/2009 33

    Also a measurement unit can be defined for the Measured values.An optional text can be defined for all BOOL and DBOOL variables to indicate the value of the variable.This text can be displayed in an HMI for the values 1 or rather 0 of the variable.

    eAfter the generation, an Excel XML file is available for each station in the corresponding folder, which documents the whole variable configuration.The name of this file is build accordingly to the following scheme:_VariablesExcel.xml

  • RTU Configuration Software

    34 EIO0000000547 11/2009

  • EIO0000000547 11/2009 35

    EIO0000000547 11/2009

    Appendices

  • 36 EIO0000000547 11/2009

  • EIO0000000 37

    A

    RTU Application ExampleEIO0000000547 11/2009

    RTU Application Example

    Overvie

    What's i547 11/2009wThis chapter provides information on the configuration of a W@DE module using the RTU Configuration Software.

    n this Chapter?This chapter contains the following topics:

    Topic PageConfiguration with the Embedded Web Server 38RTU Configuration Software Settings 40Resulting Variables 45

  • RTU Application Example

    38

    Configuration with the Embedded Web Server

    OverviewThe configuration of the RTU transmission protocol has to be done once using the embedded web server of the W@DE modules.This can be done before or after using the RTU Configuration Software.

    CommuEIO0000000547 11/2009

    nication ConfigurationIn the Modbus master Communication Configuration dialog you have to configure the general parameters for the Modbus communication (e.g. reply timeout, transmission speed, parity, etc.).The topics are automatically configured and linked to the variables by the import of the configuration file from the RTU Configuration Software.

  • RTU Application Example

    EIO0000000

    Protocol ParametersIn the Protocol Parameters IEC 60870-5-101 dialog you have toz configure the settings for transmission with time-tag (with/without and 3-Byte/7-

    Byte time-tag)z adjust the transmission priority of the classesIn the example the measurement values are transmitted as normalized values.Therefore you have to configure the parameter of the measured value as shown below.547 11/2009 39

  • RTU Application Example

    40

    RTU Configuration Software Settings

    OverviewFor the RTU application example please define the data/properties listed below.For information on how variable names are generated please refer to Variable Name Creation (see page 18).

    Device CEIO0000000547 11/2009

    onfiguration

    Data Property Description/CommentDescription This is an example station. -Version 0.0.001 version of the station configurationPLC Select M340 from the drop-

    down list.PLC, the module communicates with

    Station prefix Tele1 This prefix will be used to generate the variable names.

    Prefix is used activate the check box -Modbus slave address

    32 Modbus Serial Line slave address

    Network address [x.y.z.n]

    - Modbus TCP/IP address of the station (not used for this example)

    Objects start address

    1000 start address of the ASDU data (%MW)

    Quality bits start address

    100 start address of the quality data (%MW)

    Structure name RTU name of the variable structure in Unity Pro

  • RTU Application Example

    EIO0000000

    Single Points

    Single C

    Data Property DescriptionPrefix SP For variable name generation this

    prefix is merged with a 4-digits incremental number.

    Structure name SinglePoints name of the subelement of the variable structure in Unity Pro547 11/2009 41

    The above properties correspond to 25 single points starting from the object address 100.The variable names start with Tele1_SP0000_100_1000.2 WORDs are required to transmit these 25 single points.

    ommands

    The above properties correspond to 15 single commands starting from the object address 500.The variable names start with Tele1_SC0000_500_1002.Only 1 WORD (%MW1002) is required to transmit these 15 single commands.

    Number objects 25 number of variables of this typeObjects address 100 address of the first variable of this

    typeDatatype BOOL Unity Pro datatypeQuery cycle 1000ms choice of cycle defined in the

    Common settings

    Data Property DescriptionPrefix SC For variable name generation this

    prefix is merged with a 4-digits incremental number.

    Structure name SingleCommands name of the subelement of the variable structure in Unity Pro

    Number objects 15 number of variables of this typeObjects address 500 address of the first variable of this

    typeDatatype BOOL Unity Pro datatype

  • RTU Application Example

    42

    Double Points

    Double

    Data Property DescriptionPrefix DP For variable name generation this

    prefix is merged with a 4-digits incremental number.

    Structure name DoublePoints name of the subelement of the variable structure in Unity ProEIO0000000547 11/2009

    The above properties correspond to 10 double points starting from the object address 200.The variable names start with Tele1_DP0000_200_1003.2 WORDs are required to transmit these 10 double points.

    Commands

    The above properties correspond to 5 double commands starting from the object address 600.The variable names start with Tele1_DC0000_600_1005.Only 1 WORD is required to transmit these 5 double commands.

    Number objects 10 number of variables of this typeObjects address 200 address of the first variable of this

    typeDatatype DBOOL Unity Pro datatypeQuery cycle 5000ms choice of cycle defined in the

    Common settings

    Data Property DescriptionPrefix DC For variable name generation this prefix is

    merged with a 4-digits incremental number.Structure name DoubleCommands name of the subelement of the variable structure

    in Unity ProNumber objects 5 number of variables of this typeObjects address 600 address of the first variable of this typeDatatype DBOOL Unity Pro datatype

  • RTU Application Example

    EIO0000000

    Measured Values

    Set Poin

    Data Property DescriptionPrefix ME For variable name generation this prefix is

    merged with a 4-digits incremental number.Structure name MeasuredValues name of the subelement of the variable structure

    in Unity ProNumber objects 20 number of variables of this type547 11/2009 43

    The above properties correspond to 20 measured values starting from the object address 300.Variation value was set to 100 and Variation reference was set to 32767.The variable names start with Tele1_ME0000_300_1006.20 WORDs are required to transmit these 20 measured values.

    tsSet Number objects to 0. So all other settings for Set points will be ignored.

    Objects address 300 address of the first variable of this typeDatatype INT Unity Pro datatypeQuery cycle 1000ms choice of cycle defined in the Common settingsVariation method select

    TIMEINTEGRAL from the drop-down list

    variation of a variable to avoid multiple events with lowest values / value changes

    Variation value 100 value for the configured Variation method(TIMEINTEGRAL: integrated value until the data point variable gets transmitted.

    Variation reference 32767 reference value to which the measured value will be normalized

  • RTU Application Example

    44

    Integrated Totals

    Data Property DescriptionPrefix IT For variable name generation this prefix is

    merged with a 4-digits incremental number.Structure name IntegratedTota

    lsname of the subelement of the variable structure in Unity Pro

    Number objects 3 number of variables of this typeEIO0000000547 11/2009

    The above properties correspond to 3 integrated totals starting from the object address 400.Reset value was set to 1000000 and Periodic event was set to 5 min.The variable names start with Tele1_IT0000_400_1026.6 WORDs are required to transmit these 3 integrated totals.

    Objects address 400 address of the first variable of this typeDatatype INT Unity Pro datatypeQuery cycle 1000ms choice of cycle defined in the Common settingsPeriodic event is used

    activate this check box

    If this check box is activated the integrated total values are saved periodically. See Periodic event.

    Periodic event 5 min time span between 2 savings of the integrated total valuesThis property is used only, if the Periodic event is used check box is activated.

    Reset value 1000000 Overflow value that must be exceeded, for the integrated total value to be reset.

  • RTU Application Example

    EIO0000000

    Resulting Variables

    The complete configuration includes 32 WORDs in the area of %MW1000 to %MW1031.

    Variable Type Name Object Address %MW AddressSingle point1 Tele1_SP0000_100_1000 100 1000.0547 11/2009 45

    Single point2 Tele1_SP0001_101_1000 101 1000.1Single point3 Tele1_SP0002_102_1000 102 1000.2Single point4 Tele1_SP0003_103_1000 103 1000.3Single point5 Tele1_SP0004_104_1000 104 1000.4Single point6 Tele1_SP0005_105_1000 105 1000.5Single point7 Tele1_SP0006_106_1000 106 1000.6Single point8 Tele1_SP0007_107_1000 107 1000.7Single point9 Tele1_SP0008_108_1000 108 1000.8Single point10 Tele1_SP0009_109_1000 109 1000.9Single point11 Tele1_SP0010_110_1000 110 1000.10Single point12 Tele1_SP0011_111_1000 111 1000.11Single point13 Tele1_SP0012_112_1000 112 1000.12Single point14 Tele1_SP0013_113_1000 113 1000.13Single point15 Tele1_SP0014_114_1000 114 1000.14Single point16 Tele1_SP0015_115_1000 115 1000.15Single point17 Tele1_SP0016_116_1001 116 1001.0Single point18 Tele1_SP0017_117_1001 117 1001.1Single point19 Tele1_SP0018_118_1001 118 1001.2Single point20 Tele1_SP0019_119_1001 119 1001.3Single point21 Tele1_SP0020_120_1001 120 1001.4Single point22 Tele1_SP0021_121_1001 121 1001.5Single point23 Tele1_SP0022_122_1001 122 1001.6Single point24 Tele1_SP0023_123_1001 123 1001.7Single point25 Tele1_SP0024_124_1001 124 1001.8Single command1 Tele1_SC0000_500_1002 500 1002.0Single command2 Tele1_SC0001_501_1002 501 1002.1Single command3 Tele1_SC0002_502_1002 502 1002.2Single command4 Tele1_SC0003_503_1002 503 1002.3

  • RTU Application Example

    46

    Single command5 Tele1_SC0004_504_1002 504 1002.4Single command6 Tele1_SC0005_505_1002 505 1002.5Single command7 Tele1_SC0006_506_1002 506 1002.6Single command8 Tele1_SC0007_507_1002 507 1002.7Single command9 Tele1_SC0008_508_1002 508 1002.8Single command10 Tele1_SC0009_509_1002 509 1002.9

    Variable Type Name Object Address %MW AddressEIO0000000547 11/2009

    Single command11 Tele1_SC0010_510_1002 510 1002.10Single command12 Tele1_SC0011_511_1002 511 1002.11Single command13 Tele1_SC0012_512_1002 512 1002.12Single command14 Tele1_SC0013_513_1002 513 1002.13Single command15 Tele1_SC0014_514_1002 514 1002.14Double point1 Tele1_DP0000_200_1003 200 1003.0Double point2 Tele1_DP0001_201_1003 201 1003.2Double point3 Tele1_DP0002_202_1003 202 1003.4Double point4 Tele1_DP0003_203_1003 203 1003.6Double point5 Tele1_DP0004_204_1003 204 1003.8Double point6 Tele1_DP0005_205_1003 205 1003.10Double point7 Tele1_DP0006_206_1003 206 1003.12Double point8 Tele1_DP0007_207_1003 207 1003.14Double point9 Tele1_DP0008_208_1004 208 1004.0Double point10 Tele1_DP0009_209_1004 209 1004.2Double command1 Tele1_DC0000_600_1005 600 1005.0Double command2 Tele1_DC0001_601_1005 601 1005.2Double command3 Tele1_DC0002_602_1005 602 1005.4Double command4 Tele1_DC0003_603_1005 603 1005.6Double command5 Tele1_DC0004_604_1005 604 1005.8Measured value1 Tele1_ME0000_300_1006 300 1006Measured value2 Tele1_ME0001_301_1007 301 1007Measured value3 Tele1_ME0002_302_1008 302 1008Measured value4 Tele1_ME0003_303_1009 303 1009Measured value5 Tele1_ME0004_304_1010 304 1010Measured value6 Tele1_ME0005_305_1011 305 1011Measured value7 Tele1_ME0006_306_1012 306 1012Measured value8 Tele1_ME0007_307_1013 307 1013

  • RTU Application Example

    EIO0000000

    Measured value9 Tele1_ME0008_308_1014 308 1014Measured value10 Tele1_ME0009_309_1015 309 1015Measured value11 Tele1_ME0010_310_1016 310 1016Measured value12 Tele1_ME0011_311_1017 311 1017Measured value13 Tele1_ME0012_312_1018 312 1018Measured value14 Tele1_ME0013_313_1019 313 1019

    Variable Type Name Object Address %MW Address547 11/2009 47

    Measured value15 Tele1_ME0014_314_1020 314 1020Measured value16 Tele1_ME0015_315_1021 315 1021Measured value17 Tele1_ME0016_316_1022 316 1022Measured value18 Tele1_ME0017_317_1023 317 1023Measured value19 Tele1_ME0018_318_1024 318 1024Measured value20 Tele1_ME0019_319_1025 319 1025Integrated total1 Tele1_IT0000_400_1026 400 1026Integrated total2 Tele1_IT0002_401_1028 401 1028Integrated total3 Tele1_IT0003_402_1030 402 1030

  • RTU Application Example

    48 EIO0000000547 11/2009

  • EIO0000000547 11/2009 49

    CBA

    IndexEIO0000000547 11/2009

    Index

    Bbrowser

    statio

    Ccommonconfigur

    devicconfigur38

    Ddevice cDFBs, Ddouble c

    propdouble p

    prop

    Eedit variaembedd

    confiexample

    confiresu

    Ggeneral

    Hhardware

    Iimport oinformatinstallatiintegrate

    prope

    Llibrary

    RTU

    Mmeasure

    prope

    Nname cr

    varian configuration, 22

    settings, 23atione, 24

    ation with the embedded web server,

    onfiguration, 24DT, 15ommandserties, 30ointserties, 26

    bles, 33ed web serverguration, 38

    guration tool settings, 40lting variables, 45information, 10

    requirements, 13

    f data to Unity Pro, 32ion object address, 19on, 14d totalsrties, 28

    , 15

    d valuesrties, 27

    eationbles, 18

  • Index

    50

    Oobject address, 19

    Pproperties

    double commands, 30double points, 26integmeasset psinglsingl

    Rrequirem

    hardsoftw

    resultingRTU libr

    Sset point

    propsettings

    commsettings

    confisingle co

    propsingle po

    propsoftwarestation c

    UUnity Pro

    impouser inte

    Vvariable name creation, 18variables

    edit, 33rated totals, 28ured values, 27

    oints, 31e commands, 29e points, 25

    entsware, 13are, 14 variables (example), 45ary, 15

    serties, 31

    on, 23(example)guration tool, 40mmands

    erties, 29ints

    erties, 25 requirements, 14onfiguration browser, 22

    rt of data, 32rface, 20EIO0000000547 11/2009

    RTU Configuration SoftwareTable of ContentsSafety InformationAbout the BookIntroductionGeneral InformationHardware RequirementsSoftware RequirementsInstallation

    RTU LibraryRTU Library

    RTU Configuration SoftwareVariable Name CreationInformation Object AddressUser InterfaceStation Configuration BrowserCommon SettingsDevice ConfigurationSingle Points PropertiesDouble Points PropertiesMeasured Values PropertiesIntegrated Totals PropertiesSingle Commands PropertiesDouble Commands PropertiesSet Points PropertiesImport of Data to Unity ProEdit Variables

    AppendicesRTU Application ExampleConfiguration with the Embedded Web ServerRTU Configuration Software SettingsResulting Variables

    Index

    /ColorImageDict > /JPEG2000ColorACSImageDict > /JPEG2000ColorImageDict > /AntiAliasGrayImages false /CropGrayImages true /GrayImageMinResolution 300 /GrayImageMinResolutionPolicy /OK /DownsampleGrayImages true /GrayImageDownsampleType /Bicubic /GrayImageResolution 300 /GrayImageDepth -1 /GrayImageMinDownsampleDepth 2 /GrayImageDownsampleThreshold 1.50000 /EncodeGrayImages true /GrayImageFilter /DCTEncode /AutoFilterGrayImages true /GrayImageAutoFilterStrategy /JPEG /GrayACSImageDict > /GrayImageDict > /JPEG2000GrayACSImageDict > /JPEG2000GrayImageDict > /AntiAliasMonoImages false /CropMonoImages true /MonoImageMinResolution 1200 /MonoImageMinResolutionPolicy /OK /DownsampleMonoImages true /MonoImageDownsampleType /Bicubic /MonoImageResolution 1200 /MonoImageDepth -1 /MonoImageDownsampleThreshold 1.50000 /EncodeMonoImages true /MonoImageFilter /CCITTFaxEncode /MonoImageDict > /AllowPSXObjects false /CheckCompliance [ /None ] /PDFX1aCheck false /PDFX3Check false /PDFXCompliantPDFOnly false /PDFXNoTrimBoxError true /PDFXTrimBoxToMediaBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXSetBleedBoxToMediaBox true /PDFXBleedBoxToTrimBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXOutputIntentProfile () /PDFXOutputConditionIdentifier () /PDFXOutputCondition () /PDFXRegistryName () /PDFXTrapped /False

    /Description > /Namespace [ (Adobe) (Common) (1.0) ] /OtherNamespaces [ > /FormElements false /GenerateStructure true /IncludeBookmarks false /IncludeHyperlinks false /IncludeInteractive false /IncludeLayers false /IncludeProfiles true /MultimediaHandling /UseObjectSettings /Namespace [ (Adobe) (CreativeSuite) (2.0) ] /PDFXOutputIntentProfileSelector /NA /PreserveEditing true /UntaggedCMYKHandling /LeaveUntagged /UntaggedRGBHandling /LeaveUntagged /UseDocumentBleed false >> ]>> setdistillerparams> setpagedevice