7/23/2019 FTV - Lab Manual
1/304
Publication Number -- Date Copyright 2010 Rockwell Automation, Inc.
RSTechED 2010
VZ07/VZ08 FactoryTalk View SiteEdition Lab
Presenter: Tony CarraraRockwell Automation Control and Visualization Software
7/23/2019 FTV - Lab Manual
2/304
7/23/2019 FTV - Lab Manual
3/304
VZ07/08 FactoryTalk View SE Lab
Contents
Before you begin .........................................................................................................................................7
About this lab ................................................................................................................................................7
What you will accomplish in this lab.............................................................................................................. 8
Who should complete this lab .......................................................................................................................8
Tools & prerequisites .................................................................................................................................... 8
Overview ....................................................................................................................................................11
About this lab .............................................................................................................................................. 11
FactoryTalk View SE components..............................................................................................................11
FactoryTalk View SE - Network and Local.................................................................................................. 16
Best practice ............................................................................................................................................... 16
Section 1: Create and run a simple appl ication ..................................................................................... 21
Creating a network HMI project in FactoryTalk View Studio....................................................................... 21
Add an Area to the application....................................................................................................................24
Add an HMI Server to the application ......................................................................................................... 26
Add Process Faceplates into the HMI Server............................................................................................. 28
Add a data server........................................................................................................................................ 29
Configure Communications.........................................................................................................................31
Create a display and add a numeric display object ....................................................................................37
Section 2: Importing appl ication components ....................................................................................... 42
Section 3: Tags..........................................................................................................................................46
About this section........................................................................................................................................ 46
3 of 304
7/23/2019 FTV - Lab Manual
4/304
Creating an HMI tag .................................................................................................................................... 46
Import/Export Tags Wizard .........................................................................................................................49
Add an object referencing an HMI tag ........................................................................................................ 55
Section 4: Graphic Displays, Objects and Animations ......................................................................... 61
About this section........................................................................................................................................ 61
Read about Graphic Displays .....................................................................................................................61
Graphic Libraries.........................................................................................................................................62
Modify an XML file....................................................................................................................................... 63
Tooltips........................................................................................................................................................ 71
Docked displays ..........................................................................................................................................77
Explore docked displays at run-time........................................................................................................... 80
Commands .................................................................................................................................................. 83
Animations and expressions .......................................................................................................................89
The Object Explorer .................................................................................................................................... 90
Local messages ..........................................................................................................................................95
Using Symbol Factory Graphics ...............................................................................................................102
Color Animation Enhancements ...............................................................................................................115
Section 5: Alarming ................................................................................................................................119
About this section......................................................................................................................................119
Read about types of alarming ................................................................................................................... 119
Add database connection..........................................................................................................................121
Enabling device-based alarms and events ............................................................................................... 123
Using FactoryTalk Alarm and Event Objects ............................................................................................125
Creating Tag-Based Alarms...................................................................................................................... 146
Section 6: Global Objects....................................................................................................................... 152
About this section......................................................................................................................................152
Read about Global Objects.......................................................................................................................152
Create reference objects...........................................................................................................................152
Reference object properties......................................................................................................................159
4 of 304
7/23/2019 FTV - Lab Manual
5/304
Look at the Global Object defaults............................................................................................................161
Modifying Global Objects ..........................................................................................................................163
Section 7: Secur ity .................................................................................................................................. 166
About this section......................................................................................................................................166
Read about security .................................................................................................................................. 166
Creating a User and User Group ..............................................................................................................167
Configuring action security........................................................................................................................ 170
Configuring runtime security .....................................................................................................................173
Assign security codes to commands.........................................................................................................175
Assign security codes to displays .............................................................................................................177
Assign security codes to tags.................................................................................................................... 178
Verifying security settings ......................................................................................................................... 181
Section 8: Data logging and trending ...................................................................................................186
About this section......................................................................................................................................186
Runtime exploration ..................................................................................................................................186
Configuration exploration .......................................................................................................................... 187
Configuring trends.....................................................................................................................................192
Viewing the trend at runtime .....................................................................................................................198
Section 9: FactoryTalk Diagnostics Setup and the Viewer.................................................................206
About this section......................................................................................................................................206
Read about FactoryTalk Diagnostics ........................................................................................................ 206
Diagnostics setup...................................................................................................................................... 211
ODBC Database as a message source....................................................................................................215
View the ODBC Log .................................................................................................................................. 218
Section 10: Language switching ...........................................................................................................219
About this section......................................................................................................................................219
Read About language switching ............................................................................................................... 219
Configuration of supported languages......................................................................................................221
Language switching command ................................................................................................................. 228
5 of 304
7/23/2019 FTV - Lab Manual
6/304
Device-based alarm language switching .................................................................................................. 231
Tag-based alarm language switching .......................................................................................................234
Section 11: Testing d isplays ..................................................................................................................242
About this section......................................................................................................................................242
Test display ............................................................................................................................................... 242
Configure a client file.................................................................................................................................244
Run client ..................................................................................................................................................250
Verify online edits......................................................................................................................................251
Test commands at runtime........................................................................................................................ 252
Section 12: Advanced .............................................................................................................................253
About this section......................................................................................................................................253
FactoryTalk View Application Documenter ............................................................................................... 253
Importing screens from RSView32 ........................................................................................................... 256
FactoryTalk ViewPoint ..............................................................................................................................266
6 of 304
7/23/2019 FTV - Lab Manual
7/304
Before you begin
This lab is intended to be a compilation of several smaller exercises designed to instruct the user on the
basics of FactoryTalk View Site Edition. Though the lab can be done linearly, where all exercises are
cumulative, the only requiredexercises are all of Section 1: Creating your application and Section 2:
Importing/Exporting Application Components. From there, the user may select which exercises interest
them most without having to be concerned with numerical order.
The following steps must be completed before starting the lab exercise:
1. If the Log On To Windowsdialog is active, typeadministratorfor Username and rockwell
for password.
2. Use the same Login information if prompted to Log On to the FactoryTalk Directory or when
creating a FactoryTalk Alarms and Events History Database.
About this lab
Welcome to the FactoryTalk View SE Hands-On Lab series. This session provides you with an
opportunity to explore the basics of FactoryTalk View Site Edition (FactoryTalk View SE). The following
sections explain what youll be doing in this lab session and what you will need to do to complete the
hands-on exercises.
Factory Talk View SE is an integrated package for developing and running multi-user, networked human-
machine interface (HMI) applications. FactoryTalk View SE is designed for automated process or
machine monitoring, and supervisory control.
This lab uses a modifiedversion of FactoryTalk View SE 5.10.
The features that were modified in this version include the soon to be released FactoryTalk View SE V6.0
integration of the Symbol Factory V2.5 Library from Software Toolbox as well as the enhancement to
color animation for grouped graphical objects.
In this lab, you will be working with a network application containing an HMI Server, a data server, and a
single HMI Client. For this lab, these servers and clients will all be located on the same computer. View
Studio, the development environment, will also be on this computer. In the deployed system however,
these components could actually be on separate computers, and additional HMI clients could be used,
since View SE scales easily from small to large systems. This lab procedure contains content and
exercises for both novice and advanced users. After executing the first few sections of the lab you can
pick and choose other sections.
It is recommended that users complete remaining lab procedures in the order they are presented, time
permitting.
7 of 304
7/23/2019 FTV - Lab Manual
8/304
What you will accomplish in this lab
As you complete the exercises in this hands-on session, you will gain an understanding of the
functionality and capability of FactoryTalk View Site Edition by
creating an application
configuring an HMI server
configuring an RSLinx Enterprise data server and enabling it for alarm and event support
utilizing graphics and animation
test running displays
configuring and running an HMI client file
configuring and monitoring alarms (FactoryTalk device and tag based)
implementing security
working with data log models and trends
using the FactoryTalk Diagnostics Viewer
working with Global Objects
configuring your application for language switching
Who should complete this lab
This hands-on lab is intended for individuals who:
Have a basic knowledge of HMI software and are involved in the design and implementation ofsupervisory-level HMI projects.
Tools & prerequisites
Hardware
This hands-on lab does not require any hardware. A Logix5000 controller could be used in place of
SoftLogix 5800.
Note:FactoryTalk Alarms and Events Device Based Alarms require firmware version 16.20 or higher for
ControlLogix, CompactLogix L3x and L4x, and DriveLogix.
Software
This hands-on lab uses the following software:
FactoryTalk Services Platform v2.10
FactoryTalk View SE v5.10 (modified)
RSLinx Enterprise v5.20.01
FactoryTalk Alarms and Events v2.20 (included with FactoryTalk View Site Edition and RSLinxEnterprise)
RSLinx Classic (used for Logix programming) v2.55
8 of 304
7/23/2019 FTV - Lab Manual
9/304
RSLogix5000 v17
SoftLogix v17
Microsoft SQL Server 2005 Express
Microsoft SQL Server Management Studio Express.
Microsoft SQL Server 2005 Express Edition is a free, redistributable version of Microsoft SQL Server.FactoryTalk Alarms and Events use Microsoft SQL Server as the database engine for logging alarm andevent information. You can connect to an existing SQL Server database, or you can install Microsoft SQLServer 2005 Express, Service Pack 2, which is included in the Redist folder on the FactoryTalk View SEand RSLinx Enterprise CDs.
Microsoft SQL Server Management Studio Express (SSMSE) is a free, easy-to-use graphicalmanagement tool for managing SQL Server 2005 Express. It is included in the Redist folder on theFactoryTalk View SE and RSLinx Enterprise CDs.
Lab Files
This hands-on lab uses the following files located in the C:\Lab Files\FTView SE\InstantFizz - Lab Files\subdirectory:
Language Switching contains 3 files that will be used in the language switching section of the lab
InstantFizz_Translated.xls- Translated file for FactoryTalk View SE
InstantFizz_Controll er-Tags_translated.TXT- Translated file for FactoryTalk Alarms andEvents device-based alarm messages in RSLogix 5000
InstantFizz_FTAETagServer_Alarm Export_translated.xls - Translated file for FactoryTalkAlarms and Events tag-based alarm messages in the FactoryTalk Tag Alarm and EventServer
RSLogix 5000 contains 1 file that can be used with RSLogix 5000.
InstantFizz_Controller.ACD control program to be used in this lab
Graphics Displays contains 18files that have been pre-configured
alarm banner.gfx
alarmlogviewer.gfx
Alarms.gfx
alarmstatusexplorer.gfx
Blending.gfx
cip - process s teps.gfx
CIP - Sensor Trend.gfx
CIP - Valves.gfx
CIP Overview.gfx
filling.gfx
labeling.gfx
Languages.gfx
Navigation.gfx
9 of 304
7/23/2019 FTV - Lab Manual
10/304
packaging.gfx
Plant Overview.gfx
Rapid Mix - Overview.gfx
Rapid Mix - Process Steps.gfx
Security.gfxImages contains 41pre-configured images
Client contains a preconfigured FactoryTalk View SE Client file
ClientFile_DockedDisplays.cli
Client Keys - ClientKeys.key
ODBC database- ODBC_InstantFizz.mdb
Graphic XML file - CIP - Process Steps.xml
Exported Tag database - Additional_Tags.CSV
Local Messages 2 pre-configured files
CIPProcessSteps.loc
RapidMix.loc
Trend Templates 9 pre-configured Trend Templates
Datalog CIP.mdf
RSView32 migration files
Global Objects - CIPComponents.ggfx
10 of 304
7/23/2019 FTV - Lab Manual
11/304
Overview
About this lab
This lab will outline the major components and fundamental ideas of FactoryTalk View Site Edition. It will
specifically:
Discuss the components of FactoryTalk View SE
Discuss the differences between FactoryTalk View SE Local and Network Application
Discuss HMI Servers, data servers, and Tag Alarm and Event Servers
Discuss FactoryTalk Alarms and Events Services for Device Based and Tag Based Alarms
FactoryTalk View SE components
FactoryTalk View Site Edition
FactoryTalk View Site Edition is an integrated software package for developing and running human-
machine interface (HMI) applications that involve multiple users and servers, distributed over a network.
A member of the FactoryTalk 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.
FactoryTalk View SE software is designed for use with Microsoft Windows Server 2003 and 2008,
Windows XP, and Windows 2000 operating systems and Windows Vista Business.
Addi tional operating system support
FactoryTalk View SE version 5.1 supports additional operating systems:
Windows XP SP3
Windows Server 2008 SP 1
Windows Vista Business SP 1 (FactoryTalk View SE Station (Local) and SE Client)
FactoryTalk View Site Edition consists of several pieces of software you can use to build automation
applications. Depending on the particular software packages installed, you will have one or more of thefollowing pieces of software: FactoryTalk View Studio, FactoryTalk View SE Client, FactoryTalk View SE
Server, FactoryTalk Alarms and Events, FactoryTalk Services Platform, FactoryTalk Administrator
Console, FactoryTalk Directory, and FactoryTalk Activation.
11 of 304
7/23/2019 FTV - Lab Manual
12/304
FactoryTalk View Studio
Start > Programs > Rockwell Software > FactoryTalk View > FactoryTalk View Studio
FactoryTalk View Studio is configuration software for developing and testing FactoryTalk View SEapplications. 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. You can use FactoryTalk View Studio to develop
FactoryTalk View Site Edition (SE) and FactoryTalk View Machine Edition (ME) applications.
FactoryTalk View comes with process faceplates and graphic libraries that can be used in your
applications. Process faceplates are preconfigured to work with various Logix5000 instructions (for
example, PIDE, D2SD, and the new ALMD and ALMA instructions). Many of the graphic library objects
are preconfigured with animation. Use the objects as they are, or change them to suit your needs. As
mentioned earlier, this lab contains the integrated Symbol Factory graphics library that will be arriving in
version 6.0.
When you have finished developing an application, use FactoryTalk View SE Client to view and interact
with the application.
FactoryTalk View SE Client
Start > Programs > Rockwell Software > FactoryTalk View > FactoryTalk View Client
FactoryTalk View SE Client is a complete runtime operating environment for viewing and interacting with
FactoryTalk View SE local and network applications. To set up a FactoryTalk View SE Client, you need to
create a configuration file using the FactoryTalk View SE Client wizard. The HMI Server does not have to
be running when you configure a FactoryTalk View SE Client. With the FactoryTalk View SE Client you
can:
Load, view, and interact with multiple graphic displays at a time from multiple servers
Perform alarm management
View real-time and historical trends
Adjust set points
Start and stop components on any server
Provide a secure operator environment
And much more!
12 of 304
7/23/2019 FTV - Lab Manual
13/304
FactoryTalk View Administration Console
Start > Programs > Rockwell Software > FactoryTalk View > Tools > SE Administ rationConsole
FactoryTalk View Administration Console is for administering FactoryTalk View applications after they
have been deployed. FactoryTalk View Administration Console contains a sub-set of the FactoryTalk
View Studio editors, so you can make minor changes to an application without the need for installing
FactoryTalk View Studio. The FactoryTalk View Administration Console has a two hour run-time limit. A
warning message is displayed five minutes before the time is up. To continue using it you simply shut it
down and restart it.
FactoryTalk View Administration Console allows you to:
Change the properties of an HMI server.
Change the properties of a data server.
Add FactoryTalk users to an application, using the Runtime Security editor.
Set up security for commands and macros, using the Runtime Secured Commands editor.
Run FactoryTalk View commands from the Command Line.
Change how HMI tag alarms are logged and annunciated, using the Alarm Setup editor.
Change the path of data log models.
Change which system activities are logged and how frequently, using the Diagnostics Setupeditor (on the Tools menu).
Change the location alarms are logged to, and manage log files, using the Alarm Log Setup editor(on the Tools menu).
Import and export HMI tags using the Tag Import and Export Wizard (on the Tools menu)
FactoryTalk View SE Server
The FactoryTalk View SE Server, also called the HMI server, stores HMI project components (for
example, graphic displays, global objects, and macros) and serves them to clients. The server also
contains a database of tags, performs historical data logging, and HMI alarm monitoring. FactoryTalk
Alarms and Events can be used instead of FactoryTalk View SE HMI alarm monitoring. To maintain
compatibility with existing applications, FactoryTalk View stil l supports the traditional HMI alarm
monitoring.
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
Before FactoryTalk Alarms and Events, FactoryTalk View SE supported only HMI tag alarm monitoring.
To maintain compatibility with existing applications, FactoryTalk View still supports this type of alarm
monitoring.
However, FactoryTalk Alarms and Events now allows multiple FactoryTalk products to participate
13 of 304
7/23/2019 FTV - Lab Manual
14/304
together in a common, consistent view of alarms and events throughout a FactoryTalk system.
FactoryTalk Alarms and Events support two types of alarm monitoring:
Device-based alarm monitoring- Pre-built alarm instructions, available in RSLogix 5000 v. 16 or later,
are programmed in a logic project and then downloaded into a Logix5000 controller. The controller
detects alarm conditions and publishes event information, which is routed through the system for display
and logging.
Tag-based alarm moni toring- If you are not using Logix5000 controllers, or if you do not want to use
the pre-built alarm instructions available with RSLogix 5000, tag-based alarm monitoring offers the
equivalent of HMI Tag Alarm Monitoring, but with an expanded feature set. Software-based Tag Alarm
and Event Servers monitor controllers for alarm conditions through data servers and publish event
information for display and logging. Tag-based alarm monitoring is supported for Logix5000 controllers,
PLC-5, and SLC 500 devices communicating through Rockwell Automation Device Servers (RSLinx
Enterprise), or for third-party controllers communicating through OPC data servers.
FactoryTalk Services Platform
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.
FactoryTalk Directory
FactoryTalk Directory centralizes access to system resources (for example, FactoryTalk View SE
Servers, or OPC servers) and names (for example, data tags, graphic displays, and log models), for all of
the FactoryTalk products and components participating in an automated control system.
FactoryTalk Directory software works like a telephone directory, or electronic address book, providing a
lookup service that allows parts of an application to find each other on a single computer, or across a
network.
Through the lookup service, application components such as tags and graphic displays can be stored in
their original environments, and yet be made available to all clients participating in an application.
No duplication is necessary.
FactoryTalk View Site Edition applications use two types of FactoryTalk Directory:
FactoryTalk Local Directory(also called the Local Directory) manages local applications. All local
application components, except for OPC data servers, must be located on the same computer.
FactoryTalk Network Directory(also called the Network Directory) manages network applications.
Network applications can consist of multiple clients and servers, distributed across several computers
connected over a network. One Network Directory manages all of the FactoryTalk products that
participate in a single network application.
Both the Local and the Network Directory are set up on the computer, when you install the FactoryTalk
Services Platform.
14 of 304
7/23/2019 FTV - Lab Manual
15/304
FactoryTalk Administration Console
Start > Programs > Rockwell Software > FactoryTalk Admin ist ration Console
Part of the FactoryTalk Services Platform, FactoryTalk Administration Console is an optional, stand-alonetool for developing applications and managing a FactoryTalk system. You can use FactoryTalk
Administration Console or FactoryTalk View Studio to develop applications and manage a FactoryTalk
system. Only FactoryTalk View Studio can be used to create HMI servers and HMI projects.
FactoryTalk Administration Console allows you to:
Create and configure application, area, and data server elements in a FactoryTalk Directory.
Create and configure alarm and event servers, including both tag-based and device-basedservers.
Configure alarm conditions for tag-based alarm detection.
Organize securable actions into groups.
Create database definitions for logging historical alarm and event messages.
Configure options for routing, logging, and viewing diagnostic messages.
Back up and restore an entire directory, an individual application, or system settings.
Set up redundancy for OPC data servers and Tag Alarm and Event Servers.
Configure client computers to recognize the location of a Network Directory Server computer.
Configure system-wide policy settings.
Secure a FactoryTalk system with security services.
FactoryTalk Activation
Start > Programs > Rockwell Software > FactoryTalk Activation > FactoryTalk ActivationTool
FactoryTalk Activation provides a secure, software-based system for activating Rockwell Software
products and managing software activation files. With FactoryTalk Activation, there is no need for a
physical master disk or any physical media; instead, activation files are generated and distributed
electronically.
FactoryTalk Activation provides these types of activations:
Local node-locked activations are locked to a single computer.
Mobile node-locked activations are locked to a hardware dongle.
Shared concurrent activations are locked to an activation server computer, and shared byclient computers on the network.
There are two types of shared concurrent activation: floating and borrowed. Floating concurrent activation
requires a continuous network connection, while borrowed concurrent activation does not.
15 of 304
7/23/2019 FTV - Lab Manual
16/304
FactoryTalk View SE - Network and Local
Network Applications
A network application can contain several servers, running on multiple computers on a network, with
multiple client users connecting to the application simultaneously, from anywhere on the network. For
example, you may use separate servers for different functional areas or locations within your enterprise,
and allow clients to interface to any of the servers. Network applications have one or more areas (see
Areas definition below), one HMI server per area, and one or more data servers. An area may contain
another area within it.
Once you have created the applications and an HMI server, you can use the FactoryTalk View Studio
editors in the HMI server project to create application components such as graphics displays, global
objects, and data log models.
Areas: A key part of the network architecture system is the area. An areais a logical division withinyour application. You can think of areasas partitions of your hard drive. The partitions are all on thesame main disk (or application, in this analogy), but they divide it logically and hold informationindependently of each other. An area can also be used to organize the application in a way that
makes sense for the process it is controlling.
For example, an area might represent a portion of a process, or a region within the process facility.An automotive plant could be divided into areas called Press and Fabrication, Body Shop, PaintShop, Engine, and Transmission; a bakery could be divided into areas called Ingredients, Mixing,Baking, and Packaging. Alternatively, a plant with identical production lines could be divided intoareas called Line 1, Line 2, Line 3, and so on. This would allow you to add new, identical productionlines to the application by copying HMI server projects into new areas.
Root Area:All FactoryTalk View applications have one system-defined area called the root area,which has the same name as the application. The application root area can contain one HMI server,and one or more data servers.
Best practice
Since an area is nothing more than a logical method of organizing the application, and not a physical
entity, there is not a limit to the number of areas that can reside within an application. However, there is a
limit of 1 HMI server per area and 10 HMI servers per application*.
The recommended limit of data servers within an application is 10*. However, it makes sense to logically
organize the data servers that are serving alarms in order for the alarm summary to filter alarms
appropriately at runtime. For example, a single area may contain an HMI server for a physical location of
a facility, an RSLinx Enterprise data server (configured as a FactoryTalk device based alarm server), and
a 3rd party OPC server (configured with the FactoryTalk tag based alarm server). This configuration
allows for the alarm summary to filter alarms based on the area name, regardless of which server the
alarm comes from.
What you want to avoid is one physical installation of a data server to be referenced multiple times from
different areas of the application. This is not necessary because FactoryTalk allows any client to see any
data point within the application, regardless of which area it comes from.
16 of 304
7/23/2019 FTV - Lab Manual
17/304
This is an example of a FactoryTalk View SE network application.
RootArea
Network
Directory
AreaAreaAreaAreas
HMI ServerHMI ServerHMI ServerHMIServers
Data server
The Insta Corpapplication consists of four different defined areas: ie_packaging, ie_production,
is_packaging , and is_production. The areas are marked by the folders that are right off the root, which
is the application Insta Corp.
Look at one of the areas ie_packaging, the topmost area. Notice that the HMI server called
IE_CasePackis located inside the area.
The folders under the ie_packaging HMI Server titled System, HMI Tags, Graphics, Alarms, Logic and
Control, and Data Log are all different components you can configure under each HMI server they are
not areas within the area, but are actually components of an HMI server.There is a data server called RSLinx Enterpriselocated under the root area (Insta Corp).
17 of 304
7/23/2019 FTV - Lab Manual
18/304
The diagram below shows an example system architecture using a Network application as part of a
distributed FactoryTalk system.
18 of 304
7/23/2019 FTV - Lab Manual
19/304
Local Applications
A local application is similar to an RSView32 project; all application components and the FactoryTalk
View SE client are located on a single computer. There is only one HMI server that is created for you in
the root area when the application is created. You may use local applications for parts of the plant or
process that are self-contained and are not related to other parts of the process.
The diagram below shows an example system architecture using a Local application as part of a stand-
alone FactoryTalk system.
19 of 304
7/23/2019 FTV - Lab Manual
20/304
Creating a new FactoryTalk View SE application
Here are the general steps for creating an application:
1) Create a local or network application
2) If its a network application, add one or more Areas
3) If its a network application, one HMI server can be added per area (local creates oneautomatically). Choose to add any of the faceplate displays into the HMI server.
4) Set up data server communications. Add one or more of the following data servers
a. Rockwell Automation Device Server
b. OPC Data server
5) Set up Tag Alarm and Event Server
6) Create graphic displays, global objects, and other components into your HMI server
7) Set up historical FactoryTalk alarm and event logging
8) Set up Security
9) Set up a run-time FactoryTalk View SE Client
20 of 304
7/23/2019 FTV - Lab Manual
21/304
Section 1: Create and run a simple application
FactoryTalk View Site Edition (SE) can be used to develop and run applications that involve single or
multiple users and servers and can be distributed over a network or can be local to a single computer.
The two types of SE applications are explained below:
1. FactoryTalk View SE Local (Station) - A local application is similar to an RSView32 project; all
application components and the FactoryTalk View SE client are located on a single computer.
There is only one HMI server that is created for you in the root area when the application is
created. You may use local applications for parts of the plant or process that are self-contained
and are not related to other parts of the process.
2. FactoryTalk View SE Network (Distributed) - A network application can contain several servers,
running on multiple computers on a network, with multiple client users connecting to theapplication simultaneously, from anywhere on the network. For example, you may use separate
servers for different functional areas or locations within your enterprise, and allow clients to
interface to any of the servers. Network applications have one or more areas, one HMI server per
area, and one or more data servers. An area may contain another area within it.
You can use FactoryTalk View Studio to create application components such as graphics
displays, global objects, alarms and data log models.
In this lab we will create and run a networkFactoryTalk View SE application.
About this sect ion
In this section of the lab you will:
Create a Network Application called InstantFizz
Add an area calledArea1
Add an HMI Server withinArea1 calledInstantFizz_HMIServer
Add Process Faceplate Displays into your HMI Project
Add a data server called RSLinx Enterprise
Configure a Communications path called shortcut that will point to the SoftLogix controller
Verify communications
Create a display, add a numeric display object
Test the display
This entire section must be completed prior to doing any other sections in this lab.
Creating a network HMI project in FactoryTalk View Studio
We are creating a network application, which supports multiple HMI, Data servers and clients distributed
21 of 304
7/23/2019 FTV - Lab Manual
22/304
across a network. As explained in detail in the Overview section, a network application requires a
Network FactoryTalk Directory to be configured. The configuration of the FactoryTalk Directory is
generally done during the install, but it can be configured subsequently using the FactoryTalk Directory
Configuration Wizard from Start > All Programs > Rockwell Software > FactoryTalk Tools >
FactoryTalk Directory Configuration Wizard.
Once the FactoryTalk Directory has been configured you can specify what computer will be hosting the
Directory. The defaultlocation of the FactoryTalk Directory is the local computer, but it can be any
computer on your network. Note: For a FactoryTalk View Local application, the Local FactoryTalk
Directory must be used.
Specify the FactoryTalk Directory location
1. Specify the FactoryTalk Directory location.
Go to Start > Programs > Rockwell Software > FactoryTalk Tools > Specify FactoryTalk
Directory Location.
Note:In order to specify the FactoryTalk Directory Location you must have administrator rights.During the install of the FactoryTalk Services Platform, the Windows Administrator and
Administrator groups are automatically added to the Network FactoryTalk Directory. Hence, you
can login with any user belonging to either of these groups.
2. The Specify FactoryTalk Directory Server Location Utilitywill open. In this lab we will set the
FactoryTalk Directory Location to the local computer (localhost). In a FactoryTalk View SE
Network application, the FactoryTalk Directory can be located on any computer on the network
that has the FactoryTalk Services Platform installed. Use this utility to modify the location of your
FactoryTalk Directory. Follow steps ato bto specify the FactoryTalk Directory Location.
b. Click OKtoclose.
a. Ensure the FactoryTalkDirectory Server Location isset to localhost.
22 of 304
7/23/2019 FTV - Lab Manual
23/304
Create a new FactoryTalk View SE (Network) application
1. Run FactoryTalk View Studio. Select the Start > Programs > Rockwell Software > FactoryTalk
View > FactoryTalk View Studio menu item.
Select FactoryTalkView Studio
2. Create a Network application called InstantFizzby following steps a to f. You will be prompted
with the following dialog:
23 of 304
7/23/2019 FTV - Lab Manual
24/304
b. SelectContinue
a. Select SiteEdition (Network)
c. SelectNew tab.
e. Ensure Englishlanguage is selected.
d. TypeInstantFizz
f. SelectCreate.
Wait for several seconds to allow FactoryTalk View Studio to create the application.
Add an Area to the application
1. Follow steps a to c to add an Area calledArea1.
24 of 304
7/23/2019 FTV - Lab Manual
25/304
Note: the first line in the Explorer Window: Network (LOCALHOST) indicates that we are creating a
Network (Distributed) application and the FactoryTalk Directory is located on the local computer
(LOCALHOST).
a. Right-click onInstantFizzandselect New Area.
b. Type areaname:Area1.
c. Click OKtocomplete.
25 of 304
7/23/2019 FTV - Lab Manual
26/304
Add an HMI Server to the application
1. Followsteps a to g to add an HMI Server to the application.
a. Expand InstantFizz tosee theArea1icon.
b.Right-click onArea1, goto Add New Server thenselect HMI Server .
c. Select Create anew HMI Server .
d. Select Next.
26 of 304
7/23/2019 FTV - Lab Manual
27/304
Note:The HMI Server will take a few moments to load.
HMI Backup/Restore utility now ins talls with the product
The HMI Backup/Restore utility now installs with the product and includes additional improvements. Thisutility was previously available on the Knowledgebase only. This HMI Backup/Restore utility provides ameans to backup and/or restore any HMI server run in a distributed SE application. The utility provides asimple graphic user interface that follows a step-by-step process to backup or restore a server.
To open, go to Start > Programs > Rockwell Software > FactoryTalk View > Tools > HMI ServerBackup and Restore:
f. Choose which computer will hostthe HMI Server. It can be anycomputer on your network. For thislab, leave this as the localcom uter default settin .
g. Click Finishtocomplete.
e.Type the HMI Server name:InstantFizz_HMIServer.
27 of 304
7/23/2019 FTV - Lab Manual
28/304
Add Process Faceplates into the HMI Server
When you add an HMI server to a network application, or when you create a new local application, you
have the option to add the process faceplate displays that are installed with FactoryTalk View SE. The
Add Process Faceplates Dialog box will open, if its set to display when you create a new HMI server.
1. Select the Clear A llbutton.
2. Check the boxes for these display types:
Discrete 2-State Device D2SD
Help Help Browser
Your dialog window should look like this:
3. Click the OKbutton.
4. Observe that a network application, InstantFizzhas been created. The HMI Server called
InstantFizz_HMIServerhas been created under the areaArea1.
5. Maximize or resize your FactoryTalk View Studio window to the desired size for working with your
application.
28 of 304
7/23/2019 FTV - Lab Manual
29/304
Process Faceplate Updates
When you add an HMI server to a network application, or when you create a new local application, you
have the option to add the process faceplate displays that are installed with FactoryTalk View SE. TheAdd Process Faceplates Dialog box will open, if its set to display when you create a new HMI server. Ifyou dont want to add faceplates, click Cancel to close the dialog box, without affecting HMI servercreation. If you dont want to be prompted every time you create an HMI Server, uncheck the option toDisplay this dialog when creating a new application.
After you create the application or HMI server you can still add process faceplates by right-clicking on theHMI server and then selecting the Add Process Faceplates menu item. If you added a display previously,you can either replace the existing display or remove it from the list of displays.
Note: Adding faceplate displays to an application affects the license count. Each added faceplate display(.gfx file) counts as one display for activation purposes.
Faceplates (V17)
The Internal Model Control IMC, Coordinated Control CC and Modular Multivariable Control (MMC)faceplates are preconfigured to work with the newer RSLogix 5000 instructions that are available in V 17or later. These faceplates along with the existing ones can be used as is or changed to suit your needs.
Translated Faceplates
Moreover all built-in faceplates have been translated to several languages: English, French, Spanish,German, Chinese and Japanese.
Add a data server
To allow our application to monitor and control the values within the SoftLogix Controller that is running
the control program for this lab you need to add a data server. You will be adding a Rockwell Automation
Device Servers (RSLinx Enterprise). It provides the best performance when communicating with
Logix5000 controllers.
To monitor alarms in a Logix5000 controller, a Rockwell Automation Device Server (RSLinx Enterprise)
needs to be added to a FactoryTalk application.
1. Right-click on the areaArea1, select theAdd New Server > Rockwell Automation Device Server
(RSLinx Enterprise)context menu item.
2.
29 of 304
7/23/2019 FTV - Lab Manual
30/304
Note:For this lab we are adding the RSLinx Enterprise data server to the areaArea1. This is
for demonstration purposes and not recommended. Read the Area Best Practices paragraph in the
Overviewsection for other alternatives in a distributed application.
3. The RSLinx Enterprise Server Properties will appear. Leave the defaults on the General tab.
Note:The RSLinx Enterprise Server Properties window is also used to configure Data Server
redundancy and FactoryTalk Alarms and Events.
a. Identify the computer that will host theRSLinx Enterprise data server. For thislab, RSLinx Enterprise will be hosted onthe local computer (default setting).
4. Enable Alarms and Events by following steps a-d. The FactoryTalk Alarms and Events will bediscussed in more detail during the Alarming section.
30 of 304
7/23/2019 FTV - Lab Manual
31/304
a.SelecttheAlarms and Eventstab
b. Check the Enable alarm and
event suppor toption
c. Un-check the Enable history
button.
d. Clickthe OKbutton.
4. Verify that the RSLinx Enterprisedevice server has been successfully added into your application.
Configure Communications
We are going to now configure a device shortcut.
31 of 304
7/23/2019 FTV - Lab Manual
32/304
Device Shortcuts:A Device Shortcut allows you to create a pointer to a device that you can refer tothroughout the application while developing displays. This enables the user to change the location of aprocessor or other such device in one place, which then propagates throughout the rest of the project,without having to change all tag references to that processor. A device shortcut is similar to a Windowsshortcut on your computers desktop that provides easy access to an application.
Communications Setup Editor Improvements
Offline tag browsing no longer requires you to associate the device shortcut with a controller. In previousreleases, you were required to associate a shortcut with both a controller and an offline tag file to be ableto browse the tags in the offline tag file. You can now create a shortcut that is associated only with theoffline tag file if all you want to do is browse tags in that file.
The Communication Setup editor has been enhanced to prevent the creation of shortcuts that point todevices that do not provide data (such as communication modules and backplanes).
The Communication Setup editor now provides status messages about shortcuts as you create them aswell as a summary of all messages via a shortcut verification report.
The Communication Setup editor has a new option for enabling alarm and event support at the device
level.
Warnings have been added to FactoryTalk to tell users if making an edit in the development environmentwill adversely affect the run-time system. If the change is made through a dialog box, this warning icon
appears next to the component where the edit can be made.
1. Open the Communication Setup.Expand the RSLinx Enterprisedevice server. Double-click onCommunication Setup.
The Communication Setupdialog will appear to the right of the Explorer tree.
32 of 304
7/23/2019 FTV - Lab Manual
33/304
2. Add a Device Shortcut by following steps a-b.
a. ClicktheAddbutton
b. Typetheshortcut nameShortcut.
3. Browse to the controller.Expand the EtherNet node to see the controller at IP address 192.168.1.1and expand the Backplane under it.
Select 4, 1789-L60/A, InstantFizz_Controller.
Note: 4 is the slot number of the SoftLogix module in the chassis that is to be used for this lab. TheFactoryTalk View ME lab uses the controller at slot 2, do not select it.
33 of 304
7/23/2019 FTV - Lab Manual
34/304
4. Add an Offline Tag File. Click the Browsebutton next to the Offline Tag Fileentry field. Browse toC:\Lab Files\FTView SE\InstantFizz-Lab Files\RSLogix 5000\ folder. Select theInstantFizz_Controller.ACDfile. Click the Openbutton.
Browse to theC:\Lab Files\FTViewSE\InstantFizz-Lab Files\RSLogix5000\ folder and selectInstantFizz_Controller.ACD file.
Offline Tag Browsing
The offline tag file will enable you to browse a ControlLogix controller's tags when that controller is notonline. The file must be located on the local PC, not on a networked location.
Because its possible to have many application shortcuts configured to different controllers, you must
also enable Alarm and Events on your application shortcut to enable which controller you would like
to receive alarming information from.
34 of 304
7/23/2019 FTV - Lab Manual
35/304
5. Enable Alarm and Events by selecting Yesfrom the pull-down menu.
Set Enable Alarms &Events to Yes.
6. Apply the settings to the device shortcut Shortcut by followingsteps a-c.
a. Ensure Shortcut
is highlighted.
b. Ensure 4, 1789-L60/A,InstantFizz_Controller isselected.
c. Click theApplybutton toapply the shortcut settings.
The following RSLinx Enterprise prompt will appear. The prompt lists all the changes made to the
shortcut. Make sure your shortcut is set to Shortcutas we will be using pre-configured displays
35 of 304
7/23/2019 FTV - Lab Manual
36/304
referencing that shortcut name. Compare your prompt to the one below. If it matches select Yesto
apply the changes.
Select Yestocomplete.
7. To verify communications at any time, select the Verifybutton at the bottom of the CommunicationsSetupwindow.
The Verify dialog will appear. Review your changes. Click the Closebutton.
8. Click OKon the Communications Setup dialog to close.
Your device shortcut has been created.
36 of 304
7/23/2019 FTV - Lab Manual
37/304
Create a display and add a numeric display object
Lets take a minute to verify that communications is setup correctly. Verify that you are communicating by
adding a Numeric Display Object to a display and then test that display in FactoryTalk View Studio. Verify
that you can access controller tags from the online SoftLogix Controller and the offline tags file by
performing tag browses. In the Explorer, right-click on the Displayfolder, selectthe Newcontext menu
item:
An untitled display will be opened.
1. Single-click to select the Numeric Inputobject from Objects > Numeric and String > NumericInput.
2. On the empty display, single-click and hold down the mouse button, dragthe cursor to draw thenumeric input and release the mouse button. As you are dragging the mouse you will see arectangle to show the size of the object that will be created.
37 of 304
7/23/2019 FTV - Lab Manual
38/304
3. When you release, the Numeric Input Properties dialog will appear.
Numeric Input Min and Max
Numeric input object allows for user-assigned minimum and maximum values that are validated prior todownload.
4. Clickon the Connections tab.
5. Click on the Tagsbutton next to the Value field.
38 of 304
7/23/2019 FTV - Lab Manual
39/304
6. The Tag Browser will open. If you dont see a folder for Shortcut, right-click on InstantFizz, selectthe Refresh All Folderscontext menu item.
7. Expand the Shortcutfolder, then notice two sub-folders - Onlineand Offline. The Online folder
references the tags of the online controller that the shortcut is pointing to (such as our SoftLogix
controller). The Offline folder references the tags in the ControlLogix controller file (.ACD). Use
the Offline tag browsing and Offline Tag File in the RSLinx Enterprise Communications Setupwhen the online controller is not available, and you only have access to the controller file (.ACD).
Follow steps a to b to select the MixStepstag.
a. Select theOnline folder. b. Select the
MixStepstag,
then click OK.
39 of 304
7/23/2019 FTV - Lab Manual
40/304
8. The tag will appear in the Tag/Expressionfield next to the Value. Your selected tag should look
like this:
9. Click the OKbutton on the Numeric Input Properties dialog.
10. After adding an object to our display, we can verify the communications to our controller and Testthe display.
Single-click on the TestDisplay button from thetool menu.
11. A value (ex. 7) should appear on the display. This actually verifies that you got the tag from theonline tag file and you are online with the controller. If you were not online with the controller, itwould appear as what is called a wireframe, because the data is not available at this time. Itwould look something like this instead:
12. Click the Edit Displaybutton to get back to edit mode.
40 of 304
7/23/2019 FTV - Lab Manual
41/304
13. Close the display, and when prompted to save your changes select No.
Section 1 is complete. You have created a simple network application. You have the building blocks in
place and are ready to start creating your graphic displays.
41 of 304
7/23/2019 FTV - Lab Manual
42/304
Section 2: Importing application components
About this sect ionIn this section of the lab you will:
Import pre-configured Displays, Global Objects, Images, and Macros
FactoryTalk View SE allows you to import and export individual or all HMI Server components, including
Displays, Alarms, Local Messages, Images, Parameter Files, Data Logs etc.
The graphic displays are stored in gfx files. GFX files can only be modified (in this format) when imported
in FactoryTalk View Studio. You can import a display from one application to another by adding the .gfx
files.
Following is the Application Explorer window that is used throughout this entire hands-on lab. The
Explorer allows you to select different objects, displays, and other components of the FactoryTalk ViewSE application.
42 of 304
7/23/2019 FTV - Lab Manual
43/304
43 of 304
Adding preconf igured HMI components:There are preconfigured HMI components (i.e., Displays and macros) that will be used in this lab. Do the
following to add them to the HMI Server.
1. Right-click on Displaysand select Add Component Into Application
2. Browse to C:\Lab Files\FTView SE\InstantFizz Lab Files\Graphic Displays and add the
displays by following steps a-b.
NetworkDirectory
Application
HMI Server
Displays
Global Objects
Area within theApplication
RSLinx EnterpriseData Server
ImagesSymbol Factory
Library
7/23/2019 FTV - Lab Manual
44/304
You have now added the preconfigured graphical displays. Some of the graphic displays have
global objects. Add pre-created Global Object displays next. You can learn about Global Objects
in Section 6.
a. Select allthe GFXfiles in this folder,then click Open.
b. The graphic displayswill be migrated. This maytake about a minute.
3. Right-click on Global Objectsandselect theAdd Component Into Applicat ion.context
menu item.
4. Browse to C:\Lab Files\FTView SE\InstantFizz - Lab Files\Global Objects, select the
CIPComponents.ggfx file and click Open.
Some of the displays reference external images (JPG, bmp etc). The next few steps will show
44 of 304
7/23/2019 FTV - Lab Manual
45/304
you how to import these images into your application.
5. Right-click on Imagesand select Add Component Into Application
6. Browse to C:\Lab Files\FTView SE\InstantFizz Lab Files\Images to add the images
It will take about a minute to import all the graphics files.
You have added the preconfigured graphical displays and the corresponding images. The next
two steps will show you how to add the pre-configured startup macro into your application. You
can learn more about macros in Section 4.
7. Select all the .bmpfiles in this folder,then click Open.
8. Right-click on Macrosand select Add Component Into Application
45 of 304
7/23/2019 FTV - Lab Manual
46/304
9. Browse to C:\Lab Files\FTView SE\InstantFizz Lab Files\ and select startup.mcr. ClickOpen
to import the pre-configured macro.
Section 3: Tags
About this section
In this section of the lab you will:
Create an HMI tag
Import and Export tags
Add an object and reference an HMI tag
Learn about Tag Labels
Creating an HMI tag
Lets create a tag in the tag database.
1. Open the Tag database from the HMI Server, InstantFizz_HMIServer. Follow steps a-i to add an
HMI tag in a folder.
While the tag database is open, select the Edit menu item to create a new folder.
a. Double-click on Tagsfrom the HMI Tagsfolder to open the tagdatabase.
46 of 304
7/23/2019 FTV - Lab Manual
47/304
b.Click on the Editmenuitem, then select NewFolder.
Note:This menu item can be used to Add, Delete, Duplicate and Rename Tag Database folders.
Another major use is the Other Databases menu item, which allows you to import tags from other
databases such as the RSLogix 5/500 controller files (.rss, .rsp).
c. Type the new foldername CIP thenclick OK.
Setup the new tag properties as shown below :
e. Type the new tagname WaterAmount.
f. Choose the tag TypeasAnalog . HMI tags
can be Analog, Digitalor String Type.
47 of 304
7/23/2019 FTV - Lab Manual
48/304
g. Typethe tagdescri tion.
d. Ensure theCIP folderis selected. We wantto create a tag in thisfolder.
h. Choosethe Min,Max, Scale, OffsetandUnits as shown.
i. Clickon the ellipses button to
open the tag browser. Thenbrowse to the following onlinetag:SodaCIPTanks.Water.Value.
2. ClickAcceptto complete.
48 of 304
7/23/2019 FTV - Lab Manual
49/304
3. The tag database also allows you to search for tags. Followsteps a-b to search for a tag.
b. Click Closetoexit the tagdatabase.
a. You can search for any tag in the tagdatabase using the Search For field.Highlight the root folderthen Typethe word System\Second to searchfor a predefined memory tag thenpress Enter.
Import/Export Tags WizardLet us import tags that were pre-created using the Tag Impor t/Export Wizard. Use the Tag Import and
Export Wizard to convert databases to and from a CSV (Comma Separated Variable) format compatible
with Excel. You can also merge one FactoryTalk View tag database with another tag database and import
an A.I. Series or Logic 5 text database.
To successfully import tags, the application you are importing tags into must be open in FactoryTalk View
Studio.
Import & Export Choices:
There are several Import / Export options as shown in the Tag Import/Export Wizard.
49 of 304
7/23/2019 FTV - Lab Manual
50/304
- Export a FactoryTalk View tag database to CSV files
Exports a FactoryTalk View tag database to CSV files.
- Import FactoryTalk View tag CSV files
Imports tag information from CSV files into a FactoryTalk View database. You can create
your tags in Excel then import them into the project using this setting in the Tag
Import/Export Wizard
- Merge FactoryTalk View tag database
Merges tag information from one FactoryTalk View project with another FactoryTalk View
database.
- Import A.I. Series or Logic 5 database files
Imports symbols from the Rockwell Software A.I. Series or Logic 5 CSV format into a
FactoryTalk View database.
- Import RSLogix5/500 Address & Symbol ASCII files
Imports symbols from the ASCII export file of RSLogix5 or RSLogix 500 into a
FactoryTalk View database.
50 of 304
7/23/2019 FTV - Lab Manual
51/304
1. Review the pre-created CSV fileAddi tional_Tags.csv fromC:\Lab Files\FTView
SE\InstantFizz Lab Files\
Open the pre-created CSV file with pre-created HMI tags. Go to C:\Lab Files\FTViewSE\InstantFizz Lab Files\ and double-clickonAdditional_Tags.csv. Review the file andnote the Excel column/row format used.You can add and modify tags and folders inExcel, then import them into your application.
2. Close Excel without saving.
3. Return to FactoryTalk View Studio and open the Tag Impor t/Export Wizardfrom the Tools
menu.
4. Select the Import FactoryTalk View tag CSV files option from the drop-down and then click
Next.
51 of 304
7/23/2019 FTV - Lab Manual
52/304
5. Select Site Editionas Project Type.
6. Browse to our HMI project underC:\Documents and Settings\AllUsers\Shared Documents \RSViewEnterprise\SE\HMIProjects\InstantFizz_HMIServer\.Select thefile InstantFizz_HMIServer.sed.
7. Select Next tocontinue.
8. Make sure Tagsis checked.Select the pre-created CSVfile to import from C:\LabFiles\FTViewSE\InstantFizz LabFiles\Additional_Tags.CSV
9. Select Next tocontinue.
52 of 304
7/23/2019 FTV - Lab Manual
53/304
10. You can skip existingtags or update existingtags. Leave the
defaultfor our lab.
11. Select Next tocontinue.
12. Select Finish tocomplete.
53 of 304
7/23/2019 FTV - Lab Manual
54/304
13. View the resultsof theDatabase Import, thenclick Xto close.
We have now imported the pre-created tags into our appli cation.
14. Open the tag database editor by double-clicking on Tags to view our imported tags.
54 of 304
7/23/2019 FTV - Lab Manual
55/304
15. Double-click on CIP and notethe new folders and tagsadded to our tag database viathe Tag Import/Export Wizard.
16. Click Closeto close the Tag database.
Add an object referencing an HMI tag
1. Open a new display.
An untitled display will be opened.
2. Single-click to select the Numeric Displayobject from Objects > Numeric and String > Numeric
Display.
55 of 304
7/23/2019 FTV - Lab Manual
56/304
3. On the empty display, single-click and hold down the mouse button, dragthe cursor to draw thenumeric display and release the mouse button. As you are dragging the mouse you will see a
rectangle to show the size of the object that will be created:
4. The Numeric Display Propertieswindow will open:
4. Select Tagsto openthe Tag Browser and finda tag to reference.
56 of 304
7/23/2019 FTV - Lab Manual
57/304
5. The same Tag Browser window is used to browse for HMI Tags, Direct Reference Tags
associated with an online and offline controller, Diagnostic Itemsand pre-defined System tags.
Let us review the Tag Browser.
6. CIPand RapidMix arefolders created in the HMITag Database.
7. Shortcut is the device shortcutassociated with the SoftLogix controller.It contains all the direct reference tagsto the controller.- Diagnostic Items:Pre-defineddiagnostics tags to Logix controllers,
such as @Mode, which indicates thecurrent mode of the controller (Run,Program, Remote)- Offline:Direct reference tags to theOffline Tag File that was associatedwith the Shortcut
8. Systemcontains thepre-defined memory tagsand are stored in the HMIServer. For example,System\Second.
- Online: Direct reference tags to thecontroller.
Structured Tag Support inFactoryTalk Tag Browser
The tag browser lets you select a structure tag in the left-hand pane of the object browser and return apartial tag identifier to the editor that launched the browser. This structure tag can be assigned to afaceplate object to supply values to multiple objects.
9. Browse to the HMI tag RapidMix\WaterAmount.
57 of 304
7/23/2019 FTV - Lab Manual
58/304
10. Expand theRapidMix folder, thenselect WaterAmount and clickOK.
11. The tag has been added to theobject. ClickApply then OK to exit.
12. Add a Tag Label object on the same display to the right of the Numeric Display object.
Use label objects to display information about a tag's properties at run time. You can display the value
of one property per tag label. The properties include: Low EU (tags Minimum Value), High EU (tag
Maximum Value), Contact Value (tag Status), Engineering Units (EU) (tag Units), Tag Name, Tag
Description, Contact Open Label (tag Off Label), Contact Close Label (tag On Label).
58 of 304
7/23/2019 FTV - Lab Manual
59/304
13. The Tag Label Properties window will open. Set up the properties as shown below. Browse to the
same RapidMix\WaterAmount tag and set the Property to Engineering Units (EU).
14. Click OKto close.
59 of 304
7/23/2019 FTV - Lab Manual
60/304
15. Test the display.
15. Single-clickon theTest Displaybuttonfrom the tool menu.
16. Review the display.
17. The Numeric Displayobject will display thecurrent valueof theRapidMix\WaterAmountHMI Tag and the Tag Labelwill display the defined
Engineering Unitsof theHMI Tag.
Note:The Tag Label object only works with HMI Tags, because we defined the properties (such as Units)
of this tag in the HMI Tag Database. It does not work with direct references. To display the engineering
units of a direct reference you can add a Text Object and type the applicable units.
18. Click the Edit Displaybutton to get back to edit mode.
19. Close the display without saving.
60 of 304
7/23/2019 FTV - Lab Manual
61/304
Section 4: Graphic Displays, Objects and Animations
About this section
In this section of the lab you will:
Configure and use Animations and Expressions
Use Commands
To help with the navigation within FactoryTalk View Studio for the components used in this section, you
can again refer to the Application Explorer image from Section 2.
Read about Graphic Displays
Types of Graphic Displays
Standard Displays- stored in the Displays folder. These are the displays that the operator sees at runtime. They present views of automated plant activity or processes. They can show system or processdata and provide operators with a way to write values to a real-time database or network devices such asa controller.
Global Object Displays- stored in the Global Objects folder. Global object displays let you link theappearance and behavior of a graphic object on a global object display to multiple copies of that object instandard displays. When you make changes to the original object, the changes are automatically appliedto the copies.
Library Displays- stored in the Libraries folder. A library display contains ready-made graphic objects
that you can use in other displays.
A graphic display represents the operators view of plant activity. The display can show system or process
data, and provide operators with a way to write values to external devices such as programmable
controllers. The elements that make up a graphic display are called graphic objects. The Objects menu in
the Graphic Displays editor (Figure 1) provides simple drawing elements such as line, rectangle and
ellipse, as well as ready-made objects such as push buttons, input and display fields, and alarm
summaries. Use these elements to create visual representations of processes and activities then animate
the display by linking objects to tags so that the appearance of the objects will change as the values of
the tags change.
The graphics editor allows you to easily duplicate objects, reshape or resize objects, and arrange them in
a variety of ways like stacking them, aligning them with each other, spacing them horizontally or vertically,
flipping them horizontally or vertically, rotating them, and grouping them so they behave as a single
object. Graphic objects can be:
Created using the Graphic Display editor.
Copied and pasted from the Graphics Libraries.
Copied to the clipboard from another Windows application and then pasted into the graphics
display.
61 of 304
7/23/2019 FTV - Lab Manual
62/304
Created by another Windows application and inserted into the graphic display using object linking
and embedding.
Dragged and dropped from another graphic display or library, or another Windows application.
Figure 1: Objects Menu
Graphic Libraries
FactoryTalk View SE V6.0 will offer a new graphics library called Symbol Factory while still offering the
previously available Libraries.
Symbol Factory
Symbol Factory is a new graphics library interface that can be launched from FactoryTalk View Studio
v6.0. It is a common library between FactoryTalk View Machine Edition and Site Edition. Symbol Factory
is built on Software Toolboxs Symbol Factory , and contains over 5,000 graphical objects.
Approximately 4,000 of these are grouped object based graphics with the remainder being static bitmaps.
The Symbol Factorylibrary supports drag-and-drop and copy/paste onto a native FactoryTalk View
display.
As stated earlier, the V5.1version used in this lab has been modifiedto use this library.
62 of 304
7/23/2019 FTV - Lab Manual
63/304
Libraries
The Graphics Library comes with a number of ready-made graphic displays containing objects that you
can use in other displays.
There are many different library objects that you can use within your applications.
Note:any animation that has been attached to an object will be included with it when it is copied into a
display.
Modify an XML file
In FactoryTalk View Studio, you can also use the Graphics Import Export Wizard to export graphic display
information to an XML file, or to import a graphic display XML file into an application. XML has a
standardized format and structure. You can modify the elements and attributes of a graphic display by
changing them, or by adding new ones, in the XML file.
You can edit the XML files before importing them back into an application, to modify existing graphic
objects, or to add new objects to a display.
You can create or edit graphic displays independent of FactoryTalk View Studio, including display
settings, objects, object properties, connections, animations, groupings, key assignments etc.
In the previous section we have imported a few pre-configured graphic displays. Next, we will modify one
of these displays by modifying a pre-exported XML file.
1. Expand Displays and then double-click on the CIP Process Steps display to open.
63 of 304
7/23/2019 FTV - Lab Manual
64/304
We will modify Step 1text of this display inthe XML file. Currently,the text displays Step1: Adding H2O .
2. Close the display CIP Process Steps without saving.
3. Go toC:\Lab Files\FTView SE\InstantFizz Lab Files\ thendouble-click to open the pre-
exported XML file CIP Process Steps.xml .
The xml file will open in Internet Explorer.
64 of 304
7/23/2019 FTV - Lab Manual
65/304
Review the XML file. The filecontains all the objects andobject attributes that arecontained in the CIP Process Steps display.
4. To modify the file we must open it up in Notepad. Close the Internet Explorer file.
5. Right-click on the pre-exported XML file CIP Process Steps.xml from C:\Lab Files\FTView
SE\InstantFizz Lab Files\,then selectOpen With and choose Notepad.
The file will now open in Notepad:
6. We will change the text Step 1: Adding H2O to Step 1: Adding Water.
65 of 304
7/23/2019 FTV - Lab Manual
66/304
7. In the Notepad file,select the Editmenu item,then clickReplace.
8. Fill the Replace window as follows then click the Replace All button.
9. Typethe text asindicated, press theReplace All button, thenclickCancelto exit. TheFind Whattext is letter H,number 2and letter O.
10. Save the file from File>Savethen Exit.
11. Lets import the modified display.
Right-click on Displaysand select Import and Export.
66 of 304
7/23/2019 FTV - Lab Manual
67/304
Select Import graphic information into displays ,then select Next.
12. Select No,then click Next.
67 of 304
7/23/2019 FTV - Lab Manual
68/304
13. Select Single Display Import File,then click Next.
14. Configure the window as shown below. The XML file to import can be found in C:\Lab
Files\FTView SE\InstantFizz Lab Files\CIP Process Steps.xml . This is the file we have just
modified.
68 of 304
7/23/2019 FTV - Lab Manual
69/304
15. Click Finish to complete the import.
16. The Graphics Import Export Wizard provides a status fileon the success of the import/export:
17. Close theDisplaysImport.txtfile before continuing.
69 of 304
7/23/2019 FTV - Lab Manual
70/304
18. Lets review the modified display. Now, open the CIP Process Steps display by double-clicking
on it from the Displays item in FactoryTalk View Studio.
19. Review the display.The text has beenchanged from H2OtoWater.
Note:In this example it would have been easier to simple change the text in the display within
FactoryTalk View Studio. There are applications however, in which you may need to automatically create
many objects and/or displays. Creating them in an XML file can save a lot of engineering time.
70 of 304
7/23/2019 FTV - Lab Manual
71/304
Tooltips
To provide information about a graphic object to an operator, you can add a tooltip to objects:
Tooltips can be added to graphical objects
Tooltips supports embedded variables
Language switching is supported on tooltip text
By default, an object has no tooltip. If you add a tooltip, it displays at run time, when the operator
positions the pointer over the object for a few seconds.
Parameter Enhancements
Added parameter enhancements provide support for embedded variables in tooltips and title bars;literal numbers and strings in the embedded variable syntax; and display for the right-most characters inembedded string variables.
In this lab we will add a Numeric Input object to show a tooltip example.
1. Open the CIP Process Steps display (it should already be open.)
2. We will add a Numeric Inputobject to the CIP Process Steps display.
3. From the Objectsmenu, select Numeric
and String, then clickon Numeric Input.
4. Add the Numeric Inputobject in the display location shown below.
71 of 304
7/23/2019 FTV - Lab Manual
72/304
5. Configure the Numeric Input Propertiesas shown below by following steps a-d.
a. Select theConnections tab.
b.Click on the ellipsesbutton to browseand addthe Value tag:{[shortcut]SodaCIPTanks.RecoveredWater.Value
c.Clickon the ellipsesbutton to browseand addthe Minimum tag:{[shortcut]SodaCIPTanks.RecoveredWater.Minimumd.Clickon the ellipses
button to browseand addthe Maximum tag:{[shortcut]SodaCIPTanks.RecoveredWater.Maximum
Tag Browser to select the Value, Minimum and Maximum tags:
72 of 304
7/23/2019 FTV - Lab Manual
73/304
6. Click OK to close.
7. Save the display.
73 of 304
7/23/2019 FTV - Lab Manual
74/304
8. Test the display
Single-click on the TestDisplaybutton from theTool menu.
9. We have specified the Minimum and Maximum values for the Numeric Input Object. Lets write avalue 22000 into our object.This value has to be higher than the Minimum and lower than theMaximum values.
Type 22000 thenpress Enter.
The object background will turn red indicating that the value enter is outside the valid minimum
and maximum bounds.
How will the operator know whatthe valid bounds are? Add a tooltip!
10. Click the Edit Displaybutton to get back to edit mode.
11. Double-click on the Numeric Input object to open up its properties. Or right-click and selectProperties .
12. Add a Tooltip by following steps a-e.
74 of 304
7/23/2019 FTV - Lab Manual
75/304
a. Select theCommontab.
b. Type Minimum: in the ToolTipText area .
c.Click on InsertVariable and selectNumeric to add avariable.
d. Browse to the{[shortcut]SodaCIPTanks.RecoveredWater.Minimum}tag.
e. ClickOK.
13. Repeat steps a-e to add the Maximum information as well. The Maximum tag to browse to is
{[shortcut]SodaCIPTanks.RecoveredWater.Maximum}.
The final ToolTip text should look as follows:
75 of 304
7/23/2019 FTV - Lab Manual
76/304
ClickOK.
14. Save the display.Click Save Icon
15. Test the display.
Single-click on the TestDisplaybutton from theTool menu.
76 of 304
7/23/2019 FTV - Lab Manual
77/304
16. Lets try this again. Write a value 22000 into our object.Type 22000 thenpress Enter.
Again, the object background will turn red indicating that the value enter is outside the validminimum and maximum bounds.
17. Hover the mouse over the object and you should see our tooltip text indicating the proper valuebounds.
Hover mouseoverthe Numeric Inputobject and observethe Tooltip text!
18. Click the Edit Displaybutton to get back to edit mode.
19. Closethe display CIP Process Steps .
Docked displays
Docked Displays
At run time, graphic displays can be docked to an edge of the FactoryTalk View SE Client window,allowing an operator to gain access to certain displays at all times. Docked displays cannot beaccidentally closed by the operator and cannot have other graphics placed on top. They will, therefore,always remain visible to the operator.
For example, you might consider docking:
Navigational menus - that allow the operator to move among displays in an application.
Headers or banners - that provide specific information to the operator, such as the current usersname and area, or information about alarms.
Control panels - that contain standard buttons for special purposes, such as changing users, closingopen windows, or sending information to a maintenance team.
77 of 304
7/23/2019 FTV - Lab Manual
78/304
In this lab we will use docked displays for navigational menus and as an alarm banner. The dockeddisplay will be visible to the operator at all times.
1. Open the display Navigation. This will be the first docked display.
2. OpentheAlarm Bannerdisplay. This will be our second docked display.
3. To dock a display to an edge of the SE Client window, after the client starts up, we will use astart-up macro that utilizes a display command.
A macro is a list of commands or command symbols stored in a text file. To run a macro you useits name just as you would a command. The commands in the macro will be executed in the orderin which they are listed.
78 of 304
7/23/2019 FTV - Lab Manual
79/304
A macro can be specified on startup or shutdown of a client or display. It can be called from a
command line in FactoryTalk View Studio, from a button or from the Factory Talk View
Administration Console for system administration.
FactoryTalk View has multi-tasking capabilities that you can take advantage of when you create
macros.
Some commands (such as Print) finish quickly and the next command can start. Others, such as
Set, take longer. In the case of Set, it does not finish until the message has been sent to the
controller. In cases like that, you can set up the macro so that the next command can be
executed before the previous command is finished. Use the ampersand character (&) to do this.
You have added the start-up macro in Section 2 of this lab.
4. Expand the Macros menu item and double-click on startup to open.
5. Review the display commands in the startup macro file:
Display Navigation /DB
Display Alarm Banner /DT
In general, to dock a display uses the syntax shown below:
To dock a display in this pos ition Use this parameterTop edge of the client window Display /DT
Bottom edge of the client window Display /DB
Left edge of the client window Display /DL
Right edge of client window Display /DR
Double-clickon startup toopen.
79 of 304
7/23/2019 FTV - Lab Manual
80/304
These commands will be executed when the macro is run at the start-up of the FactoryTalk View