vw32-um001_-en-e.pdf

Upload: orlando-david-zena-sandoval

Post on 06-Jul-2018

236 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/17/2019 vw32-um001_-en-e.pdf

    1/767

    USER’S GUIDE

      PUBLICATION VW32-UM001F-EN-E– July  2011Supersedes Publication VW32-UM001E-EN-E

    RS View 32 ®

  • 8/17/2019 vw32-um001_-en-e.pdf

    2/767

    Contact Rockwell Customer Support Telephone — 1.440.646.3434Online Support — http://support.rockwellautomation.com

    Copyright Notice © 2011 Rockwell Automation Technologies, Inc. All rights reserved. Printed in USA.

    This document and any accompanying Rockwell Software products are copyrighted by Rockwell AutomationTechnologies, Inc. Any reproduction and/or distribution without prior written consent from Rockwell Automation

    Technologies, Inc. is strictly prohibited. Please refer to the l icense agreement for details.

    Trademark Notices Allen-Bradley, ControlLogix, FactoryTalk, Rockwell Automation, Rockwell Software, RSLinx, RSView and theRockwell Software logo are registered trademarks of Rockwell Automation, Inc.

    The following logos and products are trademarks of Rockwell Automation, Inc.:

    AdvanceDDE, ControlView, Data Highway Plus, DH+, RSView32, RSView32 Resource Kit, and WINtelligent.

    FactoryTalk Activation, FactoryTalk Live Data, and FactoryTalk Transaction Manager.

    RSLinx Classic, SLC 5, SLC 500, and SoftLogix.

    Other Trademarks ActiveX, Microsoft, Microsoft Access, SQL Server, Visual Basic, Visual C++, Visual SourceSafe, Windows,Windows ME, Windows NT, Windows 2000, Windows Server 2003, Windows XP, and Windows Vista are either

    registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

    Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the

    United States and/or other countries.

    ControlNet is a registered trademark of ControlNet International.

    DeviceNet is a trademark of the Open DeviceNet Vendor Association, Inc. (ODVA).

    Ethernet is a registered trademark of Digital Equipment Corporation, Intel, and Xerox Corporation.

    OLE for Process Control (OPC) is a registered trademark of the OPC Foundation.

    Oracle, SQL*Net, and SQL*Plus are registered trademarks of Oracle Corporation.

    All other trademarks are the property of their respective holders and are hereby acknowledged.

    Warranty This product is warranted in accordance with the product license. The product’s performance may be affected bysystem configuration, the application being performed, operator control, maintenance, and other related factors.Rockwell Automation is not responsible for these intervening factors. The instructions in this document do not cover

    all the details or variations in the equipment, procedure, or process described, nor do they provide directions formeeting every possible contingency during installation, operation, or maintenance. This product’s implementation

    may vary among users.

    This document is current as of the time of release of the product; however, the accompanying software may havechanged since the release. Rockwell Automation, Inc. reserves the right to change any information contained in this

    document or the software at anytime without prior notice. It is your responsibility to obtain the most current

    information available from Rockwell when installing or using this product.

    http://support.rockwellautomation.com/http://support.rockwellautomation.com/http://support.rockwellautomation.com/http://support.rockwellautomation.com/

  • 8/17/2019 vw32-um001_-en-e.pdf

    3/767

     

    Contents

    Preface

    About the documentation ............................................................................P-1

    Technical support services ........................................................................P-2

     When you call ...............................................................................................................P-2

    Chapter 1

    Working with projects

    What is a project? ............................................................................................. 1-

    Project files ................................................................................................................... 1-2

    Working in the Project Manager ............................................................. 1-3

    Component................................................................................................................... 1-4

     Viewing component locations ................................................................................... 1-

    Adding components to a project ............................................................ 1-

    Renaming, removing, and deleting components......................... 1-6

    Renaming a component.............................................................................................. 1-

    Removing a component.............................................................................................. 1-

    Deleting a component and file................................................................................... 1-8

    Naming files........................................................................................................... 1-

    Printing...................................................................................................................... 1-

    Selecting a printer ...................................................................................................... 1-1Selecting printer setup options ................................................................................ 1-1

    Selecting a network printer....................................................................................... 1-1

    Printing at runtime..................................................................................................... 1-1

  • 8/17/2019 vw32-um001_-en-e.pdf

    4/767

    ii    RSView32 User’s Guide

    Chapter 2 

    Setting up direct driver communications

    Overview of direct driver communications .....................................2-1

    Communication channel..............................................................................................2-2

    Communication device ................................................................................................2-2

    Communication driver.................................................................................................2-3

    Node (control device) ..................................................................................................2-3

    Setting up direct driver communication to

    programmable controllers............................................................................2-3

    Setting up communications without hardware or software ...................................2-4

    Summary of steps .........................................................................................................2-4

    Configuring RSLinx drivers ..........................................................................2-5

    Using the drivers...........................................................................................................2-6

    Selecting a driver in RSView32...................................................................................2-6

    Configuring channels .......................................................................................2-7

    Changing the channel configuration....................................................................... 2-11

    Switching communication drivers at runtime ............................ 2-11

    Commands for switching drivers ............................................................................ 2-12

    Switching drivers automatically .............................................................................. 2-12Switching drivers manually....................................................................................... 2-13

    Creating a node ................................................................................................ 2-13

    Changing node information at runtime ............................................ 2-17

    Scanning for new tag values ................................................................... 2-17

    RSView32 scan classes .............................................................................................. 2-18

    Guidelines for configuring scan classes ................................................................. 2-18

    Monitoring communications .................................................................... 2-20

    Developing your project without a communication

    network................................................................................................................... 2-22

  • 8/17/2019 vw32-um001_-en-e.pdf

    5/767

    Contents   ii

    Chapter 3

    Setting up OPC and DDE communications

    Overview of OPC communications........................................................ 3-3

    Overview of DDE communications........................................................ 3-4

    Summary of steps.............................................................................................. 3-

    Creating an OPC node .................................................................................... 3-

    Creating a DDE node ..................................................................................... 3-12

    Changing node information at runtime ............................................ 3-16

    Scanning for new tag values ................................................................... 3-1

    Chapter 4

    Creating tags

    Tags and the tag database......................................................................... 4-

    Tag types ................................................................................................................. 4-2

    Data sources ......................................................................................................... 4-

    Device............................................................................................................................ 4-3

    Memory ......................................................................................................................... 4-3

    Organizing tags ................................................................................................... 4-

    Naming tags .................................................................................................................. 4-

    Using folders to group tags ........................................................................................ 4-4

    The tag database editor ............................................................................... 4-

    Using the Accept and Discard buttons .................................................................... 4-

    Using the form ..................................................................................................... 4-

    Using the query box......................................................................................... 4-

    Using the folder hierarchy .......................................................................... 4-

    Creating a folder........................................................................................................... 4-

    Opening a folder .......................................................................................................... 4-

     Adding tags to a folder................................................................................................ 4-

    Nesting a folder............................................................................................................ 4-

    Duplicating a folder................................................................................................... 4-1

    Deleting a folder ........................................................................................................ 4-1

  • 8/17/2019 vw32-um001_-en-e.pdf

    6/767

    iv    RSView32 User’s Guide

    Using the spreadsheet................................................................................. 4-11

    Moving through the spreadsheet............................................................................. 4-11

    Resizing columns and rows...................................................................................... 4-11

     Adding a tag................................................................................................................ 4-12

    Duplicating a tag ........................................................................................................ 4-12

    Editing a tag................................................................................................................ 4-12

    Deleting a tag.............................................................................................................. 4-13

    Configuring tag type ...................................................................................... 4-13

    Configuring an analog tag......................................................................................... 4-13

    Configuring a digital tag............................................................................................ 4-17

    Configuring a string tag ............................................................................................ 4-18

    Specifying a data source ........................................................................... 4-19

    Specifying device as the data source ....................................................................... 4-20Specifying memory as the data source.................................................................... 4-21

    Other methods for creating tags .......................................................... 4-22

    Creating tags in a third–party application .............................................................. 4-22

    Creating tags as needed in other RSView32 editors ............................................. 4-23

    Using the Tag Browser ........................................................................................... 4-24

    Importing tags from a PLC database...................................................................... 4-25

    Importing ControlLogix tags ................................................................................... 4-27

    Using the Database Import & Export Wizard...................................................... 4-27Creating tags using the RSView32 Object Model and VBA............................... 4-28

    Adding alarms to tags .................................................................................. 4-28

    Logging tag values ......................................................................................... 4-29

    Using the tag monitor .................................................................................. 4-29

    Creating a tag monitor object .................................................................................. 4-30

    Creating a tag monitor file........................................................................................ 4-31

    Selecting tags .............................................................................................................. 4-31

    Understanding what you see .................................................................................... 4-34

    Changing what you see ............................................................................................. 4-35

     Viewing details ........................................................................................................... 4-37

  • 8/17/2019 vw32-um001_-en-e.pdf

    7/767

    Contents   v

    Chapter 5 

    Creating derived tags

    How to use derived tags............................................................................... 5-

    How to use multiple derived tag files ................................................. 5-2

    Summary of steps.............................................................................................. 5-2

    The Derived Tags editor ............................................................................... 5-

    Using the Accept and Discard buttons .................................................................... 5-

    Setting up the evaluation interval ......................................................... 5-4

    Creating derived tags ..................................................................................... 5-

    Editing derived tags......................................................................................... 5-

    Starting and stopping derived tag processing ............................. 5-7

     Ways to start derived tag processing......................................................................... 5-7 Ways to stop derived tag processing......................................................................... 5-

    Chapter 6 

    Configuring alarms

    Summary of features ....................................................................................... 6-

    Key concepts........................................................................................................ 6-2

     Alarms for analog tags ................................................................................................ 6-2

     Alarms for digital tags ................................................................................................. 6- Alarm severity............................................................................................................... 6-

     Alarm messages............................................................................................................ 6-8

     Alarm log file ................................................................................................................ 6-

     Alarm displays .............................................................................................................. 6-

     Alarm system tags ...................................................................................................... 6-1

     Alarm acknowledgment............................................................................................ 6-12

     Alarm suppression ..................................................................................................... 6-1

    Running commands, macros, or VBA programs in response to alarms........... 6-1

     Alarm expressions...................................................................................................... 6-1

     Acknowledge bit (globally acknowledging alarms) ............................................... 6-1Handshake bit............................................................................................................. 6-1

     Alarm events............................................................................................................... 6-1

    Summary of steps............................................................................................ 6-22

  • 8/17/2019 vw32-um001_-en-e.pdf

    8/767

    vi    RSView32 User’s Guide

    The Alarm Setup editor ............................................................................... 6-23

    Specifying where to store alarm log files ...................................... 6-24

    Creating log files.............................................................................................. 6-25

    Monitoring disk space............................................................................................... 6-26

    Creating files periodically.......................................................................................... 6-27

    Creating files at specified times ............................................................................... 6-27

    Creating files when a particular event occurs........................................................ 6-28

    Never creating new files ........................................................................................... 6-29

    Deleting log files .............................................................................................. 6-29

    About alarm log files ..................................................................................... 6-31

    How log files are named........................................................................................... 6-31

    Exporting alarm log files to ODBC format ..................................... 6-32

    Configuring alarm severity ....................................................................... 6-33

    Configuring alarm messages................................................................... 6-36

     Types of messages ..................................................................................................... 6-36

    Defining the content of the message...................................................................... 6-36

    Adding remarks to the alarm log file at runtime....................... 6-40

    Specifying alarm conditions for analog and digital tags .... 6-41

     When can I configure an alarm for a tag?.............................................................. 6-42

    Configuring alarms for analog tags .................................................... 6-43

     Alarm thresholds........................................................................................................ 6-43

     Alarm messages.......................................................................................................... 6-45

     Advanced .................................................................................................................... 6-46

    Configuring alarms for digital tags ..................................................... 6-48

     Alarm states ................................................................................................................ 6-48

     Alarm messages.......................................................................................................... 6-50

     Advanced .................................................................................................................... 6-51

    Viewing the alarm log file ......................................................................... 6-53

  • 8/17/2019 vw32-um001_-en-e.pdf

    9/767

    Contents   vi

    Creating an alarm summary..................................................................... 6-54

    Creating an alarm summary file ............................................................................... 6-5

    Creating an alarm summary object .......................................................................... 6-5

     The parts of an alarm summary............................................................................... 6-5

    Inserting headings...................................................................................................... 6-5

    Choosing fonts ........................................................................................................... 6-5Choosing colors and blink styles ............................................................................. 6-5

    Formatting buttons.................................................................................................... 6-6

    Choosing data............................................................................................................. 6-6

    Filtering data ............................................................................................................... 6-6

    Sorting data ................................................................................................................. 6-6

    Using alarm data with commands ........................................................................... 6-6

    Suppressing alarm printing ...................................................................... 6-70

    Suppressing alarm monitoring ............................................................... 6-7

    Suppressing alarm monitoring for tags................................................................... 6-7 Viewing suppressed tags ........................................................................................... 6-72

    Using the Suppressed List ........................................................................................ 6-72

    More RSView32 commands..................................................................................... 6-73

    Starting and stopping alarm monitoring ......................................... 6-73

     Ways to start alarm monitoring ............................................................................... 6-7

     Ways to stop alarm monitoring ............................................................................... 6-74

    Chapter 7 

    Configuring data logging

    What is a model? ................................................................................................ 7-

    How to use multiple data log models ....................................................................... 7-

    Summary of steps.............................................................................................. 7-2

    About data log storage formats .............................................................. 7-2

    The .dbf file format ........................................................................................... 7-

    Narrow .dbf file format .............................................................................................. 7-3

     Wide .dbf file format................................................................................................... 7-3

    Choosing between narrow and wide .dbf file formats ........................................... 7-

    How .dbf log files are named..................................................................................... 7-

    Long file names............................................................................................................ 7-

    Short file names............................................................................................................ 7-

    http://-/?-http://-/?-

  • 8/17/2019 vw32-um001_-en-e.pdf

    10/767

    viii    RSView32 User’s Guide

    Example of short file names for narrow .dbf format .............................................7-7

    Example of short file names for wide .dbf format ..................................................7-8

    The ODBC storage format ............................................................................7-8

    How ODBC tables are named....................................................................................7-9

    Using an existing ODBC data source........................................................................7-9

    Creating a new ODBC data source......................................................................... 7-10

    The Data Log Setup editor ........................................................................ 7-11

    Setting up a model ......................................................................................... 7-11

    Setting up logging paths ............................................................................ 7-20

    Switching logging paths ............................................................................................ 7-20

    Specifying logging paths ........................................................................................... 7-22

    Using the DataLogSwitchBack command to switch

    logging paths ...................................................................................................... 7-25

    Using the DataLogMergeToPrimary command to move

    secondary files to the primary path ................................................... 7-26

    Creating .dbf log files ................................................................................... 7-27

    Monitoring disk space............................................................................................... 7-27

    Creating files periodically.......................................................................................... 7-28

    Creating files at specified times ............................................................................... 7-29

    Creating files when a particular event occurs........................................................ 7-30

    Never creating new files ........................................................................................... 7-30

    Using the DataLogNewFile command to create files ........... 7-31

    Deleting ODBC database records and .dbf log files ............... 7-32

    Specifying when to log data .................................................................... 7-35

    Logging periodically .................................................................................................. 7-36

    Logging on change .................................................................................................... 7-36

    Logging on demand................................................................................................... 7-37

    Using the DataLogSnapshot command ................................................................. 7-38

    Combining logging .................................................................................................... 7-39

    Providing operators with a way to log on demand............................................... 7-39

    Choosing the data to log ............................................................................ 7-40

  • 8/17/2019 vw32-um001_-en-e.pdf

    11/767

    Contents   ix

    Editing the data log model........................................................................ 7-4

    Changing logging paths using RSView32 Runtime .............................................. 7-4

    Changing logging paths using the DataLogPath command................................ 7-4

    Making runtime changes without editing the data log

    model........................................................................................................................ 7-4

    Changing the log rate for periodic logging ............................................................ 7-4Changing the log file identifier string ..................................................................... 7-4

    Displaying data in a trend ......................................................................... 7-44

    Starting and stopping data logging .................................................... 7-44

     Ways to start data logging......................................................................................... 7-4

     Ways to stop data logging......................................................................................... 7-4

    Chapter 8 

    Configuring activity logging

    Which activities can be logged?............................................................. 8-

    Summary of steps.............................................................................................. 8-2

    The Activity Log Setup editor ................................................................... 8-2

    Specifying where to store activity log files.................................... 8-4

    Creating log files................................................................................................ 8-

    Monitoring disk space ................................................................................................. 8-

    Creating files periodically............................................................................................ 8-

    Creating files at specified times ................................................................................. 8-Creating files when a particular event occurs .......................................................... 8-

    Never creating new files.............................................................................................. 8-

    Deleting log files ................................................................................................ 8-

    About activity log files................................................................................. 8-10

    How log files are named ........................................................................................... 8-1

    Exporting activity log files to ODBC format ................................. 8-1

    Specifying which activities to log ....................................................... 8-13

    Editing activity log setup ........................................................................... 8-1Using the activity bar ................................................................................... 8-1

    Hiding, showing, and moving the activity bar ....................................................... 8-1

    Messages in the activity bar ...................................................................................... 8-1

  • 8/17/2019 vw32-um001_-en-e.pdf

    12/767

    x    RSView32 User’s Guide

    Using the Activity Log Viewer ............................................................... 8-17

    Selecting a record....................................................................................................... 8-18

    Understanding records.............................................................................................. 8-19

     Tracking system usage .............................................................................................. 8-19

    Starting and stopping activity logging ............................................. 8-20

     Ways to start activity logging ................................................................................... 8-20

     Ways to stop activity logging ................................................................................... 8-20

    Chapter 9 

    Configuring events

    How to use multiple event files ...............................................................9-1

    Summary of steps ..............................................................................................9-2

    The Events editor ...............................................................................................9-2

    Using the Accept and Discard buttons .....................................................................9-3

    Setting up the evaluation interval ..........................................................9-3

    Creating events ...................................................................................................9-4

    Editing events .......................................................................................................9-6

    Starting and stopping event processing............................................9-6

     Ways to start event processing ...................................................................................9-6

     Ways to stop event processing ...................................................................................9-7

    Chapter 10

    Adding security

    About security ................................................................................................... 10-1

    Users and security codes........................................................................................... 10-1

    Security function........................................................................................................ 10-2

    Electronic signatures ................................................................................................. 10-2

    Security Monitor utility ............................................................................................. 10-2

    Summary of steps for setting up security codes...................... 10-3

    Before you begin .............................................................................................. 10-4

  • 8/17/2019 vw32-um001_-en-e.pdf

    13/767

    Contents   x

    Configuring security codes....................................................................... 10-4

    Security codes ............................................................................................................. 10-

     The default.................................................................................................................. 10-

    Setting up security by inclusion ............................................................................... 10-

    Setting up security by exclusion............................................................................... 10-

    Preventing access to the Security Codes and User Accounts editors................ 10-Using strict security ...................................................................................... 10-

     Turning off strict security ......................................................................................... 10-

    Assigning security to a graphic display .......................................... 10-9

    Assigning security to an OLE object ...............................................10-10

    Assigning security to a tag..................................................................... 10-1

    Configuring user accounts...................................................................... 10-12

     About the default user............................................................................................. 10-1

    Ensuring you always have access...........................................................................10-1Creating user accounts ............................................................................................ 10-13

    Login and logout macros..........................................................................10-1

    Using electronic signatures to prevent unauthorized

    actions...................................................................................................................10-1

    Securing the Project Manager ..............................................................10-1

    Preventing users from going out of the

    RSView32 project ..........................................................................................10-1

    Logging in at runtime.................................................................................. 10-1

    Changing passwords at runtime ......................................................... 10-1

  • 8/17/2019 vw32-um001_-en-e.pdf

    14/767

    xii    RSView32 User’s Guide

    Chapter 11

    Creating graphic displays

    About graphic displays and graphic objects ............................... 11-1

    The Graphic Display editor ....................................................................... 11-2

     The editor’s main components................................................................................ 11-2

    Mastering basic techniques .................................................................... 11-3

    Using the context menu............................................................................................ 11-3

    Switching between normal and test modes ........................................................... 11-4

    Using the toolbars...................................................................................................... 11-4

    Selecting a drawing tool ............................................................................................ 11-6

    Selecting colors .......................................................................................................... 11-7

    Selecting and deselecting objects............................................................................. 11-8

    Using the grid ............................................................................................................. 11-8

    Using the Rotate tool ................................................................................................ 11-9

    Zooming in and out ................................................................................................ 11-11

    Correcting mistakes ................................................................................................. 11-11

    Setting up the display ................................................................................ 11-12

    Saving the display settings ...................................................................................... 11-12

    Creating a default ..................................................................................................... 11-13

    Using the Display Settings dialog box .................................................................. 11-13

    Specifying the display type ..................................................................................... 11-14

     Allowing multiple running copies ......................................................................... 11-15

    Specifying caching ................................................................................................... 11-16

    Specifying the title bar and other display attributes ........................................... 11-17

    Preventing scroll bars on the RSView32 main window..................................... 11-19

    Specifying display size ............................................................................................. 11-20

    Specifying resize behavior ...................................................................................... 11-20

    Specifying display position ..................................................................................... 11-21

    Specifying a security code....................................................................................... 11-22

    Specifying background color.................................................................................. 11-22

    Specifying startup and shutdown commands...................................................... 11-23

    Specifying colors for input fields........................................................................... 11-24Specifying the behavior of interactive objects..................................................... 11-24

    Specifying the behavior of objects with input focus.......................................... 11-25

    Displaying the on–screen keyboard ...................................................................... 11-26

  • 8/17/2019 vw32-um001_-en-e.pdf

    15/767

    Contents   xii

    Displaying graphics more quickly...................................................... 11-27

    Removing displays from the cache ....................................................................... 11-2

    Types of graphic objects..........................................................................11-2

    Creating simple objects............................................................................11-2

    Drawing a rounded rectangle................................................................................. 11-2Drawing a rectangle or square ...............................................................................11-30

    Drawing an ellipse or circle .................................................................................... 11-3

    Drawing a line .......................................................................................................... 11-3

    Drawing a polyline or polygon .............................................................................. 11-3

    Drawing a freehand object .....................................................................................11-32

    Drawing an arc or wedge........................................................................................ 11-32

    Creating text..............................................................................................................11-3

    Font substitution at runtime ..................................................................................11-3

    Reshaping simple objects ....................................................................... 11-3Creating advanced objects..................................................................... 11-3

    Objects described in other chapters......................................................................11-3

    Using tag names ....................................................................................................... 11-3

    Using tag placeholders ............................................................................................ 11-3

    Using a parameter file to replace tag placeholders ............................................. 11-3

    Listing tag names to replace tag placeholders ..................................................... 11-4

    Creating numeric and string input fields .............................................................. 11-4

    Using input fields at runtime.................................................................11-4

    Continuously updating tag values.......................................................................... 11-4

    Keys ...........................................................................................................................11-48

    RSView32 commands ............................................................................................. 11-4

    Using the on–screen keyboard...............................................................................11-49

    Creating numeric and string display fields ........................................................... 11-5

    Creating labels .......................................................................................................... 11-5

    Creating arrows ........................................................................................................ 11-5

    Creating buttons....................................................................................................... 11-5

    Editing a button object ........................................................................................... 11-6

    Reshaping a button object......................................................................................11-6Creating a recipe field..............................................................................................11-6

    Creating a recipe file ................................................................................................11-6

    Using a recipe at runtime........................................................................................ 11-6

    http://-/?-http://-/?-http://-/?-http://-/?-

  • 8/17/2019 vw32-um001_-en-e.pdf

    16/767

    xiv    RSView32 User’s Guide

    Replacing text associated with objects ....................................... 11-67

    Creating and editing OLE objects...................................................... 11-69

    Other methods for inserting OLE objects .......................................................... 11-71

    Converting OLE objects ........................................................................................ 11-71

    Creating and editing ActiveX objects ............................................. 11-73

    Using the ActiveX Property Panel ........................................................................ 11-75

    Using the ActiveX Toolbox................................................................................... 11-76

    Recording and authorizing run-time changes

    using electronic signatures ................................................................... 11-79

    Securing tag writes and commands....................................................................... 11-79

     Tracking changes with activity logging................................................................. 11-80

    Creating signature buttons .................................................................... 11-80

    Specifying a caption for the signature button ..................................................... 11-81

    Setting up the runtime behavior of the signature button .................................. 11-82Specifying colors for the signature button........................................................... 11-85

    Naming graphic objects............................................................................ 11-86

    Working with objects .................................................................................. 11-87

    Moving objects......................................................................................................... 11-87

    Copying objects........................................................................................................ 11-88

    Duplicating objects.................................................................................................. 11-90

    Resizing objects........................................................................................................ 11-91

    Arranging objects .......................................................................................... 11-92

    Grouping and ungrouping objects ........................................................................ 11-93

    Performing group editing ....................................................................................... 11-94

    Stacking objects........................................................................................................ 11-95

     Aligning objects ....................................................................................................... 11-97

    Spacing objects......................................................................................................... 11-99

    Flipping objects......................................................................................................11-100

    Applying colors ............................................................................................. 11-101

    Applying fill patterns................................................................................. 11-102

    Selecting fill patterns ............................................................................................. 11-102

     Applying fill patterns.............................................................................................11-102

    How colors and patterns work ............................................................................11-103

    Changing line properties ........................................................................ 11-103

  • 8/17/2019 vw32-um001_-en-e.pdf

    17/767

    Contents   xv

    Peeking at objects ......................................................................................11-10

    Creating a background for your display ......................................11-10

    Objects that cannot be converted .......................................................................11-10

    Importing graphic files from third–party applications ......11-10

     Transparent backgrounds for image files...........................................................11-109Converting imported objects to RSView32 native objects..............................11-10

    Using bitmaps ................................................................................................11-11

     When could a bitmap help?..................................................................................11-11

    Using graphic libraries ............................................................................11-112

    Location of library files .........................................................................................11-11

    Printing displays at runtime.................................................................11-113

    Chapter 12 

    Animating graphic objects

    Types of animation ......................................................................................... 12-

     Which objects can have animation?........................................................................ 12-

    Using the Animation dialog box ............................................................ 12-2

     About the Animation dialog box............................................................................. 12-

    Using Object Smart Path to visually set animation .............................................. 12-

    Testing animation ........................................................................................... 12-

    Using tag names and tag placeholders ........................................... 12-6

     Tag names ................................................................................................................... 12-

     Tag placeholders ........................................................................................................ 12-

    Using commands and macros ................................................................ 12-

    Using expressions........................................................................................... 12-

    Setting minimum and maximum values .......................................... 12-

     Why specify minimum and maximum values? ...................................................... 12-

    Defining a range of motion........................................................................ 12-Objects that do not have a range of motion.......................................................... 12-

    Using OSP (Object Smart Path).............................................................................. 12-

    Configuring visibility animation .......................................................... 12-12

  • 8/17/2019 vw32-um001_-en-e.pdf

    18/767

    xvi    RSView32 User’s Guide

    Configuring color animation .................................................................. 12-13

     The parts of the list box ......................................................................................... 12-14

    Configuring fill animation ........................................................................ 12-18

    Configuring horizontal position animation .................................. 12-20

    Configuring vertical position animation........................................ 12-21

    Configuring width animation ................................................................. 12-22

    Configuring height animation ............................................................... 12-24

    Configuring rotation animation ........................................................... 12-25

    Configuring touch animation................................................................. 12-28

    Configuring horizontal slider animation ........................................ 12-30

    Configuring vertical slider animation ............................................. 12-31

    Configuring OLE verb animation ......................................................... 12-32

     Attaching other types of animation to OLE objects.......................................... 12-33

    Configuring ActiveX control .................................................................. 12-33

     The object’s properties versus RSView32 animation......................................... 12-34

    Naming an ActiveX object..................................................................................... 12-35

     Attaching ActiveX control properties .................................................................. 12-36

     Attaching ActiveX control events ...................................................................... 12-38

     Viewing ActiveX control methods ....................................................................... 12-39

    Using the Invoke command to call an ActiveX method................................... 12-40

    Associating objects and displays with keys ............................. 12-42

    Creating object keys ................................................................................... 12-42

    Using index numbers .................................................................................. 12-45

    How index numbers are used ................................................................................ 12-45

    Checking an object’s index number...................................................................... 12-46

    Changing index numbers........................................................................................ 12-46

    Creating a tab sequence .......................................................................................... 12-47

    Using the Current [Tag] parameter .................................................. 12-48

    Summary of steps .................................................................................................... 12-49

    Examples................................................................................................................... 12-50

    Creating display keys ................................................................................. 12-54

  • 8/17/2019 vw32-um001_-en-e.pdf

    19/767

    Contents   xvi

    Editing display and object keys .......................................................... 12-5

    Modifying a key ........................................................................................................ 12-5

    Removing a key ........................................................................................................ 12-5

    Removing all keys .................................................................................................... 12-5

    Viewing the key list at runtime ........................................................... 12-5

    Disabling the key list ............................................................................................... 12-5

    Applying animation to groups ...............................................................12-5

    Checking the animation on objects ................................................. 12-59

    Using the Animation menu and the Animation dialog box.............................. 12-5

    Using Peek ................................................................................................................12-6

    Changing the animation on objects ................................................. 12-63

    Copying or duplicating objects with animation.......................12-63

    Copying animation without copying objects ............................. 12-64

    Chapter 13

    Configuring trends

    About trends........................................................................................................ 13-

    Key concepts...................................................................................................... 13-2

     Trend object ............................................................................................................... 13-

     Trend dialog box........................................................................................................ 13-

    Data source................................................................................................................. 13-3

    Pens.............................................................................................................................. 13-3

    Shading ........................................................................................................................13-4

    Legend .........................................................................................................................13-4

    Control tags ................................................................................................................ 13-

    Summary of steps............................................................................................ 13-

    Creating a trend object ............................................................................... 13-

    Working in the Trend dialog box ........................................................... 13-6

    Trend configuration ....................................................................................... 13-

    Configuring the time axis.......................................................................................... 13-

    Configuring the vertical axis................................................................................... 13-1

    Choosing a data source ........................................................................................... 13-1

    Configuring control .................................................................................................13-1

  • 8/17/2019 vw32-um001_-en-e.pdf

    20/767

    xviii    RSView32 User’s Guide

    Creating a legend...................................................................................................... 13-16

    Pen configuration .......................................................................................... 13-18

    Configuring the tag or value .................................................................................. 13-18

    Configuring pen style .............................................................................................. 13-19

    Configuring pen scale.............................................................................................. 13-21

    Configuring shading ................................................................................................ 13-22Creating a legend...................................................................................................... 13-25

    Ensuring real-time trends have data ............................................... 13-26

    Comparing real-time and historical data ...................................... 13-27

    Creating control for a trend ................................................................... 13-27

     Trend control tags ................................................................................................... 13-28

    How the trend control tags work.......................................................................... 13-30

    Creating objects to animate a trend ...................................................................... 13-31

    Masking pens............................................................................................................ 13-32Specifying a start time ............................................................................................. 13-34

    Using the Trends graphic library........................................................ 13-35

    Setting the name of the Control Tag folder ........................................................ 13-36

    Choosing fonts, colors, and lines....................................................... 13-37

    Using the trend at runtime ..................................................................... 13-39

    Selecting pens ........................................................................................................... 13-39

    Selecting points ........................................................................................................ 13-40

    Changing the marker’s color .................................................................................. 13-41Editing a trend ................................................................................................. 13-41

    Editing the trend object.......................................................................................... 13-41

    Editing the trend configuration............................................................................. 13-42

    Chapter 14

    Creating expressions

    About expressions .......................................................................................... 14-1

    Expression components ........................................................................................... 14-1

    Where you can use expressions ........................................................... 14-2

    Using expressions in a command............................................................................ 14-2

  • 8/17/2019 vw32-um001_-en-e.pdf

    21/767

    Contents   xix

    Creating expressions .................................................................................... 14-

    Expression buttons.................................................................................................... 14-4

    Cutting, copying, and pasting expressions................................... 14-4

    Formatting expressions .............................................................................. 14-

    Using the = (Equal) command................................................................. 14-Using tag names and tag placeholders ........................................... 14-

    Using tag placeholders instead of tag names ......................................................... 14-

    Constants .............................................................................................................. 14-

    Arithmetic operators................................................................................... 14-1

    String operands ........................................................................................................ 14-10

    Relational operators.................................................................................... 14-1

    How string operands are evaluated....................................................................... 14-1

    Logical operators........................................................................................... 14-12

    Bitwise operators ..........................................................................................14-12

    Built–in functions ........................................................................................... 14-14

     Tag functions............................................................................................................ 14-1

     Time functions ......................................................................................................... 14-1

    File functions............................................................................................................14-2

    Math functions ......................................................................................................... 14-2

    Security function ...................................................................................................... 14-22

    Evaluation order of operators...............................................................14-22

    If–then–else ........................................................................................................ 14-24

    Nested if–then–else structure ................................................................................ 14-2

    Chapter 15 

    Setting up navigation

    Developing a hierarchy of displays ..................................................... 15-

    Methods for moving among displays ................................................. 15-2

    Commands for moving among displays................................................................. 15-Reducing display call–up time.................................................................................. 15-

     Where to use RSView32 commands....................................................................... 15-4

    Example of navigation methods ........................................................... 15-

  • 8/17/2019 vw32-um001_-en-e.pdf

    22/767

    xx    RSView32 User’s Guide

    The tools ................................................................................................................ 15-7

    Precedence.................................................................................................................. 15-7

    Creating macros............................................................................................... 15-7

    Using parameters ..................................................................................................... 15-10

    Nesting macros ........................................................................................................ 15-10

    Creating a macro that starts when a project starts.............................................. 15-11

    Creating symbols ........................................................................................... 15-11

    Important guidelines ............................................................................................... 15-12

    Key definitions ................................................................................................ 15-13

    General rules about precedence ............................................................................ 15-14

    Precedence and the F1 key..................................................................................... 15-15

    Precedence and embedded ActiveX objects ....................................................... 15-15

    Precedence and embedded OLE objects ............................................................. 15-16

    Reserved keys ........................................................................................................... 15-17

     Tips for using keys................................................................................................... 15-19

    Creating global keys ................................................................................... 15-19

    Running global key files ........................................................................... 15-22

    Chapter 16 

    Sharing data with other Windows applications

    Methods for sharing data ........................................................................... 16-1

    Retrieving historical data .......................................................................... 16-3

    Retrieving tag names from data log files ................................................................ 16-4

    Bringing logged dBASE IV data into Microsoft Excel............ 16-4

    Understanding the content of the log files ................................... 16-6

     Activity log files ......................................................................................................... 16-7

     Activity log—ODBC format ................................................................................... 16-8

     Alarm log files ............................................................................................................ 16-9

     Alarm log files—ODBC format............................................................................ 16-11Data log files—narrow .dbf format ...................................................................... 16-13

    Data log files—wide .dbf format .......................................................................... 16-15

    Data log—ODBC format ...................................................................................... 16-17

  • 8/17/2019 vw32-um001_-en-e.pdf

    23/767

    Contents   xx

    Creating a pivot table in Microsoft Excel ....................................16-19

    Starting the PivotTable Wizard.............................................................................. 16-2

    Selecting the data source.........................................................................................16-20

     Joining tables and selecting data ............................................................................ 16-2

    Organizing the pivot table ...................................................................................... 16-2

    Creating a chart ........................................................................................................ 16-2

    Sharing tag values locally ....................................................................... 16-2

    Providing tag values to local OPC or DDE clients .................. 16-26

    Enabling RSView32 as a server ............................................................................. 16-2

    Setting up a local OPC client application.............................................................16-2

    Setting up a local DDE client application............................................................16-2

    Getting tag values from servers ......................................................... 16-2

    Setting up RSView32 as the client ......................................................................... 16-2

    Enabling RSView32 for tag writes..................................................... 16-29

    Sending DDEExecute commands to other applications .... 16-3

    Chapter 17 

    Using networks

    Sharing project components during development and

    runtime .................................................................................................................... 17-

    Sharing components during development ............................................................. 17-

    Sharing components at runtime............................................................................... 17-2

    How to share components ....................................................................................... 17-3

    Using OPC for peer–to–peer network communications........ 17-

    Identifying the RSView32 server computer........................................................... 17-

    Enabling an RSView32 OPC server for reading and writing.............................. 17-

    Configuring the RSView32 OPC client application ............................................. 17-

    Connecting to RSLinx Gateway as a remote OPC server ... 17-

    Configuring RSLinx Gateway .................................................................................. 17-

    Configuring RSView32 for use with RSLinx Gateway ......................................17-1

  • 8/17/2019 vw32-um001_-en-e.pdf

    24/767

    xxii    RSView32 User’s Guide

    Chapter 18 

    Running your project

    Summary of steps ........................................................................................... 18-1

    Specifying startup settings...................................................................... 18-1

    Preferences.................................................................................................................. 18-3

    Startup ......................................................................................................................... 18-6

    Setting up a project in a new location............................................. 18-8

    Setting the project path ............................................................................. 18-8

    Changing application paths .................................................................................... 18-10

    Changing the database path ................................................................................... 18-12

    Specifying time, date, and number formats ............................... 18-12

    Running a project .......................................................................................... 18-13

    Running a project automatically ............................................................................ 18-14

    Monitoring disk space................................................................................ 18-14

    Stopping a project ........................................................................................ 18-15

     When a project stops............................................................................................... 18-15

     Appendix A

    RSView32 commands

    Using RSView32 commands......................................................................A-1

     Where to use commands ............................................................................................A-1

    How to use commands...............................................................................................A-1

    Using placeholders in commands .............................................................................A-2

    Precedence....................................................................................................................A-4

    Using the command line...............................................................................A-5

    Using the Command Wizard .......................................................................A-5

    Building a command string ........................................................................................A-6

    The RSView32 commands, listed alphabetically .......................A-8

  • 8/17/2019 vw32-um001_-en-e.pdf

    25/767

    Contents   xxii

     Appendix B

    System tags

    Alarms........................................................................................................................B-

    Communications ................................................................................................B-2

    Graphics ...................................................................................................................B-

    Time ............................................................................................................................B-

    Trends........................................................................................................................B-

    User .............................................................................................................................B-

    Windows memory resources .....................................................................B-8

     Appendix C 

    Differences between RSView32and ControlView

    Importing ControlView projects..............................................................C-

    Activity log .............................................................................................................C-

    Alarms........................................................................................................................C-2

     Alarm banner and alarm status display.....................................................................C-

     Alarm log.......................................................................................................................C-2

     Alarm summary............................................................................................................C-2

    Commands ..............................................................................................................C-Obsolete commands....................................................................................................C-3

    Renamed commands...................................................................................................C-4

    Data log ....................................................................................................................C-

    Derived tags ..........................................................................................................C-

    Events ........................................................................................................................C-

    Global keys.............................................................................................................C-

    Graphics ...................................................................................................................C-

    Scan classes .........................................................................................................C-7

    SLC addressing syntax ..................................................................................C-7

    Tag database ........................................................................................................C-

  • 8/17/2019 vw32-um001_-en-e.pdf

    26/767

    xxiv    RSView32 User’s Guide

    Trends........................................................................................................................C-8

    ControlView features integrated into RSView32 .......................C-8

     Appendix D 

    Addressing syntax for Allen–Bradley programmable controllers

    PLC addressing syntax ................................................................................. D-2

    SLC addressing syntax ............................................................................... D-12

    SoftLogix 5 addressing syntax .............................................................D-26

    Mnemonic tables.............................................................................................D-30

     Appendix E

    Station addressing for nodes connecting to Allen–Bradley de-vices

    Local station addressing .............................................................................E-1

    Host name.....................................................................................................................E-2

    Remote station addressing ........................................................................E-2

    DH and DH+ networks bridged by a 1785–KA....................................................E-3

    DH+ and DH–485 networks bridged by a 1785–KA5.........................................E-6

    Multiple DH+ networks connected by a Pyramid Integrator ..............................E-7

    DH and DH+ connected to a TCP/IP network by a Pyramid Integrator ......E-10

     Appendix F 

    Importing and exporting XML files

    About XML ..............................................................................................................F-1

    Creating XML files by exporting .............................................................F-1

     To export graphic display information to an XML file ......................................... F-2

    Editing XML files ................................................................................................F-2

    Saving XML files in Notepad ....................................................................................F-2

    Importing XML files .......................................................................................... F-2

    Importing graphic XML file.......................................................................................F-3

    Graphic display XML file structure ....................................................... F-3

    Index .......................................................................................................................................................... I-1

  • 8/17/2019 vw32-um001_-en-e.pdf

    27/767

      P–1

    P Preface Thank you for choosing RSView32™. RSView32 is an integrated

    package for developing and running automation applications.

    Designed for use with Microsoft® Windows® Server 2003 R2 Standard

    Edition  with Service Pack 2, Windows XP Professional with Service

    Pack 1 or later, Windows 2000 Server with Service Pack 4 or Windows

    2000 Professional with Service Pack 4, and Windows Vista Business

     with Service Pack 1 or later (32-Bit) or Windows Vista Home Basic

     with Service Pack 1 or later (32-Bit), Windows 7 Professional and Windows Server 2008 Standard Edition, RSView32 gives you all the

    tools you need to create effective monitoring and supervisory control

    applications.

    About the documentation

     The RSView32 documentation set includes:

    Getting Results with RSView32:  A quick start guide to get you up andrunning with RSView32.

    RSView32 User’s Guide:  Comprehensive information about RSView32,

    procedures for creating and running an automation application, and

    reference information.

    RSView32 Runtime User’s Guide:  Information on how to install, start,

    and use RSView32 Runtime.

    Help:  Online procedures and reference information.

    Release Notes   Additional information about RSView32. Read this file

    before you begin working with the software.

  • 8/17/2019 vw32-um001_-en-e.pdf

    28/767

    P–2   RSView32 User’s Guide

    Technical support services

    If you have questions about RSView32, please consult the user’s

    guides or the Help.

    If you can’t find the answer, contact Rockwell Software TechnicalSupport at:

     Telephone: 440–646–3434

    Internet Support: www.rockwellsoftware.com or

     www.support.rockwellautomation.com

    Support staff are available Monday to Friday from 8 A.M. to 5 P.M.

    Eastern Standard Time, except during holidays.

    When you call

     When you call, be at your computer and ready to give the following

    information:

      the product serial number

     You’ll find this number on the Activation disk label and in the help

     About dialog box that you access from the RSView32 Project

    Manager.

      the product version number

      the type of hardware you are using 

      the exact wording of any messages that appeared on your screen

      a description of what happened and what you were doing when theproblem occurred

      how you tried to solve the problem

  • 8/17/2019 vw32-um001_-en-e.pdf

    29/767

    1–1

    Chapter 

    1  Working with projects This chapter describes:

      files and components

      adding, renaming, removing, and deleting components

      printing from editors

      using the Project Documentor and Project Transport Wizard as

    you develop your project

    What is a project?

     A project consists of a folder on your hard disk that contains, at a

    minimum, the following items:

      project file (.rsv)

      tag folder

    comprf (communications profile) folder

      cache folder

     The .rsv file contains general project information such as a list ofproject components and their directory locations and version

    numbers. By default, all project components are located locally in

    folders under the project folder, but they can also be located in other

    directories or on other computers.

  • 8/17/2019 vw32-um001_-en-e.pdf

    30/767

    1–2   RSView32 User’s Guide

    Project files

     The following table lists the RSView32™ folders and the types of files

    they contain.

    Folder Contents File

    extensions

    Project name RSView32 project file, system files, and

    the folders described below 

    System files: User accounts

      Security command list

    .rsv

    .act

    .sec

     Actlog Activity log files .dbf 

     Almlog Alarm log files .dbf 

     Als Alarm summary files .als