49
Table of contents
22
Rockwell Automation Publication VIEWSE-UM006K-EN-E
Chapter 23
About trends ...................................................................................... 601
Charting current versus historical data ....................................... 601
Creating trend objects ....................................................................... 602
Providing a name for the trend.................................................... 603
Setting up trend properties .......................................................... 603
Testing a trend............................................................................. 604
The parts of a trend ........................................................................... 604
Chart ............................................................................................ 605
Chart title .................................................................................... 605
X-axis .......................................................................................... 605
X-axis legend .............................................................................. 605
Y-axis .......................................................................................... 606
Y-axis legend .............................................................................. 606
Pens ............................................................................................. 606
Legends ....................................................................................... 607
Pen icons ..................................................................................... 607
Pen markers ................................................................................. 608
Value Bar .................................................................................... 609
Trend chart styles .............................................................................. 609
The Standard chart style.............................................................. 610
The XY Plot chart style............................................................... 610
Isolated graphing ......................................................................... 611
Plotting a value across the full width of the chart ....................... 612
Choosing trend colors, fonts, lines, and legends ............................... 613
Changing the trend highlight color ............................................. 613
Changing the trend object background ....................................... 614
Showing a current value legend .................................................. 614
Showing a line legend ................................................................. 615
Using shading to compare pens ........................................................ 615
Using overlays to compare real-time and historical data .................. 618
Setting up snapshots and overlays .............................................. 618
Using trend templates ....................................................................... 619
Applying a consistent appearance to trend charts ....................... 619
Creating a set of different views for the same data ..................... 619
Returning to a standard display................................................... 620
Saving pen attribute data ............................................................. 620
Loading trend templates .............................................................. 620
About the Trend graphic library ................................................. 621
Working with trends at run time ....................................................... 621
Collecting data in the background at run time ............................ 621
Selecting pens at run time ........................................................... 623
Modifying trend properties at run time ....................................... 623
Scrolling the trend chart at run time ........................................... 624
Showing the value of pens at various positions .......................... 625
Setting up trends
44
Table of contents
Rockwell Automation Publication VIEWSE-UM006K-EN-E
23
Displaying the difference in pen values for two points .............. 626
Zooming the trend chart .............................................................. 627
Panning the trend chart ............................................................... 627
Using the arrow keys .................................................................. 627
Printing the trend chart................................................................ 628
Using overlays at run time .......................................................... 628
Fixing run-time errors ................................................................. 629
Chapter 24
About logic and control .................................................................... 631
Creating and using derived tags ........................................................ 631
Parts of the Derived Tags editor ................................................. 632
How to use derived tags .............................................................. 633
Creating a derived tags component ............................................. 633
Starting and stopping derived tags processing ............................ 635
Setting up FactoryTalk View SE events ........................................... 637
Parts of the Events editor ............................................................ 638
Creating an events component .................................................... 639
Starting and stopping events processing ..................................... 641
Creating and using macros ................................................................ 642
Macro syntax ............................................................................... 643
Specifying parameters in a macro ............................................... 644
Typing macro names that contain spaces .................................... 645
Nesting macros............................................................................ 645
Running macros .......................................................................... 646
Specifying user login and logout macros .................................... 646
Creating client keys........................................................................... 647
Running client key components .................................................. 648
Chapter 25
Using commands in a FactoryTalk View SE application ................. 649
How to use commands ................................................................ 649
Using tag placeholders in commands ......................................... 650
Where commands run ................................................................. 651
Using absolute and relative references ............................................. 653
How relative references are resolved .......................................... 653
Creating symbols .............................................................................. 654
Important guidelines ................................................................... 655
Running and building commands ..................................................... 655
Adding logic and
control
FactoryTalk View
commands
44
Table of contents
24
Rockwell Automation Publication VIEWSE-UM006K-EN-E
Chapter 26
Overview of DDE communications .................................................. 657
Setting up an HMI server as a DDE client ........................................ 658
Creating an HMI tag that uses DDE ........................................... 658
Specifying Device as the data source.......................................... 658
Syntax for DDE addresses .......................................................... 659
Scanning for new tag values ............................................................. 659
Chapter 27
Customizing applications using VBA with FactoryTalk View ........ 661
Summary of basic steps .............................................................. 662
About procedures ........................................................................ 663
How VBA code runs ................................................................... 663
Parts of the VBA integrated development environment ................... 663
Project Explorer window ............................................................ 664
Properties window ...................................................................... 664
Procedure or code window.......................................................... 664
FactoryTalk View SE Client object model ....................................... 664
Viewing the objects..................................................................... 666
Finding information about FactoryTalk View SE Client objects ..... 667
Finding information about VBA ....................................................... 668
Chapter 28
About XML ....................................................................................... 669
Exporting graphics data to an XML file ........................................... 669
Modifying exported XML files ......................................................... 670
Saving XML files in Notepad ..................................................... 670
Testing XML files ....................................................................... 671
Importing XML files ......................................................................... 671
Error log file ................................................................................ 671
Importing graphic display XML files ......................................... 671
Graphic display XML file structure .................................................. 672
Legal Notices .................................................................................... 675
Setting up DDE
communications for
HMI tags
Using the SE Client
object model and
display code
Importing and
exporting XML files
Legal Notices
Index
43
Rockwell Automation Publication VIEWSE-UM006K-EN-E
25
Chapter 1
Getting started with FactoryTalk
View SE
This chapter describes:
What FactoryTalk View Site Edition is.
What a FactoryTalk system is.
FactoryTalk View Site Edition software.
FactoryTalk View tools and utilities.
How to set up the software you need.
Running FactoryTalk View SE without activation.
Exploring the InstantFizz application.
How to start creating a new network distributed application.
FactoryTalk View Site Edition is an integrated software package for
developing and running human-machine interface (HMI) applications that
can involve multiple users and servers, distributed over a network.
A member of the FactoryTalk View family of products, FactoryTalk View
Site Edition (also called FactoryTalk View SE) provides all the tools you
need to create powerful, dependable process monitoring and supervisory
control applications.
In FactoryTalk View Studio, you can create FactoryTalk View SE network
distributed, network station, or local station applications that mirror your
plant or process.
Use the editors in FactoryTalk View Studio to create and test the application
components you need. Then, set up the FactoryTalk View SE Clients to let
operators interact with the application after it is deployed.
FactoryTalk View Site Edition provides all the tools you need to create
powerful, dependable process monitoring and supervisory control
applications.
Welcome to
FactoryTalk View
Site Edition
About FactoryTalk
systems
49
Chapter 1 Getting started with FactoryTalk View SE
26
Rockwell Automation Publication VIEWSE-UM006K-EN-E
FactoryTalk Services Platform
The FactoryTalk Services Platform provides a set of common services, such
as diagnostic messages, health monitoring services, and access to real-time
data, for all the FactoryTalk products and applications used in a control
system.
Using services, FactoryTalk products can share and gain simultaneous access
to resources such as tags and graphic displays that you only need to define
once in the system.
The FactoryTalk Services Platform installs behind the scenes during
FactoryTalk View SE installation. Following are the services the platform
provides:
FactoryTalk Directory centralizes access to system resources and
names for all FactoryTalk products and components participating in an
automated control system. The FactoryTalk Network Directory
manages resources for FactoryTalk View SE network applications, and
the FactoryTalk Local Directory manages resources for FactoryTalk
View SE local applications. For more information, see Setting up the
FactoryTalk Directory on page 77.
FactoryTalk Security centralizes user authentication and
authorization at the FactoryTalk Directory. For information about
securing FactoryTalk View SE applications, see Setting up security on
page 85.
FactoryTalk Live Data manages connections between FactoryTalk
products and data servers. For information about data communications
in FactoryTalk View SE applications, see Setting up communications
on page 177.
FactoryTalk Diagnostics collects and provides access to activity,
status, warning, and error messages generated throughout a
FactoryTalk system. For information about diagnostics in FactoryTalk
View SE, see Logging system activity on page 381.
FactoryTalk Administration Console is an optional, stand-alone tool
for developing, managing, and securing multiple applications.
Note: You must use the FactoryTalk Administration Console to
restore FactoryTalk View SE network applications and to set
up computer accounts, if necessary, after upgrading the
FactoryTalk Services Platform. Otherwise, FactoryTalk View
Studio is the configuration software for developing and testing
FactoryTalk View applications.
FactoryTalk services installed with FactoryTalk View SE
The FactoryTalk Services Platform also supports FactoryTalk Alarms and
Events services, and software-based product activation. These services are
40
Getting started with FactoryTalk View SE Chapter 1
Rockwell Automation Publication VIEWSE-UM006K-EN-E
27
installed separately, during FactoryTalk View SE installation, rather than
with the FactoryTalk Services Platform.
For more information about FactoryTalk Alarms and Events and FactoryTalk
Activation, see the list of FactoryTalk View SE software below.
Finding more information about FactoryTalk
services
This manual contains information about developing FactoryTalk View SE
applications, including information about how FactoryTalk View uses
FactoryTalk services.
For additional, detailed information about FactoryTalk systems, services,
concepts, and components, see the FactoryTalk Help.
To open the FactoryTalk Help:
Select Start > All Programs > Rockwell Software > FactoryTalk Tools >
FactoryTalk Help.
You can also open the FactoryTalk Help by clicking Help in dialog boxes
used to set up FactoryTalk components and services.
FactoryTalk View SE consists of several pieces of software you can use to
build network or local HMI applications, customized to your needs.
Depending on the software packages you purchased, you will have installed
one or more of the following software components, from the FactoryTalk
View DVD.
FactoryTalk Services Platform provides common services (such as
diagnostic messages, health monitoring services, and access to real-time
data) to products and applications in a FactoryTalk system.
For an overview of FactoryTalk Services Platform, see FactoryTalk Services
Platform on page 26.
FactoryTalk View Studio is configuration software for developing and
testing FactoryTalk View SE applications.
FactoryTalk View Studio contains editors for creating complete applications,
and includes client and server software for testing the applications you
create. Use the editors to create applications that are as simple or as complex
as you need.
For information about FactoryTalk View Studio features, see Exploring
FactoryTalk View Studio on page 41.
FactoryTalk View
Site Edition
software
43
Chapter 1 Getting started with FactoryTalk View SE
28
Rockwell Automation Publication VIEWSE-UM006K-EN-E
You can also use FactoryTalk View Studio to set up FactoryTalk Security
services for the applications you develop. For more information, see Setting
up security on page 85.
Note: FactoryTalk View Studio is also the configuration software for
developing FactoryTalk View Machine Edition (ME)
applications. For information about FactoryTalk View ME, see
the
FactoryTalk View Machine Edition User’s Guide
and the
ME Help.
FactoryTalk View SE Client is software for viewing and interacting with
FactoryTalk View SE local station, network station, and network distributed
applications at run time.
FactoryTalk View SE Server, also called the HMI server, stores HMI
project components (for example, graphic displays) and serves them to
clients. The server also contains a database of tags, and performs alarm
detection and historical data logging.
The FactoryTalk View SE Server has no user interface. Once installed, it
runs as a set of
‘headless’ Windows services that supply information to
clients as they request it.
FactoryTalk Alarms and Events installs behind the scenes during
FactoryTalk View SE installation, and provides system-wide alarm
monitoring and control centralized at the FactoryTalk Directory.
For run-time clients to receive FactoryTalk device-based and tag-based alarm
information, you need to set up application servers to support FactoryTalk
Alarms and Events services. For details, see Setting up FactoryTalk alarms
on page 261.
FactoryTalk Activation provides a secure, software-based system for
activating Rockwell Software products and managing software activation
files.
For information about activating FactoryTalk View SE software, see the
FactoryTalk View Site Edition Installation Guide.
FactoryTalk tools and utilities that support the operation of your
FactoryTalk View SE software. For an overview, see Chapter 1 of the
FactoryTalk View Site Edition Installation Guide.
FactoryTalk View SE features
FactoryTalk View SE provides the flexibility and features you need to create
powerful automation systems for your plant or process. For example, you
can:
54
Getting started with FactoryTalk View SE Chapter 1
Rockwell Automation Publication VIEWSE-UM006K-EN-E
29
Create local station applications for parts of the plant or process that
are self-contained, and are not related to other parts of the process.
Create complex applications that mirror the layout of a plant or
process.
A FactoryTalk View SE network distributed application can contain
several servers running on multiple computers, connected over a
network. Multiple client users can connect simultaneously to a network
distributed application.
Open and modify network applications remotely using FactoryTalk
View Studio.
Use the health monitoring and redundancy features built into
FactoryTalk and FactoryTalk View SE to support system availability at
run time.
Use FactoryTalk Security services to centralize the authentication and
authorization of system users at the FactoryTalk Directory.
Create multi-language applications that support switching between up
to 40 different languages at run time. In a network distributed
application, multiple clients can run in different languages
simultaneously.
Modify HMI tag and alarm properties at run time, and have changes
take effect at connected clients, without restarting the clients.
In a redundant network distributed application, changes made at the
primary HMI server can be replicated to the secondary server.
Create a complete alarm monitoring system that includes FactoryTalk
Alarms and Events and HMI tag alarms.
Using FactoryTalk Alarms and Events services, FactoryTalk View SE
applications can subscribe to and display device-based alarms,
programmed directly into Logix5000 controllers.
Customize alarm summaries and banners to provide specific alarm
data, rather than displaying alarms for the entire system.
Create global objects in global object displays, and use copies of these
objects throughout an application. When you modify the original
object, all linked copies are also updated.
Dock selected displays to an edge of the FactoryTalk View SE Client
window so they can be viewed in a fixed position, at all times.
Use the FactoryTalk View SE Client Object Model and VBA to extend
the capabilities of FactoryTalk View SE, and to share and interoperate
with Windows programs such as Microsoft SQL Server and Microsoft
Excel.
42
Chapter 1 Getting started with FactoryTalk View SE
30
Rockwell Automation Publication VIEWSE-UM006K-EN-E
Create trends that show process variables plotted against time.
FactoryTalk View SE trends can display real-time or historical data,
with up to 100 pens (tags) in each trend.
Log data simultaneously to the FactoryTalk Diagnostics log and to
remote ODBC (Open Database Connectivity) databases to provide
various records of production data.
The design of the automation and control system you plan to deploy will
determine which FactoryTalk View SE software components to install and
set up on network computers. Where you install the software also depends on
the type of application.
FactoryTalk View Studio Enterprise is the configuration software for
developing and testing FactoryTalk View SE network distributed, network
station, local station, and FactoryTalk View ME applications. The available
applications are shown below.
To develop or run a Network Distributed application, you can install
different combinations of software on each computer, depending on
needs.
To develop or run a Network Station application, you must install all
the necessary software components on one computer (except for data
servers). Network station applications can connect to data servers that
are located on different machines.
To develop or run a Local Station application, you must install all the
necessary software components on one computer (except for OPC data
servers). Local station applications can connect to OPC data servers
that are located on different machines.
To develop or run a View Machine Edition application, see
FactoryTalk View Machine Edition User’s Guide
and ME Help.
Steps in this section describe the basic tasks involved in setting up the
software needed to develop and run local and network applications.
Quick start: setting
up the software you
need
Documents you may be interested
Documents you may be interested