07 PlantPAx Introduction To The Process System For Engineering Lab
07 PlantPAx Introduction To The Process System For Engineering Lab
10
System Engineering Lab
c
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 third-party provided instructions, warnings, recommendations, and documentation.
• ensuring that only properly trained personnel use, always operate and maintain the Products.
• 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 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.
The PlantPAx® system—a modern DCS—is a key component of The Connected Enterprise. It helps you meet key
market challenges through:
• Plant-wide control and optimization
• Scalable and modular architectures
• Open, information-enabled, and secure architectures
• Flexibility in delivery and support of the system
The Rockwell Automation Library of Process Objects can be used to quickly configure the controllers and HMI
FactoryTalk View Studio applications that comprise a PlantPAx Distributed Control System. They can help reduce
the engineering time to assemble and maintain your existing or new integrated architecture process applications.
The Rockwell Automation Library of Process Objects can be downloaded from the Product Compatibility Download
Center at: https://compatibility.rockwellautomation.com/Pages/home.aspx
The Studio 5000® Automation Engineering & Design Environment™ combines engineering and design elements
into one standard framework—a common design platform that helps to drive down the time and cost to design,
develop, and deliver machines and equipment. Controller properties and code are modified using Studio 5000
Logix Designer software.
or
Wait for the Studio 5000 Common Launcher to appear. Under the Recent Projects tab, click the Logix Designer
controller project file (.acd) named LAB.
Notice the Controller Type is 1756-L85EP, the new PlantPAx Process Controller.
Now click on the PlantPAx tab.
Notice the Checkbox to Use PlantPAx Tasking Model. This is checked by default and will create default Periodic
Tasks in your Controller Organizer.
Tasks are created with period, priority and names already specified according to PlantPAx guidelines. Starting a
project with the PlantPAx periodic tasks already created has benefits including shorter time dedicated to project
creation and layout and a consistent project structure that aligns with PlantPAx guidelines.
Note that in this lab we will be using the Normal task.
The new PlantPAx 5.10 Embedded objects are the next generation of the Process Objects Library, available
when using one of the new Process Controllers. These new controllers extend the existing Logix controller family.
Everything that a standard controller does, these controllers do. They share the same software tools and are
meant to provide a more process focused experience for customers. PlantPAx Objects are now built-in to the
design pallet of Logix Designer in v33 (and above). Control Strategies, efficiency tools, and HMI objects will still
be made available through download via Rockwell Automation Product Compatibility and Download Center.
Previously released libraries will continue to be available and supported. They are compatible with the new
Process Controllers as well as the older controllers.
A new feature exclusive to the PlantPAx Process Controller is the ability to see a dashboard of each task and the
instructions used in your controller file. This feature can be used with the embedded webpage to see CPU
utilization and to avoid task overlap.
This feature enables consistent performance and visibility into task loading during the engineering cycle. It allows
the engineer an easier way to identify the number of control strategies being used in a processor. This information
can be used along with published guidance from our PlantPAx Characterization Lab to ensure the performance of
your system.
The Instruction Usage can be accessed by clicking the Instruction Usage button on the PlantPAx tab.
The popup window shows how many instances of each object type there are per routine based on the PlantPAx
Tasking Model of Fast, Normal, Slow, and System tasks.
Close the Instruction Usage window.
In this section of the lab, you will learn how to develop and configure your controller using sample process routines
imported into a controller application to develop a control strategy for a storage tank. The strategy will include a fill
pump, a discharge pump and tank level indication.
From an execution perspective the controller is separated into Tasks that run at different execution speeds, from
as fast 50ms to as slow as 10sec. The Tasks allow us to make the best utilization of the processor in terms of
execution time.
The lab controller has been pre-configured using a sample Process Library v5.1 controller template file. The library
v5.1 controller template has three pre-configured Tasks: a Fast (100 ms) task, a Normal (250 ms) task, and a Slow
(500 ms) task. Each Task includes a pre-configured Program. The Programs can be used as organizational
“containers” to speed up engineering time. In this lab you will be developing code in the Normal Program.
From an organizational perspective the Programs are separated into Routines. In this lab you will develop a tank
Program that includes Routines for a fill pump, a discharge pump and level indication.
Notice the Controller Organizer and Logical Organizer tabs at the bottom left. These are windows that allow
different view perspectives of the controller.
Whereas the traditional Controller Organizer is used to view and configure the controller from an execution time
and utilization perspective (Tasks), the Logical Organizer window 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 Add-
On-Instructions (AOI's), User Defined Tags (UDT's), Programs, and then copy/paste, drag/drop, export/ import them
as one to reduce engineering time.
Mixed library applications are supported in the Process Controller and allow for gradual adoption of the 5.10
technology. The PlantPAx 4.1 library lives on in parallel with Process Library v5.10. Both Add-On Instruction (AOI)
and 5.10 objects co-exist together in PlantPAx. The 4.1 and 5.10 faceplates can co-exist in an HMI application
and look and feel the same to an operator.
In this lab section you will add Process Library v5.10 Control Strategies to the program named TK300 (for tank 300)
that already contains 4.1 code. Later in the lab you will use the Logical Organizer window to quickly copy TK300 to
a TK400 program.
Expand the program named TK300 in the Normal Task to view the existing routines.
Also notice the existing PMP301 routine. This is a routine implemented using the Process Library 4.1 objects.
The Process Library 4.x resides in the controller as Add-on-Instruction (AOIs). For Process Library 5.1 the library
blocks reside in the controller firmware. Embedded native process objects help reduce engineering costs and drive
consistency in projects. In this lab, all application development will be done using the new 5.1 library and 5.1
workflow but to show compatibility with the 4.1 library the PMP301 routine was pre-configured in the lab controller.
Note that from an operator’s viewpoint the 4.1 and 5.1 graphical objects and faceplates have the same look and
feel.
Double-click on the PMP301 routine and then in the editing window click the PMP301 P_Motor block’s ellipsis
button. Note that the block is a P_Motor type with a tag name of PMP301. The prefix “P_” (for process) indicates
that the block is a 4.1 library object. The corresponding motor block in the 5.1 library is named PMTR with the prefix
“P” for process.
New for the 5.1 Library is the addition of tag properties Dialog Boxes in Logix. The new Dialog Boxes consist of
ten tabs (see example screen capture below). Using Extended Tag Properties which allow for more access to data
in the controller the Dialog Boxes allow for a single place to configure alarms, set points, interlocks, tag descriptions
and more. You will explore the new PlantPAx Dialog Boxes later in the lab.
A simulation routine has also been added. In the lab this simulation code will allow the lab student to test their new
device code. Double-click on the routine named Simulation. Notice the final output from this simulation logic is
an output connector LI300_Inp_PVData (scroll over to the right as needed). This output will be the simulated input
value for a tank level indicator routine that will be added later.
The Logical Organizer allows one to create folders that correspond to process areas. Programs (with their
associated routines) from one process area can be configured in various tasks depending on their execution
requirements. The Logical Organizer allows one to create folders and drag the various programs into these
folders for easy troubleshooting for each process area (Logical Organizer folder).
In addition, when using the PlantPAx Configuration Tool for Alarms, Tags, and Historian, an alarm group is
generated for each Logical Organizer folder and will define the structure of the resulting A&E database. Alarms
defined within each folder will be generated respecting this structure.
For Operations’ functionality, it is important that all the devices within each Logical Organizer folder can be
represented on a single HMI display. When an alarm associated with the HMI display (and Process area) occurs,
a visual indication on the associated navigation button can be activated to assist operator troubleshooting.
Control Strategies from the RA Library of Process Objects support the concept of re-use engineering to save time.
We can save engineering time by starting with pre-configured and tested control strategies. Simply import them
into the controller application as routines. 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.
To reduce implementation time and minimize risk, Control Strategy templates are available from PlantPAx that
provide pre-connected functionality to meet control system needs. These individually importable Function Block
Diagrams include instructions from the Rockwell Automation Library of Process Objects that have been
configured to represent many common control and equipment scenarios encountered in process automation (i.e.,
I/O monitoring, regulatory control, motor, and valve control).
Later in the lab, because we organized the controller (by Tasks, Programs and Routines), you can easily copy the
code for a complete tank program, including all components like AOIs, UDT's, Routines, Tags, and then paste it,
as one, to create more tanks to reduce engineering time.
Navigate to the C:\ Process_Library_v5.00.04 \ v5.00.04 \ Process Library \ Control Strategies - L5X \
CS_PAI folder. Confirm that you are in the CS_PAI folder.
Find all the instances of XT101 in the tag references and replace with LI300.Then click the Replace All button.
Wait for the import to complete. Once the import completes, a new routine named LI300 is added to the TK300
program. Double-click on the new LI300 routine to open the function-block editor and view the new code.
Verify that all the instances of XT have been replaced with LI300 in the tag name and input/output (I/O) reference
connectors (as shown below). The level indication routine is complete, and the input/output (I/O) reference
connectors are associated to simulation tags for testing.
When the new 5.1 Properties Dialog Box opens, notice the new tabs: General, PV Fail Check, Advanced, HMI,
Alarms, Parameters and Tag. Note that the 4.1 library blocks only have a Parameters and Tag tab. Click the HMI
tab
From the HMI tab change the Display Label to LI300 and click OK.
Later in the lab you will explore the other tabs of the new 5.1 Dialog Boxes.
Next is to import a new routine that will contain the code for a single speed motor. Right-click on the program
named TK300. From the drop-down menus select Add and then Import Routine.
Navigate to the C:\ Process_Library_v5.00.04 \ v5.00.04 \ Process Library \ Control Strategies - L5X \
CS_PMTR-1S folder.
Confirm that you are in the CS_PMTR-1S folder.
Select the motor routine import file named (RA-LIB)CS_PMTR_1S_5_00-03_ROUTINE.L5X and click Open.
Wait for the Import Configuration window to open. A motor can drive a blower, conveyor, mixer, agitator, or a
pump. Since you are configuring a pump to discharge the tank you will change the name and tags of the new
routine to PMP302.
The tag references in the library routine are prefixed with a generic MT301 designator for motor. During the import
you will find and replace the MT301 with PMP302 for all the tags.
Find all instances of MT301 and replace with PMP302. Click the Replace All button. Then click OK.
Wait for the import to complete. A new routine named PMP302 will be added.
Double-click on the new PMP302 routine to view the code. Verify that the tag name is PMP302 and the cross-
references have been changed to reference PMP302.
Next you need to add instructions to execute the two new routines. You 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.
The ladder Code Editor will open. The MainRoutine is written in ladder logic code. The MainRoutine is configured
as the routine in the task/program that runs first. It is used to monitor and alarm the Task’s execution time and to
Click on Rung 0 to select the rung (indicated by a blue box) and then right-click and select Copy Rung.
Go to the end of the ladder and Paste twice to add two new JSR rungs.
The new JSR on rung 3 needs to have the Routine Name parameter changed to LI300.
The rungs should look like below when completed.
The coding for TK300 is complete and ready to verify for errors and then download to the controller.
To verify the code for errors, click the Verify Controller button.
In the upper left of the Logix Designer window click the Save button.
Click on the Controller Status down-arrow and select Download from the drop-down window.
Wait for the controller download to complete. This may take a couple of minutes but with library 5.1 blocks in
firmware the downloads to the controller go much quicker than with the 4.1 library AOIs.
Verify that the controller status button is green and indicates in Run mode.
Section Summary
Logix Designer provides a way to view and create an organizational model of your controller code. Application
Controller Templates and Control Strategies are available with pre-configured library content to start your Logix
project. In the lab, Library Control Strategies were used to quickly add pump control and level indication code to the
project, supporting the concept of re-use engineering to save time.
In the next section of the lab, the user will configure the HMI application (a storage tank display) with pre-defined
library faceplates and global objects. Using Library objects for common functions helps to reduce engineering
time. Templates are included in the library for HMI applications and frameworks to provide a consistent starting
point for system implementation. Click the Studio 5000 icon on the bottom taskbar or on the desktop to open
Studio 5000.
Wait for the Studio 5000 Common Launcher to appear. In the Recent Projects tab click PlantPAx.
This will open the existing FactoryTalk View Studio SE HMI project in the HMI designer software Studio 5000.
FactoryTalk View Studio is configuration software for developing PlantPAx HMI applications. With FactoryTalk
View Studio, you can create displays and faceplates using a full-featured graphics editor. The Studio 5000®
Automation Engineering & Design Environment™ combines engineering and design elements into one standard
framework—a common design platform that helps to drive down the time and cost to design, develop, and deliver
machines and equipment. Controller properties and code are modified using Studio 5000 Logix Designer software.
With the PlantPAx Objects now part of the firmware of the controller, it simplifies lifecycle management. Firmware
upgrades automatically manage any changes that come to the tag database or pins of the library objects that may
need to be rewired. This reduces the risk to the application when modernizing the system. Additionally, this
creates a consistent data structure and interface for the customer. This new format also drives consistency
between applications, regardless of who developed them.
Whether the library is 4.1 or 5.1, every HMI project needs to have the communication paths to the area controllers
defined in the FactoryTalk Linx communication setup. The path or “shortcut” name is used to point at a particular
controller, in our case the Lab controller in slot 2 of the Echo rack. This path will be used later in the lab when
configuring graphical device objects for the devices in the Lab controller.
In the Communication Setup window, note the device shortcut named LAB. Shortcut names are used in the
The check boxes for the Extended Tag Properties are used for the library 5.1 Logix Dialog Boxes. Extended Tag
Properties have been available since v31 of Logix and are used in the 4.1 library for only the PIDE and motion
blocks. For library 5.1 it has been expanded to allow process device control. Extended Tag Properties reduce the
need for string tags and allow for language translation. Confirm the boxes are checked.
Note the new folder structure in FactoryTalk View’ Studio for displays. With Studio v12 you can now create sub-
folders in the Display folder. For this lab, the lab specific displays are all in the folder named LAB. Note that displays
for the framework (button bars, alarm summary, level 1/2/3 display templates …), the 4.1 library displays, and the
5.1 library displays are all included and compatible in this application.
Note that the pump object for the fill pump, PMP301, is already configured on the display using PlantPAx Library
4.1 objects. Pump PMP301 is be used to show compatibility between the 4.1 and 5.1 libraries. In this lab you will
be using the new PlantPAx Process Library 5.1 objects
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 Process Object Library code in each controller with
a drag and drop wizard. Display elements include motors, valves, analog and digital indicators and even a
sequencer. Together with the HMI framework they allow for rapid development of display graphics and navigation.
In the Explorer window, expand the Global Objects folder.
Double-click on the Global Object “(raP-5-SE) Graphic Symbols - PMTR” to open the display editor.
Each device object is preconfigured in various orientations and with optional features. For example, the motors
are displayed configured as pumps, conveyors, blowers, agitators, fans, and motors. Drag-and-drop (or
copy/paste) a Pump object from the Global Objects display to the storage tank graphic.
Next, in the Global Objects folder, and double-click on the Global Object named
“(raP-5-SE) Graphic Symbols – PAI”. The PAI stands for process analog input.
In the Global Object Parameter Values window, you need to enter the tag Value for the pump into parameter 1.
This parameter links the tag PMP101 (that we created earlier in the Logix code) to this instance of the pump
object. For parameter 1, click on the ellipsis button in the column named Tag to open a Tag Browser window.
Note that in the 4.1 library blocks (see example below) the second parameter is the Path. This is used for
navigation to other objects. To improve development workflow, for the 5.1 library this parameter is removed, and
the path data is parsed from parameter 1.
Example only of 4.1 Library:
Expand the PlantPAx_Data_Area folder. Expand the sub-folder named LAB (“LAB” is the data server shortcut
name for the controller). Expand the subdirectory named Online.
Scroll-down the list and select the tag PMP302 and click OK.
Verify the updated Motor Tag in parameter 1 is as shown below. Note the other parameters. For library 5.1,
parameter 2 is the X coordinate for the faceplate pop-up and parameter 3 is the Y coordinate. For parameter 2 and
3, enter the X/Y parameters /X460 and /Y700 respectively.
Right-click on the new Analog Input trend object and select Global Object Parameter Values from the selection
menu.
For parameter 1, click on the ellipsis button in the column named Tag to open a Tag Browser window
Configure the level indicator to match the level trend object parameters (as shown below), save the changes, and
close the parameters window.
The application (code and HMI) is finished; test it by running the FactoryTalk ViewSE Client. FactoryTalk View
SE Client is software for viewing and interacting with the FactoryTalk View SE application at run time. Operators
can use the client to view and interact with multiple graphic displays, manage alarms, view trends, and adjust set
points. Click on the PlantPAx HMI client icon at the left on the desktop.
When the client opens, your application window appears with the layout of the selected template. 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.
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, Permissive, or others, the faceplate for these extended functions will also be accessible
from the faceplate. You are now ready to test our application by starting the pump and filing the tank.
Click on the PMP301 pump object to open the pump control operator faceplate.
Note that PMP301 is a library 4.1 faceplate. For library compatibility the 5.1 faceplates have same look and feel
from the operator’s perspective as the 4.1 faceplates. Click the Start button to start the fill pump.
Note that the level in the tank has filled to 59%. This indicates that the new code and HMI objects for the level
indication are functioning correctly. Notice that the fill pump has been stopped (interlocked) when the fill level was
reached. This was done with interlock code. The interlock status is indicated on the pump object and the
faceplate.
Note the interlock condition. If you had multiple interlocks active for the device the first interlock to occur would be
indicated as “first in “for troubleshooting. Click the X to close the interlock faceplate.
Notice that the label and descriptions for the new discharge pump object are incorrect and need to be configured.
For small applications (such as this lab or skid maintenance) updating the tag descriptions and labels can be
done on-line using the new Process Library 5.1 Logix Dialog Boxes, or for 4.1 applications from the Maintenance
tab of the device faceplates in the running Client application. For bulk configuration changes of these parameters
PlantPAx 5.1 includes a “PlantPAx Configuration Tool’” that can be used. This tool can be used both off and on-
line.
Wait for the tank to empty. Note that as the tank empties the fill pump PMP301 is no longer interlocked and that
low level alarms are indicated on the faceplate and device objects. But notice the new discharge pump, while
functional, did not stop when the tank was empty. This could possibly damage the pump. Later in this lab you
will add an interlock condition to this pump to protect it from running with an empty tank.
Wait for the tank to fill and click on thePMP301 Interlock button to open the interlock faceplate.
Note that the interlock is configured to be “Can Bypass”. This selection can only be made with the proper login
credentials. An engineer would make the decision if a specific interlock can be bypassed. The operator can then
make the decision to bypass the specific interlock if needed.
Click on the HMI Configuration Tab and notice that the interlock description can be modified from the 4.1
faceplate.
Check the box to enable the Fill Level Reached interlock to be bypassed and close the interlock faceplate.
Notice the interlock bypassed indicators. Click on the “Home – Operator” tab button.
Notice the pump can now be started, for maintenance or emergency service, even in an interlock condition.
Section Summary:
You tested the new Tank discharge pump and level indication and interacted with the View SE application from
the FactoryTalk View SE Client. The section showed how Operators can use the client to view and interact with
multiple devices, acknowledge faceplate alarms, view interlocks, and bypass interlocks. Now that the new tank
300 code has been tested the code can be copied to a new tank 400.
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, you will be doing a copy/paste of program TK300 to a new tank program TK400. For this
section of the lab, you will work in the Logical Organizer.
Switch to the Logix Designer window by using the Alt+Tab keys on your keyboard
In the previous section of the lab, you made Logix code additions offline and then downloaded the controller. In this
section you will be making code changes online with the running controller to demonstrate how code can be added
without interrupting the operations of a running plant. Open the Logix designer window.
If not in the Logical Organizer window, click on the Logical Organizer tab.
Right-click on the Logical Model (of the controller named) LAB and click on Paste Special with
Configuration.
Find and replace 30 with 40 and click the Replace All button. This will replace all tags 300 with 400, 301 with
401, and 302 with 402.
Click OK.
Because the controller is running and you are making edits to the code online, you need to choose how the edits
will be imported. Click OK to “Finalize All Edits In Program” during the import.
Right-click on the LI300 routine. Select Properties from the drop-down window.
Using the routine Properties window (like above), rename the other two routines to PMP401 and PMP402 as
below:
In the next section of the lab, the user will add TK400 device objects to the storage tanks display by copying the
TK300 display objects and configuring them for TK400. Using copy/paste helps to reduce engineering time.
The FactoryTalk View Studio window should still look as shown below. Use the cursor to highlight all the
TK300 objects.
Click Arrange from the editing selections on the upper menu bar. Click Group from the drop-down menu. This
groups the Tank 1 objects.
Right-Click on the display background and select Paste from the drop-down.
Click OK.
Click on the grouped TK400 to highlight it. Click on the Arrange button on the upper banner and choose
Ungroup.
Change the parameter 3 for the faceplate X coordinate from /X10 to /X510. This will move the faceplate to the
right. Leave parameter 4 as is.
Click OK.
Click on the “TK100 / TK200” button on the button bar of the client.
Click on the “TK300 / TK400” button. This refreshes the client screen with the display updates.
Click on the TK400 fill-pump PMP401 and click the start button to fill the tank.
Notice that the labels and descriptions for the TK400 pump and level objects still reflect the labels and
descriptions from the copy. In the next section of the lab, Commissioning the 5.1 Devices, you will learn how to
configure the tag descriptions and labels using the new workflow with the Process Library 5.1.
In this section, you will configure the faceplate tag descriptions, labels, and interlock names for the new tank.
For larger applications, this configuration would be completed using Rockwell’s PlantPAx Configuration Tool. This
off-line tool is covered in the “Tools to Help Deploy and Maintain a PlantPAx DCS” lab. For small applications
(such as this lab or skid maintenance) updating the tag descriptions and labels can be done from the new Logix
Dialog Boxes for 5.10 objects.
From the Maintenance Tab, click on the Display Advanced Properties button.
On the General tab note the SAMA (Scientific Apparatus Makers Association) diagram and command buttons.
This tab is new for PlantPAx Instructions starting with Studio 5000 Logix Designer v33. No need to create a
device object and faceplate in a display to test the interlock code.
Click on the Command Source tab. This tab is new for the 5.10 library.
Note the mode buttons. No need to create a device object and faceplate in a display to test the mode logic.
Click on the Advanced tab. This tab is new for the 5.10 library for motor configuration.
Click on the Alarms tab. This tab is new for the 5.10 library.
Click on the ellipsis button to the right of the Fail To Start alarm to open the alarm’s Properties window.
This workflow is new for the 5.10 library. All alarm configurations are now in Logix Designer.
Close the Alarm Properties window.
Click on the Tag tab. The Tag tab is like the Tag tab for 4.1 library blocks.
This workflow is new for the 5.10 library. The tag name and description can now be configured in Logix.
Click OK.
On the General tab note the SAMA diagram and limit entry fields. This tab is new for the 5.1 library.
Click on the HMI tab. This tab is new for the 5.1 library. Change the Display Label from LI100 to LI400.
Click on the Alarms tab. This tab is new for the 5.1 library. Note the alarm limits for the Low and Low Low
alarms. These are the limits that caused the alarms when you emptied the tanks. These alarm limits can also be
configured in Logix or on the Alarms tab of the faceplate for both the 4.1 and 5.1 libraries.
When the tank completely emptied the discharge pump continued to run. In the real world this could lead to
damage to the pump. You need to configure an interlock that will stop the pump on a empty tank level condition.
In this section you will again be making code changes online with the running controller to demonstrate how
interlock code can be added without interrupting the operations of a running plant. Note the PMP402 label and
desciption are now correct.
A routine can consist of multiple “sheets”. For the pump routine sheets 3 to 10 consist of the Interlocks
configuration for the pump. For this device you will add an interlock for a tank empty condition to trip the pump.
Click on the tab for the PMP402 routine. Use the down-arrow to select sheet 3 named “Interlock Bank 0”.
To make changes online to the interlock logic, click the Start Pending Routine Edits button.
Double-click on the input reference and type LI400.Inp_PVData or click on the down-arrow to open the drop-
down tag browser and select LI400.Inp_PVData.
The function blocks (or Elements) can be accessed from the Element banner. The blocks are grouped together by
functions (Add-On, Process, Drives, Filters ….). The LES block is in the Compare Element group.
Click on the Compare tab. This tab contains all the blocks that have compare functions.
Change the connector to value of 1. If the tank level drops below 1% we will consider it empty and interlock the
pump.
Next, connect the output pin from the connector value 1 to the input pin Source B of the LES block.
Finally, connect the LES block output pin to the Inp_Intlk00 input on the P_Intlk object.
Because the interlock was configured independent of any alarm condition, the alarms, overrides, disables, or
shelving of the alarms do not affect the action of the interlock.
Note the green border that indicates you are no longer in edit mode and are online. The LI400 input value is 0.0.
This indicates the TK400 is empty. Notice that the interlock is active (the output from the LES block is a 1).
The interlock is now added to the code, you still need to commission the interlock faceplate.
The General tab of the Properties Dialog Box shows the status of all the interlocks. Notice that Interlock 0 is Not
Ok because the tank is empty, and the interlock is active from the new code you added.
Click on the Advanced tab. Name the new interlock “Tank Empty”.
Expand the HMI tab and click on Type. Note the types for the interlocks. This is new in the 5.1 library.
Section Summary
The new workflow in 5.1 makes it easier to configure the device from a single programming environment, Logix
Designer. For small applications (such as this lab or small engineering or maintenance projects) this configuration
work would be done from the dialog boxes but for larger project application development, this configuration could
also be completed using PlantPAx tools.
With the 4.1 library, the alarm tags exist in the FactoryTalk Alarms & Events server and are all being scanned
constantly, no matter if they have changed state or not. This increases the loading on these servers. The
PlantPAx 5.1 Process Object Library that is embedded in firmware uses Logix Tag Based alarms which moves
the loading from the server to the controllers (thus decreasing server-side loading). By using Logix Tag Based
alarms, the 5.1 library alarms communicate more efficiently, reporting by exception rather than by scheduled
polling. For large systems with many alarms this can result in dramatic reductions in data traffic, freeing up
bandwidth for new data or reducing the number of required servers for a system. Large applications could see the
need for redundant data servers cut by 50% using the new communications method.
Click on the Controller Organizer. Double-click on the Alarm Definitions within the Alarm Manager.
When the 5.1 blocks are added in code, the Logix Tag Based alarms are automatically generated in the Alarms list.
No additional programming is required. The alarms are automatically sent to FactoryTalk Alarms and Events. Later
in the lab you will enable the Linx data server in Studio to support the 5.1 Logix Tag Based Alarms in the controller.
The Client screen should still have the TK400 discharge pump faceplate open as shown below. Notice that the
PMP401 discharge pump is now stopped and is indicating an interlock condition.
Note the diagnostics tab includes a list of reasons that the device is not ready. Notice that an interlock is not the
only reason for a device to be not ready. This is the first line of trouble shooting for the operator. Click the Device
Reset button to reset the interlock alarm. Close the faceplate.
Note on the LI400 faceplate that the double-down arrows indicate a low-low alarm condition. Flashing
indicates the alarm is active and not yet acknowledged. Click on the level indicator to open the faceplate, then
click the Alarms tab.
Click the button to Acknowledge the Low alarm. Notice the Low alarm stops flashing. Close the Low alarm
faceplate.
Click the Acknowledge and Reset Button to acknowledge and reset both alarms.
The Logix Tag Based Alarms, active on the faceplates, also show up on the alarm banner and on the alarm
summary. Tag Based alarms need only minor configuration to enable. Note that the active alarms show on the
device faceplates, and they also show up on the Alarm banner at the top of screen. It is because the data and
alarm servers are pre-configured in the lab.
For PlantPAx 5.10 configuring alarms in the alarm server and on the alarm displays has been made much easier
with new Tag Based alarms. With the 4.1 library the alarm tags are all being scanned constantly, no matter if
they've changed state or not. With the 5.10 library having the alarms in the controller (tag based) means that the
alarm tag is only sent to the data server when something changes. For large systems with many alarms, you are
eliminating a lot of tags on scan. Logix Tag Based alarms help decrease server loading.
There are two places in Studio that you need to configure to enable the 5.1 Tag Based alarms. The first place is in
the FTLinx Server Properties. In the Explorer window, scroll up to the PlantPAx_Data_Area. In the
PlantPAx_Data_Area, right-click the FactoryTalk Linx server and Select Properties.
The second configuration to enable the alarms is in the Linx data server Communication Setup. In the
PlantPAx_Data_Area and the FactoryTalk Linx folder, double-click the Communication Setup.
Note the check boxes for the Extended Tag Properties. These are used for the library 5.10 Logix Dialog Boxes.
Extended Tag Properties have been available since v31 of Logix Designer. For library 5.10 they have been
expanded to allow process device control and reduce the need for string tags and allow for language translation.
Summary
For the new Logix Tag Based alarms, there are two places in FactoryTalk View Studio that you need to configure.
The first place is in the FactoryTalk Linx Server Properties, and the second place is the Alarms and Events
settings for the device shortcut. To view the alarms on the operator client screen, add the new Tag Based alarm
banner to the HMI application framework.
Notice that the “(LAB) p2f storage tanks 3_4” display does not include the alarm banner at the top as part of the
display.
Note when the Client first opens it runs a macro, named “Area1000_Start”. The macro first displays the header
at the top of the client window and then the Storage Tanks screen is displayed below the header.
Each client file on the desktop runs a dedicated macro to display its area specific header including alarm banner
and area specific displays including button bars.
Example of the macro:
The alarm banner is part of a customized header display named “A1000_Slurry Header_1mon”. This is a header
display designed for a single monitor (_1mon) per Client hardware configuration and configured for the area.
Scroll to the right and Right-click the Alarm and Events Banner in the “a1000_slurry header_1mon” display
and select Properties.
Click on the Event Subscription tab. Note that the default scope is “(Any Scope)”. This banner will show all
active Logix Tag Based alarms in the data server (all controllers with a path set in FT Linx) and all 4.1 FactoryTalk
Alarms and Events (FTAE) alarms with no filtering by controller (5.1) or area (4.1). Click the Browse button to
select a specific Alarms and Events server and area. This feature allows operators in different plant areas to
concentrate on only alarms important to them.
Click OK.
You have now selected the specific Alarm and Events Server associated with this HMI server. Verify the scope is
as shown below.
Click OK again.
To test the Alarm Banner, Maximize the FactoryTalk View Client window by clicking on the client icon at the
bottom.
Open the TK400 fill pump PMP401 faceplate and start the pump.
Note that the PMP401 alarm for the interlock did not show up in the banner. The fill pump is configured with 4.1
objects and therefore does not use the new Tag Based alarms.
For 4.1 library alarms the alarms must be configured in the FTAE Alarm Server.
Note that this lab does not cover the configuration of the server based alarms other than to provide a short
overview with sample screens. For more details on configuring the alarms for the 4.1 process object library in
FT View Studio, reference the PlantPAx documentation.
For larger applications 4.1 alarm configuration would be completed using Rockwell’s PlantPAx Configuration Tool
for Alarms, Tags, and Historian. The tool is used to generate the alarm import file for the 4.1 Library objects used
in the controller. This tool allows bulk configuration of FTAE alarm for large process projects using Library
versions 4.1 and below. (Refer to publication PROCES-RM002 for more information on the tools.)
For the 4.1 library, the server-based alarms are configured in the FTAE Alarm Server in FT View Studio.
Note - the following two pages are for 4.1 alarms configuration and are for information only.
For the 4.1 library, the server-based alarms are configured in the FTAE Tag Based Alarm Server using the
Alarm and Event Setup (whereas the new 5.1 Logix Tag Based alarming is configured in each controller and on
the associated data servers).
Example:
Note that the Alarm Summary and the Alarm Banner displays also need to have the “scope” modified to include
the Server Tagbased FTAE alarms. In the lab you modified the scope of the Alarm Summary and Alarm Banner to
include the Logix Tag Based alarms. To also show the 4.1 alarms on the banner the scope must include the
FTAE alarm server in the scope.
Example only:
Section Summary
The 4.1 library server alarms are compatible with the Logix Tag Based alarms but require more development time
to generate the alarms (using the PlantPAx Configuration Tool for Alarms, Tags, and Historian) and more effort to
configure the server.
In the final section of this lab, you will use the 5.1 workflows learned in the lab to configure a PIDE control loop
and a variable speed pump, which can be used for controlling pressure, flow, or level in most process
applications.
In this section of the lab, you will configure a pressure control loop with a remote set point to a variable speed
pump. Why is this important? The pump added in the previous lab section was a simple start/ stop pump. The
pump you will add now is a variable speed. Variable speed pumps are used for flow, pressure, and level control in
process applications. The speed set point for the pump will be from a PID pressure controller. The PID controller
uses industry standard Proportional, Integral and Derivative algorithms to control the process variable. The control
strategies for the variable speed pump and the pressure control loop are included in the process library as sample
code.
In this section, you will import a pre-configured Control Strategy routine for a variable speed pump (PVSD) to the
TK300 program. Right-click on the program named TK300. From the menus select Add and then Import
Routine.
Replace all X with P (for pressure) and click the Replace All button. This tag is for the cascade SP connection
to the PPID block of the pressure control loop.
Replace all 410 with 300 and click the Replace All button. This tag is for the cascade SP connection to the
PPID block of the pressure control loop.
Click the button to Finalize All Edits in Program and click OK.
From the library CS_PPID folder Select the file (RA-LIB)CS_PPID_5_00-03_Routine.L5X, and click Open.
Replace all X with P. This tag is for the cascade SP connection to the PVSD block of the drive loop.
Click OK.
Click the button to Finalize All Edits In Program and click OK.
Next you need to add “Jump to Subroutine” (JSR) instructions to execute the new routines. Copy and paste an
existing rung to create two new rungs with JSRs for routines MT300 and PIC300.
Click on Yes.
Scroll over to display the both the PAI and PPID block in the function block editing window. The PAI block is the
analog input block for scaling and alarming. The PPID block is the PIDE controller and uses industry standard
Proportional, Integral and Derivative algorithms to control the process variable, pressure in this case.
Click OK.
Click Yes.
Using the same steps, you learned earlier in the lab, you will configure the storage tanks display with a PVSD and
a PPID 5.1 library objects. Configuring the parameters of these objects, you will connect these objects to the
PVSD and PPID tags created in the controller code in the previous section.
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.
In FactoryTalk View Studio, scroll down in the Global Objects folder and Double-click on the 5.1 Global Object
named “(raP-5-SE) Graphic Symbols - PVSD”. Note that all Global Object display names prefixed with “(raP-5-
SE)” are for the Process Library 5.1. All Global Object display names prefixed with “(RA-BAS)” are for the Process
Library 4.1.
Each device object is preconfigured in various orientations and with optional features. The motors are displayed
configured as pumps, conveyors, blowers, agitators, fans, and inline motors.
Drag-and-Drop a Pump object from the Global Objects display to the storage tanks graphic.
Drag-and-Drop a PPID object from the Global Objects display to the storage tanks graphic.
Click OK.
And select Global Object Parameter Values from the selection menu.
Click OK.
To test the code and graphic for the pressure control and VSD, Maximize the FactoryTalk View Client window
by clicking on the client icon at the bottom.
Click on the “TK300 / TK400” button. This refreshes the client screen with the display updates.
Click on the new pump and click the new pressure controller objects to open the faceplates.
Notice that the MT300 variable speed pump is not running and is in operator mode. Click the Start button.
Click on the Command Source button on the MT300 faceplate. Then on the small Command Source
faceplate, click the Request Program Control button.
MT300 is in program mode and is getting a remote setpoint from the PIC300 pressure controller. Close the
Command Source faceplate.
The CV (controlled variable) is the remote setpoint to the variable speed pump. Note the CV on the pressure loop
PIC300 did not change with the SP setpoint change because the loop is in manual mode. Click the button to put
the PID in Auto Mode.
The speed of the pump controls the pressure, the process variable (PV). In auto mode, given time the controller
will match the PV to the SP. Notice the PPID device state “PV Deviation not in deadband” message. You will now
configure the PV deviation from SP deadband limits from the client faceplate. Click on the Maintenance tab of
the PIC300 faceplate.
Click on the Leave DB (deadband) input box for the PV to SP leave error and enter 1. Click OK.
Return to the Operator Tab and notice that the deviation is in the deadband now.
Section Summary
You have successfully configured a pressure control loop to regulate the speed of a variable speed drive.
With PlantPAx engineering your modern DCS has never been easier.
Adding or replacing HART devices, even online, is made simple with fully integrated HART faceplates and device
diagnostics. From the Process Library 5.1 faceplates that render HART content automatically to the Integrated
device diagnostics profiles, adding a HART device is simple and Intuitive.
The first thing that we will need to do is create an Ethernet adapter module to communicate with a remote rack.
Within that rack we will need to add a HART I/O card capable of HIH.
Now we will add the 5094-IF8IH Module. Right click on the 5094 Backplane in the I/O Configuration Tree and
select New Module.
On the General tab, configure the module as shown below. Do not click OK yet.
Type “Promag 400” into the filter window and select the HART-Device-1169 Catalog Number from the list of
devices. Click Create
One of the great new features is the ability to create a HART device using PlantPAx Data types that can be easily
connected to the embedded firmware objects.
As with previous releases of the PlantPAx Library of Process Objects, Rockwell Automation will release a set of
pre-configured 5.1 Control Strategies for download to be used with Studio 5000 Logix Designer or Application
Code Manager (ACM).
From the library CS_PAI_HART folder, select the “(RA-LIB)CS_PAI_HART_5_00-03_Routine.L5X” control
strategy to import. Click Open.
Click the button to Finalize All Edits in Program and click OK.
Click Start Pending Routine Edits at the top left corner of the sheet.
Double click the “Select_HART_Device” tag in the Ref_HARTData parameter of the instruction. Replace it with
the Tanks_OutFlow:I.PAxDevice Promag device tag that we created earlier as shown below.
Note since there is no physical HART device connected to this lab controller, we will have to manually edit the
Raw and EU min and max values for this device. We will manually enter the Raw and EU min/max values.
Expand the tag and enter the values as shown below. You will have to expand
Tanks_OutFlow:I.PAxDevice.Static in order to access the PVAtSignal4 and PVAtSignal20 values.
Close the Controller Tags tab and Open the MainRoutine for Shared_Resources and add a JSR for the
newly created routine.
Copy the Generic Analog Input global object with no graphical indication of the PV (top left object).
Move the object adjacent to the shared outlet valve as shown below.
Refresh the folders and select the FI301 tag by navigating to PlantPAx_Data_Area > LAB > Online. Click OK.
Now let us launch the HMI client and see the power of the PlantPAx library. Maximize the FactoryTalk View
Client window by clicking on the client icon at the bottom.
Click TK100 / TK200 to navigate to the display and click the new FI301 object that we created earlier.
The Smart Device faceplate for FI301_Dvc is automatically connected to the HART device we configured in the
controller earlier. From this faceplate you can view a wide variety of data and configurations straight from your
HART device.
Note that there will be a Signal Failure error since we do not have an actual device connected in this lab.
• Operator Tab
The new Organization / Ownership / Arbitration functionality added in to the 5.0 release of PlantPAx gives the
user a new ability to organize their operations. These three controller-based functions are separate but are built
on or dependent on the same backbone. The new feature allows you to create organizational trees of related
devices directly from the HMI and manage and prioritize device ownership within these trees. The faceplates
allow an operator to get statuses and issue commands to equipment groups from a single request.
Organization:
Organization is a method by which parent / child relationships can be created and modified among control
objects. Organization provides a method to propagate a selected subset of commands (related to command
source, alarms, etc.) from the parent down to its children or propagate the aggregate of a selected subset of
status (related to command source, alarms, etc.) from the children up to the parent.
Organizational views can be many nodes deep and wide, and numerous organizational views can reference the
same devices to suit the needs of the user. The structure and view of these organizational trees can be modified
online from the HMI. This provides the ability to coordinate commands of related equipment and view their related
status (equipment modules or phase modules), or alternatively to monitor specific equipment or equipment types
as a maintenance function.
Ownership:
Ownership is built on the Organization backbone and is applicable to the control of phase modules or equipment
modules. The ownership function leverages the built-in class arbitration of the Owner object (Operator, Program,
External and Maintenance) to select the prioritized Command Source state (in the case where there is more than
one class of concurrent requests for ownership). Each request for ownership passes its unique Identification
number (ID) to the prospective Owner object. Once successfully processed, the owner/parent will attempt to own
and place all its control device children into Program state and accept the Owner’s ID. Once the parent and all the
children are organized (ID accepted, in proper CmdSrc state & ready), the related equipment is considered
“Owned and Organized”.
Ownership does not execute any logic itself but can provide status indicating that it is “Owned and Organized” to
external logic that can then execute its logic on that same equipment.
Arbitration:
Arbitration of shared resources optionally has two levels. The built-in Command Source forms the basis of
Ownership and arbitrates the “class requests” for ownership. That is, who has priority – Program, Operator,
External or Maintenance class?
Due to time constraints in this lab, we will not be configuring the device organization within your controller
project, but the device organization model is the basis for all other device ownership, arbitration, and group
control within your application.
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. The Rockwell Automation Library of Process Objects™ is a
collection of Application Templates, Application Code, Graphic Objects, Faceplates and Process Control
Strategies that let you quickly configure a device from I/O to operator.
PlantPAx is focused on solutions for productivity gains in multiple areas of the plant, using a more simplified
approach to control system strategies. In the 5.0 release, Rockwell Automation introduces new process
controllers that help to improve scalability and skid integration, as well as provide a more simplified, lower-cost
architecture due to higher controller performance. Embedded native process objects help to reduce engineering
costs and drive more consistency in projects. New cybersecurity capabilities and system certifications help to
ensure safer and more secure operations.