Allen Bradley RSViewSE1

Embed Size (px)

Citation preview

  • 8/14/2019 Allen Bradley RSViewSE1

    1/300

    Users Guide

    Volume 1

    Doc ID VIEWSE-UM004C-EN-E

  • 8/14/2019 Allen Bradley RSViewSE1

    2/300

    Contacting Rockwell

    Software

    Technical Support Telephone440-646-5800

    Technical Support Fax440-646-5801

    World Wide Webhttp://www.software.rockwell.com orhttp://

    support.rockwellautomation.com

    Copyright Notice 2004 Rockwell Software Inc., a Rockwell Automation company. All rights reserved.

    Printed in the United States of America.

    Portions copyrighted by the Allen-Bradley Company, LLC, a Rockwell Automation Company.

    This manual and any accompanying Rockwell Software products are copyrighted by RockwellSoftware Inc. Any reproduction and/or distribution without prior written consent fromRockwell Software Inc. is strictly prohibited. Please refer to the license agreement for details.

    VBA and DCOM, Copyright 1996, 1997 Microsoft Corporation. All rights reserved.

    This software is based in part on the work of the Independent JPEG Group.

    Trademark Notices Allen-Bradley, ControlLogix, RSLinx, RSView, and VersaView are registered trademarks, andthe Rockwell Software logo, RSLogix, RSTools, RSView Machine Edition, RSView ME Station,RSView Studio, RSView Supervisory Edition, RSView32, A.I. Series, Advanced Interface (A.I.)Series, ControlNet, Data Highway Plus, DH+, FactoryTalk, MobileView, Object Smart Path,PanelBuilder, PanelView, SLC, and WINtelligent are trademarks of Rockwell Automation, Inc.

    Adobe, Acrobat, and Reader are registered trademarks of Adobe Systems Incorporated.TrueType is a trademark of Apple Computer, Inc. AutoCAD is a registered trademark of

    Autodesk, Inc. Ethernet is a registered trademark of Digital Equipment Corporation, IntelCorporation, and Xerox Corporation. Modicon is a registered trademark of Groupe Schneider.Zip is a trademark of Iomega Corporation. KEPServerEnterprise is a trademark of Kepware

    Technologies. ActiveX, Microsoft, OpenType, Visual Basic, Windows, and Windows NT areregistered trademarks of Microsoft Corporation in the United States and/or other countries.OPC is a registered trademark of the OPC Foundation.

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

    Warranty This Rockwell Software product is warranted in accord with the product license. The products

    performance will be affected by system configuration, the application being performed, operatorcontrol, and other related factors.

    The products implementation may vary among users.

    This manual is as up-to-date as possible at the time of printing; however, the accompanyingsoftware may have changed since that time. Rockwell Software reserves the right to change anyinformation contained in this manual or the software at any time without prior notice.

    The instructions in this manual do not claim to cover all the details or variations in theequipment, procedure, or process described, nor to provide directions for meeting every possiblecontingency during installation, operation, or maintenance.

    Doc ID VIEWSE-UM004C-EN-ESeptember 2004

  • 8/14/2019 Allen Bradley RSViewSE1

    3/300

    Contents i

    Contents

    Preface ................................................................................................................................................... P-1

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

    Finding the information you need ..........................................................P-2

    Try the Users Guide and Help first .........................................................................P-2

    Information on the Internet.......................................................................................P-2

    Contacting Rockwell Software Technical Support.................................................P-3

    Chapter 1

    Getting started...............................................................................................................................1-1

    The main parts of RSView Supervisory Edition ........................... 1-1

    Features in brief................................................................................................. 1-3

    The RSView Enterprise tools .................................................................... 1-4

    The Rockwell Software utilities ............................................................. 1-5

    Quick Start steps............................................................................................... 1-6Start with a plan ........................................................................................................... 1-6

    Chapter 2

    Exploring RSView Studio ...................................................................................................2-1

    Starting RSView Studio................................................................................. 2-1

    Opening an application ................................................................................. 2-2

    Opening the Samples application.............................................................................. 2-2

    Exploring the RSView Studio main window ................................... 2-3

    The menu bar ............................................................................................................... 2-4

    The toolbar .................................. ................................................................................. 2-4

    The Application Explorer........................................................................................... 2-4

    The workspace ............................................................................................................. 2-4

  • 8/14/2019 Allen Bradley RSViewSE1

    4/300

    ii RSView Supervisory Edition Users Guide

    The Application tab.................................................................. ....................................2-5

    The Communications tab............................................................................................2-5

    The Diagnostics List ....................................................................................................2-5

    The status bar ................................................................................................................2-6

    Workbook mode...........................................................................................................2-7

    Showing and hiding items in the main window .......................................................2-7

    Working in the Application Explorer.....................................................2-8

    Undocking the Application Explorer ........................................................................2-8

    The parts of the Application Explorer.................................................2-9

    Folders............................................................................................................................2-9

    Editors ......................................................................................................................... 2-10

    Components ............................................................................................................... 2-12

    Working with application components ............................................ 2-13

    Adding components to an application ................................................................... 2-13

    Renaming, removing, and deleting components................................................... 2-14

    Naming components................................................................................................. 2-15

    Techniques for working in editors ...................................................... 2-16

    Using the context menus.......................................................................................... 2-16

    Using the Browse button.......................................................................................... 2-17

    Using tag names ......................................................................................................... 2-17

    Using RSView commands........................................................................................ 2-17

    Using expressions ...................................................................................................... 2-19

    Printing.................................................................................................................... 2-19

    Selecting a printer ...................................................................................................... 2-19

    Setting up the printer ................................................................................................ 2-20

    Selecting a network printer....................................................................................... 2-20

    Printing at run time ................................................................................................... 2-20

  • 8/14/2019 Allen Bradley RSViewSE1

    5/300

    Contents iii

    Chapter 3

    Planning an application .......................................................................................................3-1

    Understanding the process ........................................................................ 3-1

    Planning the layout of the network ...................................................... 3-2

    The Windows domain or workgroup.................................................................... 3-2

    The computers youll need ......................................................................................... 3-2

    System requirements and installation........................................................................ 3-5

    Planning redundancy....................................................................................... 3-5

    Planning communications ........................................................................... 3-6

    When to use HMI tags................................................................................................ 3-6

    Designing an HMI tag database ............................................................. 3-7Collect information...................................................................................................... 3-7

    Organize HMI tags ..................................................................................................... 3-7

    Planning alarms ............................................................................................................ 3-8

    Collecting data .................................................................................................... 3-8

    Designing graphic displays......................................................................... 3-9

    Develop a hierarchy of displays................................................................................. 3-9

    Create a template to ensure consistency................................................................... 3-9

    Using trends ........................................................................................................ 3-11

    Designing a secure system ...................................................................... 3-11

    Customizing the system, and integrating with

    other applications ........................................................................................... 3-12

    Using data from other applications......................................................................... 3-12

    Customizing the system............................................................................................ 3-12

    Designing a multi-user system............................................................... 3-13

    Designing a system that is easy to deploy and maintain... 3-13

  • 8/14/2019 Allen Bradley RSViewSE1

    6/300

    iv RSView Supervisory Edition Users Guide

    Chapter 4

    Setting up FactoryTalk Directory.............................................................................4-1

    About FactoryTalk Directory......................................................................4-1

    Setting up FactoryTalk Directory ...........................................................4-3

    FactoryTalk Directory setup for stand-alone applications .....................................4-3

    FactoryTalk Directory setup for distributed applications ......................................4-3

    What happens if FactoryTalk Directory is unavailable ...........4-6

    Chapter 5

    Working with distributed applications ...............................................................5-1

    About distributed applications .................................................................5-1

    Key concepts.........................................................................................................5-3

    Areas ........................... ......................... ........................ ......................... 5-3

    Using absolute and relative references ......................................................................5-4

    HMI server, HMI project, HMI client ....................................................................5-6

    FactoryTalk Directory..................................................................................................5-6

    Redundancy ...................................................................................................................5-7

    Creating a distributed application .........................................................5-9

    Working with distributed applications ............................................. 5-11

    Adding and removing areas...................................................................................... 5-11

    Adding an HMI server ............................................................................................. 5-11

    When to use additional HMI or data servers........................................................ 5-13

    Server restrictions ...................................................................................................... 5-14

    Renaming an application .......................................................................................... 5-15

    Deleting an application............................................................................................. 5-15

    Setting up HMI server properties ........................................................ 5-16

    Specifying how the server starts up ........................................................................ 5-17

    Changing the name of the host computer ............................................................. 5-18Setting up HMI server redundancy........................................................................ 5-19

  • 8/14/2019 Allen Bradley RSViewSE1

    7/300

    Contents v

    Selecting the HMI servers startup and shutdown components........................ 5-20

    Setting up redundant HMI servers...................................................... 5-21

    Removing HMI servers ................................................................................ 5-22

    DeletingHMI server project files........................................................................... 5-22

    Starting and stopping HMI servers and components

    manually ................................................................................................................. 5-23

    Starting and stopping an HMI servers components........................................... 5-23

    Starting and stopping HMI services........................................................................ 5-23

    Chapter 6

    Working with stand-alone applications .............................................................6-1

    About stand-alone applications .............................................................. 6-1

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

    HMI server, HMI project, HMI client ..................................................................... 6-2

    FactoryTalk Directory................................................................................................. 6-2

    Application, data server .............................................................................................. 6-3

    Using references in stand-alone applications........................................................... 6-3

    Creating an application ................................................................................. 6-4

    Importing a project into a new application.............................................................. 6-5

    Setting up HMI server properties .......................................................... 6-5

    Specifying HMI server startup components............................................................ 6-5

    Starting and stopping an HMI servers components

    manually ................................................................................................................... 6-7

    Chapter 7

    Setting up communications ............................................................................................7-1

    About OPC communications ..................................................................... 7-1

    Overview ofOPC communications......................................................................... 7-2

    Setting up communications ....................................................................... 7-3

    About data servers ........................................................................................... 7-4

  • 8/14/2019 Allen Bradley RSViewSE1

    8/300

    vi RSView Supervisory Edition Users Guide

    Types of data servers....................................................................................................7-5

    Using multiple data servers .........................................................................................7-5

    Adding OPC data servers ..............................................................................7-7

    Setting up general properties ......................................................................................7-8

    Setting up OPC data server redundancy ..................................................................7-9

    Setting up advanced properties................................................................................ 7-10

    Adding RSLinx Enterprise data servers .......................................... 7-11

    Setting up general properties ................................................................................... 7-12Setting up RSLinx Enterprise data server redundancy ........................................ 7-12

    Setting up communications in RSLinx Enterprise ................... 7-14

    Primary and Secondary tabs ..................................................................................... 7-14

    Removing data servers................................................................................ 7-16

    Chapter 8

    Working with tags ......................................................................................................................8-1

    Tags and the HMI tag database ..............................................................8-1

    When to use HMI tags.................................................................................................8-1

    Data server tags, HMI tags, and their attributes .....................................................8-2

    Basic steps for using tags .............................................................................................8-3

    Using data server tags ...................................................................................8-4

    Eliminate duplication ...................................................................................................8-4

    Access to complex data ...............................................................................................8-4

    Setting up data server tags ...........................................................................................8-5

    Using HMI tags ....................................................................................................8-5

    Triggering alarms ..........................................................................................................8-5

    Securing tag or device values ......................................................................................8-6

    Manipulating data .........................................................................................................8-6

    Storing values in RSViews memory ..........................................................................8-7

    Setting up HMI tags ....................................................................................................8-7

    Browsing for tags ...............................................................................................8-7

  • 8/14/2019 Allen Bradley RSViewSE1

    9/300

    Contents vii

    Using the Tag Browser ............................................................................................... 8-9

    Browsing for off-line tags from RSLinx................................................................. 8-10

    Browsing for off-line tags in RSLinx Enterprise .................................................. 8-11Browsing for off-line tags from other OPC servers ............................................ 8-12

    Working with tags in the Tag Browser............................................. 8-12

    Displaying tags ........................................................................................................... 8-12

    Showing or hiding tag descriptions......................................................................... 8-12

    About the Selected Tag box..................................................................................... 8-12

    Displaying tag properties .......................................................................................... 8-13

    Filtering tags ............................................................................................................... 8-13

    Creating, editing, and importingHMI tags ........................................................... 8-14

    Using tag references..................................................................................... 8-15

    Absolute references ................................................................................................... 8-15

    Relative references ..................................................................................................... 8-15

    The home area............................................................................................................ 8-16

    Logging tag values ......................................................................................... 8-16

    Chapter 9

    Creating HMI tags.......................................................................................................................9-1

    About HMI tags.................................................................................................. 9-1

    HMI tag types............................................................................................................... 9-2

    Data sources for HMI tags ....................................................................................... 9-2

    Organizing HMI tags........................................................................................ 9-3

    NamingHMI tags ....................................................................................................... 9-3

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

    Viewing tag statistics ................................................................................................... 9-4

    Using the Tags editor..................................................................................... 9-5

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

    Using the form ............................................................................................................. 9-6

    Using the query box .................................................................................................... 9-6

  • 8/14/2019 Allen Bradley RSViewSE1

    10/300

    viii RSView Supervisory Edition Users Guide

    Using the folder hierarchy...........................................................................................9-7

    Creating, editing, duplicating, and deleting tags ........................9-7

    Specifying a data source ..............................................................................9-9

    Specifying Device as the data source .........................................................................9-9

    Specifying Memory as the data source ................................................................... 9-10

    Creating HMI tags without using the Tags editor................... 9-11

    Creating tags in a third-party application............................................................... 9-11

    Creating tags as needed in other RSView editors ................................................. 9-12Importing tags from a PLC database...................................................................... 9-12

    Using the Tag Import and Export Wizard ............................................................ 9-14

    Adding alarms to HMI tags ...................................................................... 9-14

    Chapter 10

    Creating derived tags...........................................................................................................10-1

    About derived tags ......................................................................................... 10-1

    How to use derived tags ........................................................................................... 10-2

    How to use multiple derived tag components ...................................................... 10-2

    Setting up derived tags ............................................................................... 10-2

    Using the Derived Tags editor............................................................... 10-2

    Using the Check Syntax button............................................................................... 10-4

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

    Creating a derived tags component................................................... 10-4

    About the maximum update rate ......................................................... 10-5

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

    Ways to start derived tag processing....................................................................... 10-6

    Ways to stop derived tag processing....................................................................... 10-7

    Chapter 11

    Creating alarms...........................................................................................................................11-1

    About RSView Supervisory Edition alarms ................................... 11-1

  • 8/14/2019 Allen Bradley RSViewSE1

    11/300

    Contents ix

    Summary of features.................................................................................................. 11-2

    Setting up alarms for an application ................................................. 11-3

    Key concepts...................................................................................................... 11-4

    Alarms for analogHMI tags.................................................................................... 11-4

    Alarms for digital HMI tags..................................................................................... 11-8

    Alarm severity............................................................................................................. 11-9

    Alarm messages.......................................................................................................... 11-9

    Alarm log file .............................................................................................................. 11-9Alarm displays ..........................................................................................................11-10

    Alarm acknowledgment .......................................................................................... 11-13

    Alarm suppression ................................................................................................... 11-14

    Alarm functions in expressions ............................................................................. 11-14

    Acknowledge bit ...................................................................................................... 11-16

    Handshake bit........................................................................................................... 11-17

    Switching handshaking on......................................................................................11-17

    Alarm events.............................................................................................................11-17

    Setting up general alarm behavior.................................................... 11-20

    Setting up alarm monitoring................................................................................... 11-21

    Setting up alarm severities ...................................................................................... 11-23

    Setting up alarm messages ...................................................................................... 11-24

    Setting up alarm conditions for HMI tags ....................................11-26

    Setting up alarms for analog tags...........................................................................11-28

    Setting up alarms for digital tags............................................................................11-28

    Setting up alarm logging .......................................................................... 11-28

    Specifying when log files are created ....................................................................11-29

    Specifying when log files are deleted ...................................................................11-30

    Setting up logging to a central database ............................................................... 11-31

    Exporting alarm log files manually to ODBC format.......................................11-31

    Adding remarks to the alarm log file at run time................................................ 11-32

    Suppressing alarm printing .....................................................................................11-33

  • 8/14/2019 Allen Bradley RSViewSE1

    12/300

    x RSView Supervisory Edition Users Guide

    Suppressing alarm logging...................................................................................... 11-34

    Using the Suppressed List..................................................................................... 11-34

    Viewing alarm log files .............................................................................. 11-35Using the alarm log viewer at run time ................................................................ 11-36

    About alarm log files ............................................................................................... 11-36

    Setting up security to log alarms remotely................................ 11-37

    Creating an alarm summary .................................................................. 11-39

    Creating an alarm summary object........................................................................ 11-40The parts of an alarm summary............................................................................. 11-40

    Inserting headings.................................................................................................... 11-40

    Choosing fonts ......................................................................................................... 11-41

    Choosing colors and blink styles........................................................................... 11-42

    Selecting buttons ...................................................................................................... 11-42

    Choosing data........................................................................................................... 11-43

    Sorting data............................................................................................................... 11-46

    Running commands, macros, or custom programs in response

    to alarms.................................................................................................................... 11-47

    Using alarm data with commands ......................................................................... 11-48

    Viewing the area name in tag names..................................................................... 11-51Starting and stopping alarm monitoring ....................................... 11-51

    Ways to start alarm monitoring at the HMI server............................................ 11-52

    Ways to stop alarm monitoring ............................................................................. 11-52

    Chapter 12

    Logging system activity ....................................................................................................12-1

    About FactoryTalk Diagnostics............................................................. 12-1

    Summary of steps ........................................................................................... 12-2

    Key concepts...................................................................................................... 12-2

    Destinations................................................................................................................ 12-3

    Message routing ......................................................................................................... 12-4

  • 8/14/2019 Allen Bradley RSViewSE1

    13/300

    Contents xi

    Message categories..................................................................................................... 12-4

    Setting up FactoryTalk Diagnostics in RSView ......................... 12-6

    Logging to a central database................................................................................... 12-7Setting up message buffering ................................................................................... 12-8

    Setting up message routing....................................................................................... 12-9

    Using the Diagnostics List ......................................................................12-10

    Hiding, showing, and moving the Diagnostics List............................................12-10

    Messages in the Diagnostics List...........................................................................12-11

    Viewing FactoryTalk Diagnostics log files.................................. 12-12

    Using the Diagnostics Viewer at run time ........................................................... 12-13

    Setting up security to log system activity to a

    remote computer...........................................................................................12-13

    Chapter 13

    Using data logging .................................................................................................................. 13-1

    About data logging ......................................................................................... 13-1

    About data log models .............................................................................................. 13-2

    Using multiple data log models ............................................................................... 13-2

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

    Log file sets ................................................................................................................. 13-3

    ODBC database storage format ............................................................................. 13-4

    Creating data log models........................................................................... 13-4

    Opening the Data Log Models editor .................................................................... 13-5

    Specifying the storage format .................................................................................. 13-5

    Setting up log paths ................................................................................................... 13-6

    Setting up and managing data log files ................................................................... 13-7

    Specifying when to log data...................................................................................... 13-8

    Choosing the data to be logged ............................................................................... 13-8

    Editing the data log model ........................................................................ 13-8

    Changing log paths using the RSView Administration Console ........................ 13-9

  • 8/14/2019 Allen Bradley RSViewSE1

    14/300

    xii RSView Supervisory Edition Users Guide

    Working with ODBC data sources ....................................................... 13-9

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

    Creating a new ODBC data source...................................................................... 13-10Switching log paths at run time.......................................................... 13-10

    Using the DataLogSwitchBack command........................................................... 13-11

    Using the DataLogMergeToPrimary command ................................................. 13-12

    Using the DataLogNewFile command ................................................................ 13-13

    Using the DataLogSnapshot command ............................................................... 13-14

    Combining logging .................................................................................................. 13-15

    Providing a way to log on demand ....................................................................... 13-15

    Setting up security to log data to a remote computer....... 13-15

    Making runtime changes without editing the

    data log model ................................................................................................. 13-18

    Starting and stopping data logging .................................................. 13-18

    Ways to start data logging....................................................................................... 13-18

    Ways to stop data logging....................................................................................... 13-19

    Displaying historical data in a trend ............................................... 13-20

    Chapter 14

    Using events ...................................................................................................................................14-1

    About events....................................................................................................... 14-1

    How to use multiple events components .............................................................. 14-2

    Setting up events ............................................................................................ 14-2

    Using the Events editor.............................................................................. 14-3

    Using the Check Syntax button............................................................................... 14-3

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

    Creating an events component ............................................................. 14-4

    About the maximum update rate ......................................................... 14-5

    Editing events .................................................................................................... 14-5

    Starting and stopping event processing......................................... 14-5

  • 8/14/2019 Allen Bradley RSViewSE1

    15/300

    Contents xiii

    Ways to start event processing................................................................................. 14-5

    Ways to stop event processing................................................................................. 14-6

    Chapter 15

    Setting up security ................................................................................................................. 15-1

    How security works ....................................................................................... 15-1

    Security codes ............................................................................................................. 15-2

    Before you begin, make lists .................................................................................... 15-2

    Summary of the steps to set up security ....................................... 15-2

    Finding your way around ............................................................................ 15-4

    Setting up user accounts........................................................................... 15-5

    Ensuring the administrator always has access ....................................................... 15-6

    Setting up default access ........................................................................................... 15-6

    Adding users or groups............................................................................................. 15-7

    Removing users or groups........................................................................................ 15-8

    Assigning security codes to users or groups.......................................................... 15-9

    Assigning login and logout macros ....................................................................... 15-10

    Setting up security for commands and macros ....................... 15-10

    The Unspecified_Command.................................................................................. 15-11

    Setting up security by inclusion .............................................................................15-12

    Setting up security by exclusion.............................................................................15-13

    Assigning security to a graphic display ........................................15-13

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

    Assigning security to an HMI tag ......................................................15-16

    Preventing users from modifying an application ....................15-17

    Locking users into the RSView SE client environment...... 15-17

    Logging in and out ........................................................................................15-18

    Logging in at run time............................................................................................. 15-18

    Logging out at run time ..........................................................................................15-19

    Changing passwords at run time ........................................................................... 15-20

  • 8/14/2019 Allen Bradley RSViewSE1

    16/300

    xiv RSView Supervisory Edition Users Guide

    Chapter 16

    Creating graphic displays ...............................................................................................16-1

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

    Importing and exporting graphic display XML files ............................................ 16-2

    About the Graphic Displays editor...................................................... 16-2

    Using the Object Explorer ....................................................................................... 16-4

    Using the Property Panel.......................................................................................... 16-5

    Basic editing techniques ........................................................................... 16-6

    Zooming in and out .................................................................................................. 16-6

    Using the grid ............................................................................................................. 16-7

    Using the toolbars...................................................................................................... 16-7

    Selecting a drawing tool ............................................................................................ 16-8

    Selecting and deselecting objects............................................................................. 16-8Using the context menu............................................................................................ 16-9

    Working with objects .................................................................................... 16-9

    Duplicating objects.................................................................................................... 16-9

    Reshaping objects .................................................................................................... 16-10

    Resizing objects........................................................................................................ 16-10

    Arranging objects..................................................................................................... 16-11

    Flipping objects........................................................................................................ 16-16

    Rotating objects ....................................................................................................... 16-17

    Grouping objects ..................................................................................................... 16-17

    Ungrouping objects ................................................................................................. 16-19

    Editing grouped objects.......................................................................................... 16-19

    Applying colors ........................................................................................................ 16-20

    Applying pattern styles............................................................................................ 16-21

    Changing line properties......................................................................................... 16-22

    Assigning tags and expressions to objects ........................................................... 16-22

    Using tag substitution to replace text associated with objects.......................... 16-23

    Testing graphic displays.......................................................................................... 16-24

    http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/
  • 8/14/2019 Allen Bradley RSViewSE1

    17/300

    Contents xv

    Testing the appearance of objects in different states ......................................... 16-24

    Naming graphic objects ..........................................................................................16-25

    Adding tooltips to objects ......................................................................................16-26Creating a background for a display...................................................................... 16-27

    Importing graphic files from third-party applications ......... 16-27

    Converting imported objects to RSView native objects....................................16-28

    Using bitmaps .................................................................................................. 16-28

    When a bitmap could help ..................................................................................... 16-30

    Using graphic libraries .............................................................................. 16-30

    Location of libraryfiles ........................................................................................... 16-30

    Using tag placeholders ............................................................................. 16-31

    Replacing tag placeholders using a parameter file ..............................................16-32

    Assigning parameter files to graphic displays...................................................... 16-33

    Replacing tag placeholders using parameters with the Display command .....16-33

    Setting up runtime appearance and behavior for a

    graphic display ..............................................................................................16-35

    Using the Display Settings dialog box ..................................................................16-35

    Changing the default display settings....................................................................16-35

    Setting up display properties ..................................................................................16-36.................................................................................................................................... 16-43

    Displaying graphics more quickly.......................................................................... 16-45

    Printing displays at run time .................................................................16-46

    Chapter 17

    Setting up graphic objects ............................................................................................ 17-1

    Types of graphic objects............................................................................ 17-1

    Creating drawing objects .......................................................................... 17-2

    Tips for creating drawing objects ....................................................... 17-2

    Drawing a rectangle or square ................................................................................. 17-2

    Drawing a rounded rectangle................................................................................... 17-3

    http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/
  • 8/14/2019 Allen Bradley RSViewSE1

    18/300

    xvi RSView Supervisory Edition Users Guide

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

    Drawing an ellipse or circle...................................................................................... 17-4

    Drawing an arc or wedge.......................................................................................... 17-5Changing the properties of drawing objects ............................... 17-5

    Working with text............................................................................................ 17-6

    Choosing a font.......................................................................................................... 17-6

    Adding an image to a graphic display .............................................. 17-7

    Pasting images into graphic displays....................................................................... 17-8Adding images to an application ............................................................................. 17-8

    Placing images in graphic displays........................................................................... 17-9

    Creating a panel ............................................................................................... 17-9

    Creating objects that use data.............................................................. 17-9

    Objects described in other chapters ..................................................................... 17-10Using tag names ....................................................................................................... 17-10

    Setting up properties common to all graphic objects ........ 17-10

    Using the keyboard to navigate to and select objects ...... 17-11

    What input focus looks like ................................................................................... 17-11

    Using the keys on the keyboard or keypad .......................................................... 17-12Removing objects from the tab sequence............................................................ 17-12

    How to use push buttons ......................................................................... 17-13

    Setting up push buttons ........................................................................... 17-14

    Creating button push buttons............................................................... 17-14

    Setting up the buttons appearance, and how it works at run time.................. 17-15Setting up the buttons action................................................................................ 17-16

    Setting up what the button looks like when it is not pressed ........................... 17-16

    Setting up what the button looks like when it is pressed .................................. 17-16

    Creating momentary push buttons ................................................... 17-16

    The error state .......................................................................................................... 17-17

    Setting up the appearance and action of the momentary push button ........... 17-18

    http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/
  • 8/14/2019 Allen Bradley RSViewSE1

    19/300

    Contents xvii

    Setting up what the momentary push button does when it is pressed

    and released...............................................................................................................17-18

    Connecting the momentary push button to data................................................ 17-18

    Creating maintained push buttons.................................................... 17-18

    The error state ..........................................................................................................17-19

    Setting up the appearance of the maintained push button................................ 17-20

    Setting up what the maintained push button does when it is pressed

    and released...............................................................................................................17-20

    Connecting the maintained push button to data................................................. 17-20

    Creating latched push buttons ............................................................ 17-20

    The error state ..........................................................................................................17-21

    Setting up the appearance of the latched push button....................................... 17-22

    Setting up what the latched push button does when it is latched

    and unlatched ...........................................................................................................17-22Connecting the latched push button to data ....................................................... 17-22

    Creating multistate push buttons...................................................... 17-22

    The error state ..........................................................................................................17-23

    Setting up the appearance of the multistate push button.................................. 17-24

    Setting up what the multistate push button does when it is pressedand released...............................................................................................................17-24

    Setting up whether the multistate push button repeats when held down....... 17-24

    Connecting the multistate push button to data................................................... 17-24

    Creating interlocked push buttons ................................................... 17-24

    Setting up the appearance of the interlocked push button................................ 17-25

    Setting up what the interlocked push button does when it is pressed

    and released............................................................................................................... 17-26

    Connecting the interlocked push button to data ................................................17-26

    Creating ramp push buttons ..................................................................17-26

    Setting up the appearance and action of the ramp button ................................ 17-27

    Setting up a caption and image for the ramp button ......................................... 17-28

    Setting up whether the ramp button repeats when held down......................... 17-28

    http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/
  • 8/14/2019 Allen Bradley RSViewSE1

    20/300

    xviii RSView Supervisory Edition Users Guide

    Connecting the ramp button to data .................................................................... 17-28

    Creating numeric or string fields ....................................................... 17-28

    Creating numeric or string input fields................................................................. 17-28

    Using input fields at run time ............................................................... 17-30

    Updating tag values continuously ......................................................................... 17-30

    Keys ........................................................................................................................... 17-31

    RSView commands ................................................................................................. 17-32

    Using the on-screen keyboard ............................................................................... 17-33

    How to use indicators ................................................................................ 17-34

    How to use the States tab for indicators.............................................................. 17-34

    How to use Least Significant Bits to trigger states ............................................. 17-35

    How to use the Connections tab for indicators.................................................. 17-35

    Creating multistate indicators............................................................. 17-35

    Creating symbol indicators .................................................................... 17-36

    Creating list indicators.............................................................................. 17-36

    How to use gauges and graphs ........................................................... 17-36

    Using gauges to show limits................................................................................... 17-36

    Using graphs to compare values............................................................................ 17-38

    Creating gauges ............................................................................................. 17-39

    Creating bar graphs ..................................................................................... 17-39

    Creating scales ............................................................................................... 17-39

    How to use keys ............................................................................................. 17-40

    Using the Key objects ............................................................................................. 17-40

    Using keys with the object that has focus............................................................ 17-41

    Creating keys ................................................................................................... 17-42

    Setting up whether the key repeats when held down......................................... 17-42

    Creating advanced objects .................................................................... 17-42

    Objects described in other chapters ..................................................................... 17-43

    Creating arrows .............................................................................................. 17-43

    http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/
  • 8/14/2019 Allen Bradley RSViewSE1

    21/300

    Contents xix

    Creating tag labels .......................................................................................17-44

    Creating time and date displays......................................................... 17-45

    Creating display list selectors ............................................................. 17-45

    Understanding the States tab for display list selectors.......................................17-45

    How to use local message displays................................................. 17-45

    What is displayed at run time................................................................................. 17-46

    Creating local message displays ....................................................... 17-46

    Creating local messages.......................................................................... 17-47

    Creating a recipe object ........................................................................... 17-49

    Creating a recipe file .................................................................................. 17-49

    Using a recipe at run time ......................................................................17-51

    Choosing between piloted control list selectors and

    control list selectors................................................................................... 17-52

    How to use control list selectors....................................................... 17-53

    How control list selectors work at run time ........................................................ 17-53

    Creating control list selectors ............................................................. 17-55

    How to use piloted control list selectors.....................................17-55

    How piloted control list selectors work at run time........................................... 17-56

    How to use the States tab for piloted control list selectors .............................. 17-57

    How to use the Connections tab for piloted control list selectors .................. 17-58

    Creating piloted control list selectors ...........................................17-61

    Using OLE objects ........................................................................................17-62

    Creating OLE objects .............................................................................................17-63

    Converting OLE objects........................................................................................17-63

    Using ActiveX objects................................................................................ 17-64

    When exchanging data with tags, use the same data type ................................. 17-64

    ActiveX properties, methods, and events ............................................................17-64

    Creating ActiveX objects........................................................................................ 17-65Making ActiveX objects interact with RSView...................................................17-66

    http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/
  • 8/14/2019 Allen Bradley RSViewSE1

    22/300

  • 8/14/2019 Allen Bradley RSViewSE1

    23/300

    Contents xxi

    Using color animation .................................................................................. 18-8

    Using fill animation ...................................................................................... 18-11

    Using horizontal position animation ................................................ 18-12

    Using vertical position animation...................................................... 18-12

    Using width animation ............................................................................... 18-12

    Using height animation .............................................................................18-13

    Using rotation animation ......................................................................... 18-13

    Setting up rotation animation ................................................................................ 18-13

    Using touch animation............................................................................... 18-15

    Using horizontal slider animation ...................................................... 18-15

    Using vertical slider animation ........................................................... 18-15

    Using OLE verb animation ......................................................................18-16

    Attaching other types of animation to OLE objects .........................................18-16

    Animating ActiveX controls ................................................................... 18-16

    NamingActiveX objects.........................................................................................18-17

    Connecting tags to an ActiveX objects properties ..............18-18

    Connecting tags to an objects methods......................................18-19

    Viewing an objects methods ................................................................................. 18-19

    Using the Invoke command to call a method .....................................................18-19

    Connecting tags to an ActiveX objects events ...................... 18-20

    Using VBA code to make ActiveX objects interact with RSView .................. 18-21

    Associating objects and displays with keys.............................. 18-21

    Using object keys .......................................................................................... 18-22

    Using index numbers to navigate to objects ............................. 18-23

    How tab index numbers work ............................................................................... 18-23

    Checking an objects index number...................................................................... 18-24

    Changing index numbers........................................................................................ 18-25

    Creating a tab sequence .......................................................................................... 18-25Using the Current [tag] parameter with object keys ........... 18-26

    http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/
  • 8/14/2019 Allen Bradley RSViewSE1

    24/300

    xxii RSView Supervisory Edition Users Guide

    Summary of steps .................................................................................................... 18-26

    Three examples ........................................................................................................ 18-27

    Using display keys........................................................................................ 18-29Viewing the key list at run time.......................................................... 18-30

    Disabling the key list ............................................................................................... 18-31

    Applying animation to groups............................................................... 18-31

    Checking the animation on objects ................................................. 18-31

    Copying or duplicating objects with animation ....................... 18-32

    Copying animation without copying objects ............................. 18-32

    Chapter 19

    Setting up trends.......................................................................................................................19-1

    About trends ....................................................................................................... 19-1

    Current versus historical data .................................................................................. 19-2

    Creating trend objects ................................................................................. 19-3

    Setting up trends ............................................................................................. 19-4

    The parts of a trend ....................................................................................... 19-5

    Chart ............................................................................................................................ 19-5

    Chart title .................................................................................................................... 19-6

    X-axis........................................................................................................................... 19-6

    X-axis legend .............................................................................................................. 19-6

    Y-axis ........................................................................................................................... 19-6

    Y-axis legend .............................................................................................................. 19-6Pens.............................................................................................................................. 19-7

    Legends ....................................................................................................................... 19-7

    Pen icons..................................................................................................................... 19-8

    Pen markers ................................................................................................................ 19-8

    Value Bar................................................................................................................... 19-10

    Trend chart types .......................................................................................... 19-11

    http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/
  • 8/14/2019 Allen Bradley RSViewSE1

    25/300

    Contents xxiii

    Standard Chart.......................................................................................................... 19-11

    XY Plot Chart ..........................................................................................................19-12

    Isolated graphing...................................................................................................... 19-13Plotting a value across the full width of the chart ..............................................19-14

    Choosing trend colors, fonts, lines, and markers ..................19-14

    Changing the trend highlight color ....................................................................... 19-15

    Changing the trend object background ................................................................19-16

    Displaying a current value legend ..................................................... 19-16

    Displaying a line legend ............................................................................ 19-17

    Using shading to compare pens ......................................................... 19-18

    Comparing real-time and historical data ......................................19-22

    Setting up snapshots and overlays.........................................................................19-22

    Using trend templates ............................................................................... 19-23

    Applying a consistent appearance to trend charts ..............................................19-24

    Creating a set of different views for the same data ............................................19-24

    Returning to a standard display ............................................................................. 19-24

    Saving pen attribute data ........................................................................................ 19-24

    Loading templates....................................................................................................19-25

    Loading templates at run time ............................................................................... 19-25

    Using the Trend graphic library .......................................................... 19-26

    Testing trends .................................................................................................. 19-26

    Using trends at run time........................................................................... 19-27

    Collecting data in the background at run time .................................................... 19-27

    Selecting pens at run time.......................................................................................19-29

    Changing the trend properties at run time........................................................... 19-29

    Using scrolling options at run time....................................................................... 19-30

    Using the value bar at run time.............................................................................. 19-31

    Using the delta value bar at run time....................................................................19-33

    Using zoom at run time ..........................................................................................19-34Using pan at run time.............................................................................................. 19-34

    http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/
  • 8/14/2019 Allen Bradley RSViewSE1

    26/300

    xxiv RSView Supervisory Edition Users Guide

    Using the arrow keys at run time .......................................................................... 19-35

    Printing the trend chart at run time...................................................................... 19-36

    Using overlays at run time...................................................................................... 19-36

    Fixing run-time errors ............................................................................................. 19-37

    Chapter 20

    Creating expressions ...........................................................................................................20-1

    About expressions .......................................................................................... 20-1

    Where you can use expressions............................................................................... 20-1

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

    Expression components ........................................................................................... 20-2

    Creating expressions.................................................................................... 20-3

    Expression buttons.................................................................................................... 20-4

    Using the Check Syntax button............................................................................... 20-4

    Cutting, copying, and pastingexpressions............................................................. 20-4

    Formatting expressions............................................................................................. 20-5

    Using tag names and tag placeholders in expressions ....... 20-5

    Using area names with tag names ........................................................................... 20-6

    Using tag placeholders instead of tag names......................................................... 20-6

    Using constants in expressions............................................................ 20-6

    Using operators in expressions ............................................................ 20-7

    Arithmetic operators ................................................................................................. 20-7

    Relational operators................................................................................................... 20-8

    Logical operators ....................................................................................................... 20-9Bitwise operators ....................................................................................................... 20-9

    Evaluation order of operators ............................................................................... 20-11

    Using built-in functions in expressions ......................................... 20-13

    Tag functions............................................................................................................ 20-14

    Time functions ......................................................................................................... 20-17

    File functions............................................................................................................ 20-20

    http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/http://0.0.0.0/
  • 8/14/2019 Allen Bradley RSViewSE1

    27/300

    Contents xxv

    Math functions .........................................................................................................20-20

    Security functions .................................................................................................... 20-21

    Using if-then-else logic in expressions .........................................20-22Nested if-then-else ................................................................................................. 20-23

    Chapter 21

    Creating embedded variables.................................................................................... 21-1

    About embedded variables ....................................................................... 21-1

    Where you can create embedded variables ................................. 21-2

    Creating embedded variables ................................................................. 21-2

    Embedded variable syntax............................................................