Você está na página 1de 46

PlantPAx Process Application Development Lab I

For Classroom Use Only!

Important User Information


This documentation, whether, illustrative, printed, online or electronic (hereinafter Documentation) is intended for use only as a learning
aid when using Rockwell Automation approved demonstration hardware, software and firmware. The Documentation should only be used
as a learning tool by qualified professionals.
The variety of uses for the hardware, software and firmware (hereinafter Products) described in this Documentation, mandates that those
responsible for the application and use of those Products must satisfy themselves that all necessary steps have been taken to ensure that
each application and actual use meets all performance and safety requirements, including any applicable laws, regulations, codes and
standards in addition to any applicable technical documents.
In no event will Rockwell Automation, Inc., or any of its affiliate or subsidiary companies (hereinafter Rockwell Automation) be responsible
or liable for any indirect or consequential damages resulting from the use or application of the Products described in this Documentation.
Rockwell Automation does not assume responsibility or liability for damages of any kind based on the alleged use of, or reliance on, this
Documentation.
No patent liability is assumed by Rockwell Automation with respect to use of information, circuits, equipment, or software described in the
Documentation.
Except as specifically agreed in writing as part of a maintenance or support contract, equipment users are responsible for:

properly using, calibrating, operating, monitoring and maintaining all Products consistent with all Rockwell Automation or thirdparty provided instructions, warnings, recommendations and documentation;

ensuring that only properly trained personnel use, operate and maintain the Products at all times;

staying informed of all Product updates and alerts and implementing all updates and fixes; and

all other factors affecting the Products that are outside of the direct control of Rockwell Automation.
Reproduction of the contents of the Documentation, in whole or in part, without written permission of Rockwell Automation is prohibited.
Throughout this manual we use the following notes to make you aware of safety considerations:
Identifies information about practices or circumstances
that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property damage, or economic loss.

Identifies information that is critical for successful application and understanding of the product.

Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or
economic loss. Attentions help you:
identify a hazard
avoid a hazard
recognize the consequence

Labels may be located on or inside the drive to alert people that dangerous voltage may be present.

Labels may be located on or inside the drive to alert people that surfaces may be dangerous temperatures.

PlantPAx Process Application Development Lab I

2 of 46

PlantPAx Process Application Development Lab I

PlantPAx Process Application Development Lab I ............................................................. 3


Before you begin .................................................................................................................................................4
About this Lab ................................................................................................................................................4
Tools and Prerequisites .................................................................................................................................4

PlantPAx: The Modern Distributed Control System ............................... 5


The RA Library of Process Objects - Reducing Development Time .............................................................5
Application Templates and Control Strategies - Reducing Engineering Time ..............................................6
Where to Get the Rockwell Automation Library of Process Objects .............................................................6
Studio 5000 Software ..................................................................................................................................6

Starting the Lab ......................................................................................... 7


Configuring the Controller using Application Templates ...............................................................................7
Controller organization by Execution Tasks ..................................................................................................8
The Logical Organizer a new feature in V24 .................................................................................................8
Engineering the Controller using Control Strategy Routines .......................................................................10
Starting a FTView Studio Project using an HMI Project Template ..............................................................22
FactoryTalk View Studio ...........................................................................................................................23
Using the Symbol Factory HMI Library ........................................................................................................31
Testing the Code and HMI Application ........................................................................................................34
Re-Use Code Easily using Logical Organizer .............................................................................................35
Lab Summary ..............................................................................................................................................44

PlantPAx Process Application Development Lab I

3 of 46

Before you begin


About this Lab
Using the Rockwell Automation Library of Process Objects, the user will configure a control application with
pre-defined library objects for common functions helping to reduce engineering time. Templates are included in
the library for both controller applications and HMI applications to provide a consistent starting point for system
implementation. The RA Library of Process Objects is a collection of Application Code, Graphic Objects,
Faceplates and sample Control Strategies that let you quickly configure a device from I/O to operator interface
in just a few mouse clicks.
Beginning with Application Templates, we will do the following in this lab:
Import control strategies to a controller for a new tank, including a pump and a level indicator
Configure an HMI display to include pump and level objects
Test the code and HMI in a Client
Duplicate the tank using Logical Organizer
From this lab, the user will become familiar with:
The Controller Application templates
The HMI Application templates
Control Strategies from the RA Library of Process Objects
A new feature in Logix Designer 5000 v24, the Logical Organizer
Symbol Factory, an HMI library of graphic symbols

Tools and Prerequisites


This lab is conducted using a VMWare Workstation virtualized environment that allows the ability to process one
or more guest computer images on one host computer.
All the software tools required for this lab are installed within this image running on your lab PC. These tools
include:

VMWare Workstation (to run the Lab PC image)

Studio5000 V24

Emulate5000 V24

FactoryTalk View Studio V8.0

FactoryTalk View SE Client V8.0

RA Library of Process Objects V3.1

All required files are contained on the VMWare image. They are located in folders:

C:\Lab Files

PlantPAx Process Application Development Lab I

4 of 46

PlantPAx: The Modern Distributed Control System


PlantPAx is the process automation system from Rockwell Automation with all the core capabilities expected in
a world-class modern distributed control system (MDCS). The system is built on a standard-based architecture
using Integrated Architecture components that enable multi-disciplined control and Premier Integration with the
Rockwell Automation Intelligent Motor Control portfolio.
A traditional distributed control system (DCS) is built for only one purpose process control.
But in todays competitive economy, you need to consider forward-thinking possibilities and utilize technology and
innovation to your advantage. Its time to rethink what to expect from a DCS. In order to drive productivity,
increase efficiencies and reduce costs you need to integrate all of your automation operations to achieve The
Connected Enterprise. And the only way to do that is through the technology offered by a modern DCS the
PlantPAx system.
The PlantPAx modern distributed control system offers process control and more:

Plant-wide control and optimization for better business decisions


Scalable and modular system architectures to meet your exact needs
Open, secure and information-enabled networking capabilities
Flexible delivery and support options

The RA Library of Process Objects - Reducing Development Time


The RA Library of Process Objects is a predefined library of Application Code, Graphic Objects and
Faceplates that let you quickly assemble large applications with proven strategies, rich functionality, and known
performance. The Application code contains the code which controls the associated device. This code is
embedded in an Add-On Instruction (AOI) which can be instantiated multiple times in a given application. The
Graphic Objects are used to build HMI Displays. There is a selection of Global Objects available for each Process
Library Element. These Global Objects can be imported into displays and provide visual feedback to the user.
Clicking on these devices will launch the associated Faceplate.

PlantPAx Process Application Development Lab I

5 of 46

Add-On Instructions
Each object is provided as an importable Add-On Instruction and then becomes a native instruction in the
application development environment. The Add-On Instructions can be utilized with any CompactLogix or
ControlLogix programmable automation controller.

Global Objects
For rapid development of information-rich operator displays, the Rockwell Automation Library of Process Objects
provides a collection of display objects that are linked to the Add-On Instructions with a drag and drop wizard.
This allows rapid development of main plant display graphics.

Faceplates
All global objects have an associated faceplate which appears when the global object is clicked. These faceplates
require no additional configuration. When an object has additional support functions linked, such as Run Time
Monitor, Interlock Block, or others, the faceplate for these extended functions will also be accessible from the
faceplate.

Application Templates and Control Strategies - Reducing Engineering Time


Application templates are included in the RA Library of Process Objects for both controller applications (Logix
Controller Templates) and HMI applications (HMI Project Templates) to provide a consistent starting point for
system implementation. As part of the future PlantPAx v4.0 System Release, control strategies will also be
provided with the library as sample code (Control Strategies from the RA Library of Process Objects).

Where to Get the Rockwell Automation Library of Process Objects


The Rockwell Automation Library of Process Objects can be downloaded free from the Product Compatibility
Download Center at:
http://www.rockwellautomation.com/rockwellautomation/support/pcdc.page
The current release of the library v3.1 supports Studio5000 software version v24 (and later). Templates are also
provided in software v18 so they can be used in any later supported version of RSLogix 5000.

Studio 5000 Software


The Studio 5000 environment combines design and engineering elements into one standard framework. It
optimizes productivity, shortens design cycles and reduces time to market. Studio 5000 helps you respond quickly
to changes in market and business needs and reduce total costs of ownership. New design capabilities can
increase automation productivity and reduce costs during a projects lifecycle. The environment is the one place
for engineers to develop all elements of their control system for operation and maintenance. Studio 5000 extends
beyond one controller to be a system-wide development and design tool.
The Logix Designer 5000 application, within the Studio 5000 environment, is a scalable application solution,
used to program and configure/code any of the Logix5000 family of controller products. It provides ladder logic,
structured text, function block diagram and sequential function chart editors for program development as well as
support for the S88 equipment phase state model for batch and machine control applications.

PlantPAx Process Application Development Lab I

6 of 46

Starting the Lab


Configuring the Controller using Application Templates
Logix Application Templates are available with different levels of pre-loaded library content; No library, Basic
library, and All library. In this lab we will begin with the Basic library controller template. Note that for lab
purposes we have pre-modified the controller properties to run on Emulator 5000 and added code for process
simulation and I/O simulation.

Click the Studio 5000 V24 icon

on the desktop to open Studio 5000.

To open the existing lab controller template project, Click on Open Existing Project.

Select the file RSL5k_24_Template_Lab_Start.ACD and click Open.

PlantPAx Process Application Development Lab I

7 of 46

Controller organization by Execution Tasks


The Logix controller file named RSL5k_24_Template_Lab_Start.ACD was created using the Basic Library
template, which includes a subset of the PlantPAx Library Add-on instructions. The controller is separated into
Tasks that run at different execution speeds from a fast 50ms to as slow as 10sec. These Tasks are named
A through H. The tasks allow us to make the best utilization of the processor in terms of execution time. The
traditional Controller Organizer window is used to view the controller from an execution and utilization
perspective.

Using the Controller Organizer window, note that the Basic Library template includes pre-configured
MainPrograms within each Task to be used as organizational containers to speed up engineering time.

The Logical Organizer a new feature in V24


Whereas the traditional Controller Organizer is used to view and configure the controller from an execution
time and utilization perspective (Tasks), the new Logical Organizer provides a way to view and create an
organizational model of the system (Programs and Routines). This allows operators and maintenance to
troubleshoot the system more quickly while new features such as Selecting Multiple project components like
AOI's, UDT's, Programs, and then copy/paste, drag/drop, export/ import them as one to reduce engineering
time.
For this lab we will work in the new Logical Organizer window. Click the Logical Organizer.

PlantPAx Process Application Development Lab I

8 of 46

Notice that a Diagnostics task is included in all controller templates. This task allows for troubleshooting,
reporting and alarming of controller status and utilization. Note that there is pre-configured code for the lab
simulation in Task C running at 250ms. Since we are in a lab setting and are not connected to real I/O,
simulated I/O has been added to this template.
In this section of the lab, we will add new code for a tank (including a pump and a level transmitter) to Task D
running at 500ms.

We will now rename the main program in Task D, from Task_D_MainProgram to Tank1, by double-clicking
on Task_D_MainProgram to open the Program Properties window. Change the Name of the program to
Tank1 and click OK.

PlantPAx Process Application Development Lab I

9 of 46

Engineering the Controller using Control Strategy Routines


Control Strategies from the RA Library of Process Objects support the concept of Re-use engineering to
save time. Starting from pre-configured and tested control strategies that are imported as Routines into a
controller application we save engineering time. By organizing a controller into Programs (for example each
Tank is a Program) and Routines (levels, pumps, valves) we simplify the location of a desired piece of code,
and can Re-use code in line with best practices and standards management.
Later in the lab, because we organized the controller by Tasks, Programs and Routines, we can easily copy
the code for a complete tank (a Program), including all components like AOI's, UDT's, Routines, Tags, and
then paste it, as one, to create more tanks to reduce engineering time.

Importing a Control Strategy Routine for a Pump


In this section, we will import a (pre-configured and tested) control strategy routine for a motor (CS_Motor)
into the program named Tank1. A motor can drive a blower, conveyor, mixer, agitator or a pump. We are
configuring a drain pump to empty the tank. Right-click on the program named Tank1. From the menus
select Add and then Import Routine.

Select the control strategy import file for a motor, CS_Motor.L5X, and click Open.

PlantPAx Process Application Development Lab I

10 of 46

The Import Configuration window will open. From this window we can configure the new routine during the
import process. Change the Final Name for the routine from MT100 to Pump. Do not click OK.

In the Import Content area of the configuration window, click on the Tags folder to view all the tags that will
be imported. We want to modify the tagnames by replacing the generic MT motor designator with PMP during
the routine import. The MT is a default tag designator for any type of motor. A motor can drive a blower,
conveyor, mixer, agitator or a pump. In this case we are designating a pump using PMP in the tagnames.
Click on the Find/Replace button.

PlantPAx Process Application Development Lab I

11 of 46

Find all the instances of MT in the tag references and replace with PMP. Confirm that only Final Name is
checked in the Find Within options. Then click the Replace All button. Now click OK.

Wait for the import to complete. Once the import completes, a new routine named Pump is added to the
Tank1 program. Double-click on the Pump routine to open the function-block editor and view the new code.

PlantPAx Process Application Development Lab I

12 of 46

Notice that all the instances of MT have been replaced with PMP in the tagnames and input/output reference
connectors. The pump control routine is complete.

Importing a New Routine for Level Indication


The pump routine is completed. Next is to import a new routine that will contain the code for an analog input
for tank Level indication. Right-click on the program named Tank1. From the drop-down menus select Add
and then Import Routine.

PlantPAx Process Application Development Lab I

13 of 46

For the tank level transmitter we will import a generic control strategy template for an analog input. Select
the control strategy CS_AIn.L5X import file and click Open.

Wait for the Import Configuration window to open.


Change the Final Name of the new routine to Level. Do not click OK yet.

Click on the Tags folder in the Import Content area of the window.

PlantPAx Process Application Development Lab I

14 of 46

Notice that tag references in the control strategy are prefixed with a generic XT designator (X is for the type
and T stands for Transmitter). During the import we will find and replace the XT with LT for all tags. LT
designates a Level Transmitter. Click on the Find/Replace button.

Find all instances of XT and replace with LT. Confirm that only Final Name is checked in the Find Within
options. Then click the Replace All button. Now click OK.

Wait for the import to complete. A new routine named Level has been added. Double-click on the Level
routine to view the code.

PlantPAx Process Application Development Lab I

15 of 46

Notice that all the tag names and references have been changed to LT100.

The routine for the tank level is now complete.

Next we need to add instructions to execute the new routines. We will do this by adding rungs to the
MainRoutine that include Jump to Subroutine (JSR) instructions. The Jump to Subroutine (JSR)
instructions will execute the Pump and Level subroutines.
Double-click the MainRoutine for Tank1.

PlantPAx Process Application Development Lab I

16 of 46

The ladder Code Editor will open since the Tank1 MainRoutine is ladder logic code. The MainRoutine is a
continuous routine that always runs. It is used to monitor and alarm the Tasks execution time and to execute
other routines.

Click on Rung 0 to select the rung (indicated by a blue box) and then right-click and select ADD Rung.

A new rung has been added to the bottom. The es in the blue box indicate that Rung 1 has an error. The
error is because the rung is empty. We need to add an instruction to the rung.

PlantPAx Process Application Development Lab I

17 of 46

The ladder code editor in LogixDesigner 5000 has various ways to add instructions to rungs. The easiest
being if you already know the instruction name, such as JSR. To add a Jump to Subroutine (JSR) instruction
to Rung 1, put the cursor on the rung and type JSR and click the Enter key.
For reference only: Another way to add instructions is to right-click on the
rung and select Add Ladder Element (Alt+Ins) from the selection window.
An Add Ladder Element window opens to display all the available
instructions sorted by groups or alphabetically.

After adding the JSR to the rung it is still in error because the JSR instruction needs to have the Routine
Name parameter filled in.

Double-click the question mark, click on the down-arrow, and double-click the routine named Pump.

PlantPAx Process Application Development Lab I

18 of 46

The error on Rung 1 will clear and the coding for the JSR for the Pump routine is complete.

Now we need to add another rung for the JSR that will execute the Level routine. We will do this by copying
Rung 1. Click on Rung 1 to select the rung (indicated by the blue box) and then right-click and select Copy
Rung from the menu.

Click on the bottom rung (End) to select the rung (indicated by a blue box) and then right-click and select
Paste from the selection window.

PlantPAx Process Application Development Lab I

19 of 46

Rung 2 has been added but we need to change the JSR instruction Routine Name parameter from Pump to
Level to execute the Level routine. On Rung 2, double-click the Routine Name Pump in the JSR, and click on
the down-arrow, and double-click the routine named Level.

The JSR on Rung 2 for the Level routine is complete.

The coding for Tank1 is complete and ready to download to the controller. In the upper left of the Logix
Designer window click the Save button. Click on the Controller Status button and select Download.

PlantPAx Process Application Development Lab I

20 of 46

Acknowledge the warning by clicking Download again to start the download.

In this lab we are using RSLogix Emulate 5000 software to emulate a physical Logix controller.

While waiting for the emulated controller download to complete, read about RSLogix Emulate 5000.

RSLogix Emulate 5000 software is an engineering tool that is capable of emulating a Logix controller. It can
be used in conjunction with Logix Designer 5000 and FTView Studio SE to write and test application code and
HMI displays without the need to connect to a physical Logix controller. For this lab, RSLogix Emulate 5000
software is already running and the chassis has a controller configured in slot 2.

Click Yes to change the controller back to Remote Run mode.

PlantPAx Process Application Development Lab I

21 of 46

The controller status button is green to indicate in Remote Run mode.

Minimize the Logix Designer window.

Section Summary
The new Logical Organizer provides a way to view and create an organizational model of the system.
Application Controller Templates are available with pre-loaded library content to start your Logix project.
Control Strategies where used to quickly add pump control and level indication code to the project supporting
the concept of Re-use engineering to save time.

Starting a FTView Studio Project using an HMI Project Template


Application templates are included in the RA Library of Process Objects for HMI applications (HMI Project
Templates). In the following section you will use FactoryTalk View Studio software and a HMI Project
Template to provide a starting point for your HMI project; creating a graphic screen, containing a pump object
and a tank level object, to test our controller code.
Three HMI Project templates are available each of which supports a different display resolution:
-

FTVSE_7_P1FHD_3_1_00.apa
1920 x 1080 Full HD
FTVSE_7_P1SXGA_3_1_00.apa 1280 x 1024 SXGA
FTVSE_7_P1WXGA_3_1_00.apa 1366 x 768 WXGA

All of the above HMI templates include the following attributes: Basic display layout, Navigation, and Alarm
displays. However, the HMI templates do not include Library objects; the Library objects must be imported
into the templates. In the following lab section, we will open an HMI Project template that has been preconfigured for the lab with all logical servers (data, HMI, and alarms) and communication settings, and the
Library objects already imported.

PlantPAx Process Application Development Lab I

22 of 46

FactoryTalk View Studio


FactoryTalk View Studio is configuration software for developing and testing PlantPAx HMI applications.
With FactoryTalk View Studio, you can:
Configure a single operator station or configure an entire distributed application from one location

Access tags via a tag browser that presents direct PLC tags and HMI tags in a logical hierarchy

Remotely configure FactoryTalk View Site Edition servers

Create displays and faceplates using a full-featured graphics editor

Double-click the FactoryTalk View Studio icon

on the Desktop.

Select the type of the application as a View Site Edition (Local Station) application and click Continue.

Select the application named HMI_Template_w_servers and click Open.

Wait for the FactoryTalk View Studio application to completely open.

PlantPAx Process Application Development Lab I

23 of 46

When FactoryTalk View Studio is completely open, expand the Displays folder and scroll down (to near the
bottom of the list of displays) until you find the display named P1f Home (where the P1 stands for Process
Area 1 and the f means this graphic is configured for full 1920x1080 resolution screens). Double-click on the
display named P1f Home to open the display editor.

This is the blank P1f Home display. We will start with this display because navigation to it is already
configured on the template button bars. The next step will be to add a pump and level object for Tank1 to the
display and then link the objects to tags in the controller. The easiest way to do this will be to use Global
Objects.

PlantPAx Process Application Development Lab I

24 of 46

Global Objects
A global object is an HMI display element that is created once and referenced multiple times on multiple
displays in an application. When changes are made to the original (base) object, the instantiated copies are
automatically updated.
In the Explorer window, expand the Global Objects folder. Scroll down until you find the global object named
(RA-BAS) P_Motor Graphics Library. The RA-BAS stands for Rockwell Automation Base library and the
P_Motor means this screen contains motor objects for process control.
Double-click on the Global Object (RA-BAS) P_Motor Graphics Library to open the display editor.

For rapid development of information-rich operator displays, the Rockwell Automation Library of Process
Objects provides a collection of Global Objects that are linked to the Add-On Instructions with a drag and
drop wizard. Display elements include motors, valves, analog and digital indicators and even a sequencer.
Together with the HMI Project Templates they allow for rapid development of display graphics.

PlantPAx Process Application Development Lab I

25 of 46

Drag-and-Drop a Pump object from the Global Objects display to the blank P1f Home graphic.

In the Explorer window, search the Global Objects folder, scrolling until you find the global object named
(RA-BAS) P_AIn Graphics Library. The RA-BAS stands for Rockwell Automation Base library and the
P_AIn means this screen contains analog input objects for process control.
Double-click on the Global Object (RA-BAS) P_AIn Graphics Library) to open the display editor.

PlantPAx Process Application Development Lab I

26 of 46

Drag-and-Drop an Analog Input object from the Global Objects display above the pump on the P1f Home
graphic.

Right-click on the new pump object in the Main graphic window and select Global Object Parameter
Values from the selection menu.

The Global Object Parameters Values window opens. We need to enter the tag Value for the Motor into
parameter 1. This parameter links the tag PMP100 (that we created earlier in the Logix code) to this instance
of the pump object. For parameter 1, click on the Ellipses button in the column named Tag to open a Tag
Browser window.

PlantPAx Process Application Development Lab I

27 of 46

The Tag Browser window allows you to access controller tags via a browser window that presents the
controller tags in a logical hierarchy. Click the Refresh All Folders button. Expand the directory named
Tanks (Tanks is the data server shortcut name for the controller in slot 2). Then expand the subdirectory
named Online.

Scroll-down the list and select the tag PMP100. Verify that the Selected Tag is [Tanks]PMP100. The tagprefix [Tanks] is the Device Shortcut name for the controller in slot 2. Click OK.

PlantPAx Process Application Development Lab I

28 of 46

Click OK once more to accept the updated parameter.

Right-click on the new Analog Input object and select Global Object Parameter Values from the selection
menu.

The Global Object Parameters Values window opens. We need to enter the tag Value for the Level into
parameter 1. Type in {[Tanks]LT100} or click on the Ellipses button and use the Tag Browser to browse to
the tag as we did with the pump.

PlantPAx Process Application Development Lab I

29 of 46

Click OK accept the updated parameter.

Click on the Save button to save the updates to the P1f Home display.

The display is complete and functional but can be customized with tanks, piping, and more. The following
section introduces and uses the Symbol Factory HMI library to add a tank symbol to the display.

PlantPAx Process Application Development Lab I

30 of 46

Using the Symbol Factory HMI Library


The Symbol Factory is an HMI library of over 5,000 graphics symbols for use in process HMI applications.
Symbols include pumps, pipes, valves, tanks, mixers, motors, ducts, electrical symbols, flow meters, material
handling, sensors, PLCs, transmitters, and ISA symbols. You can use drag-and-drop to transfer symbols from
the Symbol Factory into an HMI display.
Double-click the Symbol Factory folder in the Explorer window.

Wait for the Symbol Factory window to open. Drag-and-drop a tank symbol from the Symbol Factory to the
P1f_Home display.

Categories include:
pumps
pipes
valves
tanks
mixers
motors
ducts
electrical symbols
flow meters
material handling
sensors
Transmitters
and more

PlantPAx Process Application Development Lab I

31 of 46

On the P1f Home display, place the cursor on the upper-right corner of the new tank and click-and-drag to
enlarge the tank and cover the pump and level objects. Then, right-click on the tank, select Arrange. Click
on Send to Back from the selection menu to place the tank behind the pump and level objects.

The P1f Home display should look like this.

Click on the Save button to save the updates to the P1f Home display.

PlantPAx Process Application Development Lab I

32 of 46

Minimize the FactoryTalk View Studio window.

Section Summary:
For rapid development of operator displays, the Rockwell Automation Library of Process Objects provides a
collection of Global Objects that are linked to the Add-On Instructions with a drag and drop wizard. Together
with the HMI Project Templates they allow for rapid development of display graphics.

PlantPAx Process Application Development Lab I

33 of 46

Testing the Code and HMI Application


The local station application (code and HMI) is finished; test it by running the FactoryTalk ViewSE Client.

FactoryTalk View SE Client


FactoryTalk View SE Client is software for viewing and interacting with the FactoryTalk View SE application at
run time. The FactoryTalk View SE Client provides a complete and secure run-time environment for a local
station application. For example, operators can use the client to view and interact with multiple graphic
displays, manage alarms, view trends and adjust set points.

Double-click the Client_Template icon on desktop.

Wait for the client window to open.

When the Client screen opens, notice the docked Header and Footer displays. They are part of the
Framework displays contained in the HMI template that also includes button bars and alarm, history and help
displays. The template Header graphic is used to display information that will always be visible to the
operator, such as the current date and time, name of the current area, general alarm and system status and
navigation buttons.

Click on the Reset Tank Levels button on the top button bar.
Wait for the tank level to fill to 60%.

We are now ready to test our application. We can now start the pump and empty the tank.

PlantPAx Process Application Development Lab I

34 of 46

Click on the pump object to open the operator faceplate.


From the operator faceplate, click on the green start button to start the pump.

The pump will start running and the tank empties.

The lab section is complete.


Minimize the Client window.

Re-Use Code Easily using Logical Organizer


The new Logical Organizer provides a way to view an organizational model of the system. This allows
engineers to modify the system more quickly. New features such as Selecting Multiple project components
like AOI's, UDT's, Programs, and then copy/paste, drag/drop, export/ import them as one to reduce
engineering time. In this section of the lab we will be doing a copy/paste of program Tank1 to a new tank
program Tank2. For this part of the lab we will work in the new Logical Organizer window.

Maximize the Logix Designer 5000 window.

PlantPAx Process Application Development Lab I

35 of 46

In the previous section of the lab we made Logix code additions offline and then loaded the controller. In this
section we will be making code changes online to the running controller to demonstrate how code can be
added without interrupting the operations of a running plant.

In the Logical Organizer, Right-click the program Tank1 and click Copy.

Right-click on the controller, PAC01. (PAC01 stands for Process Automation Controller 01)
Click on Paste Special and then select With Configuration.

PlantPAx Process Application Development Lab I

36 of 46

Wait for the Paste Configuration window to open.


Change the Final Name of the routine from Tank1 to Tank2 and Hit Enter. Do not click OK yet.

Schedule the new Tank2 program in Task_D_500ms by using the drop-down menu.

Click on the Tags folder in the Import Content area of the window.

PlantPAx Process Application Development Lab I

37 of 46

Notice that tag references in the control strategy for Tank1 are 100 series tags (PMP100, LT100). For Tank2,
during the paste we will find and replace the 100 with 200 for all tags. Click on the Find/Replace button.

Find all instances of 100 and replace with 200. Confirm that only Final Name is checked in the Find Within
options. Then click the Replace All button. Now click OK.

Because the controller is running and we are making edits to the code On-line, we need choose how the edits
will be imported. Check the selection for Finalize All Edits In Program during the import and click OK.

PlantPAx Process Application Development Lab I

38 of 46

Wait for the import to complete. A new program named Tank2 has been added. Expand the Tank2 program
folder to view the new pump and level routines. Verify that the tagnames have been updated with 200.

Add a New Tank2 to the HMI Application in FactoryTalk View Studio


Maximize the FactoryTalk View Studio window.

On the P1f Home display, use the cursor to highlight the Tank1 objects and then click Arrange from the
editing selections on the upper menu bar. Click Group from the drop-down menu. This groups the objects.

PlantPAx Process Application Development Lab I

39 of 46

Right-click on the grouped tank objects and select Copy from the dropdown menu.

Right-Click on the background and select Paste from menu.

PlantPAx Process Application Development Lab I

40 of 46

Position the new tank to the right of Tank1.


Right-click on the new tank group and select Tag Substitution.

In the Tag Substitution window Search for 100 and Replace with 200. Click the Replace button.

PlantPAx Process Application Development Lab I

41 of 46

Click the Replace All button.

Click OK.

Click on the Save button to save the updates to the P1f Home display.

Minimize the FactoryTalk View Studio window.

To test the code and graphic updates, Maximize the FactoryTalk View Client window.

PlantPAx Process Application Development Lab I

42 of 46

At the lower corner of the View Client screen, click the Refresh button to view the updated display.

Click on the Reset Tank Levels button on the top button bar.
Wait for the level in Tank1 to fill to 60% and Tank2 to 50%.

Start the pumps and verify that both tanks drain.

This section of the lab is complete.

PlantPAx Process Application Development Lab I

43 of 46

Lab Summary
PlantPAx is the process automation system from Rockwell Automation with all the core capabilities
expected in a world-class modern distributed control system (MDCS). The RA Library of Process Objects is
a collection of Application Code, Graphic Objects, Faceplates and sample Control Strategies that let you
quickly configure a device from I/O to operator interface in just a few mouse clicks. Configure your Integrated
Architecture control system to meet the PlantPAx system guidelines and you can call it PlantPAx. Start with
the RA Library of Process Objects, a collection of Application Code, Graphic Objects, Faceplates and sample
Control Strategies, and you can quickly configure a device from I/O to operator interface in just a few mouse
clicks. Engineering your modern DCS has never been easier.

PlantPAx Process Application Development Lab I

44 of 46

_______________________________________________________________________________________
Notes

PlantPAx Process Application Development Lab I

45 of 46

PlantPAx Process Application Development Lab I

46 of 46

Copyright 2013 Rockwell Automation, Inc. All rights reserved.

Você também pode gostar