Introduction To The PlantPAx Distributed Control System Lab Manual REV2
Introduction To The PlantPAx Distributed Control System Lab Manual REV2
Introduction To The PlantPAx Distributed Control System Lab Manual REV2
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, 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 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.
In the engineering section of the lab, we will familiarize the user with the steps necessary to start development of
a PlantPAx™ Distributed Control System (DCS) project using Studio 5000 Architect and the Rockwell
Automation Library of Process Objects. In the operations section we will explore the library faceplates and
operate several simulated PlantPAx process applications.
PlantPAx is the modern DCS from Rockwell Automation with all the core capabilities expected from a world-class
DCS. 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.
The PlantPAx modern distributed control system offers process control and more:
Use Studio 5000 Architect and system templates to develop a PlantPAx application
Leverage Controller Application templates and Process Strategies from the Rockwell Automation Library of
Process Objects to configure tank level control.
Leverage HMI Application templates to configure an HMI display with device objects.
Configure alarms and explore the library Sequencer object
Run a simulated waste water application
This lab uses a VMWare Workstation© image virtualized environment. All the software tools required for this lab
are installed within this image running on your lab host PC. These tools include:
The current release of the library, v3.5, supports Studio5000 Application version 24 and later. 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 following initial setup steps are needed before we can start the lab.
If the controller in slot 2 is faulted (“red lighted”), Right-click on the controller in slot 2 and click on Clear Major
Faults in the drop-down window.
Controller properties and code are modified using Studio 5000 Logix Designer.
Double-Click the Studio 5000 icon on the left side of the desktop to open Studio 5000.
In this section of the lab, you will learn how to organize and configure your controller using pre-configured process
strategies that are imported as routines into a controller application. We will add new code for a tank, including a
pump and a level transmitter, to Task D running at 500ms.
In this section, we will import a pre-configured Process Strategy routine for a motor (PS_Motor) into the program
named Tank1. A motor can drive a blower, conveyor, mixer, agitator or a pump. We are configuring a pump to fill
the tank.
Right-click on the program named Tank1. From the menus select Add and then Import Routine.
The Import Configuration window will open. From this window we can configure the new routine during the import
process. First, change the Final Name for the routine from MT100 to Pump. Do not click OK.
This sample motor routine can be used for various motor driven devices. Because we are adding code for a pump
we also need to modify the imported tagnames by replacing the “generic motor designator” MT with PMP during
the routine import.
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. Confirm that seven occurrences of MT were found
and replaced with PMP. Now click OK.
Verify that all the instances of MT have been replaced with PMP in the tagnames and input/output reference
connectors with no errors. The pump control routine is done.
Section Summary
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. Starting with library version 3.5, process strategies are provided with the library as sample
code (named Process Strategies from the RA Library of Process Objects).
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.
Again, Double-Click the Studio 5000 icon on the left side of the desktop to open Studio 5000.
This time under the Recent Projects tab click PlantPAx. This will open an existing HMI project in the HMI designer
software named FactoryTalk View Studio.
Wait a short time while the FactoryTalk View Studio application opens.
Expand the Displays folder and scroll down (the displays are listed alphabetically) 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 navigation button bars. The next step will be to add a pump 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.
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.
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.
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 Parameter 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 ellipsis button in the column named Tag to open a Tag Browser window.
Expand the directory named PlantPAX/Area/Data/PAC01 (“PAC01” is the data server shortcut name for the
controller in slot 2 in the Emulator). Then expand the subdirectory named Online.
Scroll-down the list and select the tag PMP100. Verify that the Selected Tag is /Area/Data::[PAC01]PMP100.
The configuration for the pump object is complete, you can click on the Save button to save the updates to the “P1f
Home” display.
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.
The Studio 5000® templates and libraries can help reduce the engineering time to assemble your integrated
architecture and process application.
With PlantPAx, engineering your modern DCS has never been easier.
After the Client window opens, click on the lab button on the button bar.
Note: The header, button bar, and alarm banner are samples included in the Framework templates.
Click on the MT100 pump object to open the pump control operator faceplate.
When the discharge pump starts running, the tank empties. Note the tank will automatically reset to 100% once it
empties to below 1%. Close the pump faceplate.
In this section, you will see how to configure the tag descriptions, labels, and alarms from the faceplates.
The faceplate label and tag description are still at their default values from the PS_AIn Process Strategy template.
We need to change this text to LT100 Tank Level. Click on the Engineering Tab.
To make changes from the Engineering and Maintenance tabs, the user must have the appropriate access rights.
Due to time constraints, we will not be addressing login security in this lab. The current login, “Labuser” has the
highest level of security access.
This faceplate label and description text is stored in the controller tags therefore when changing text you must hit
the Enter key to download the new data to the controller. Enter “Tank Level" and “LT100” as shown below, hitting
the Enter key at each field.
The alarm thresholds for the tank level can also be configured from the faceplate. Click on the Low-Low alarm
threshold value to launch the numeric keypad entry window. Change the Low-Low alarm to a value of 80 and
click OK.
Note: PlantPAx has available an Alarm Configurator tool for configuring a large number of alarms.
The alarm configuration faceplate will open. Notice that the Low Low Alarm is not configured to exist for this
device. Click Alarm Engineering Tab to configure the alarm to exist.
Once the level falls below 80% the Low Low alarm will activate and the the alarm box will flash red.
If you wait for the level to reset to 100% and click on the Alarm Acknowledge button the alarm indicator will
stop blinking.
Section Summary
The docked Header and Footer displays are part of the Framework displays contained in the HMI template that
also includes button bars and alarm history and help displays. The Rockwell Automation Library of Process
Objects Faceplates let you quickly configure and control a device.
In this section of the lab, we will simulate several faults on a PowerFlex drive and monitor the fault diagnostics
that are built into the P_PF755 Process Object faceplate. We will also interact with the Lead/Lag/Standby Motor
Group object.
This process uses four PowerFlex 755 drives and a PID controller to maintain level in a tank. The four drives are
being automatically started and stopped by a Lead/Lag/Standby Motor Group Object (P_LLS).
Click on the P801 Motor Group. This will launch the Lead/Lag/Standby motor group faceplate. Pumps 801A,
801B, 801C, and 801D are configured as pumps 1, 2, 3, and 4 respectively in the motor group.
The current pump order is shown in the lower left corner of the faceplate. Currently, pump 2 is the lead and pump
3 is the lag.
As the level decreases, the PID controller will decrease the speed of the discharge pumps. When the controller
output drops below 30%, the motor demand will decrease to 1 and the lag pump will be stopped.
As level increases, the PID controller will increase the speed of the discharge pumps. When the controller output
rises above 90%, the motor demand will increase and the lag pump will be started.
Click on the button to simulate a bus overvoltage on pump P801a (pump 1).
A drive fault alarm appears appear in the alarm summary, and the drive object indicates an alarm condition.
Notice the P_LLS faceplate now indicates that pump 1 is not available.
The specific drive fault is identified on the bottom of the home tab of the drive faceplate. In this example, a Bus
Overvoltage fault is active for P801A.
Click the alarm tab of the faceplate. This tab also indicates a drive fault alarm and identifies the specific fault.
Notice that pump 801D was started and pump 801C now indicates an alarm condition.
On the motor group faceplate, we can see that both pumps 1 and 3 are now out of service, and pump 4 has
become the lag pump.
We can see that the faceplate indicates that a drive fault occurred due to a power failure.
In the alarm list, right-click on the P801C Drive Fault and then click Ack to acknowledge the alarm.
Right click on the P801C drive fault alarm and then click Run command.
Trip pump 801D by clicking the button to simulate a bus undervoltage on P801D.
When pump 4 stops, the PID controller output will increase to 100% to try to maintain the level. Pump 2 will not be
able to handle the demand, so the motor group will attempt to start a second pump, but there are no pumps
available. The level will eventually reach a high level.
You’ll see that the motor group object and faceplate now indicate an alarm condition “No motors to start”.
Pump 1 becomes the lag pump and is started. The alarm condition clears on the motor group. Acknowledge the
alarm by clicking the acknowledge button on the faceplate
The Premier Integration experience from Rockwell Automation represents the next level of controller
and device integration. It combines the functionality of an automated control system with the resources
in the field device and communication infrastructure.
Premier Integration simplifies and streamlines system design, maintenance and operation.
In this section of the lab we will operate and interact with a simulated reactor designed with good alarm
management practices. We will see how device alarms and device diagnostics help operators and maintenance
personnel trouble shoot issues.
You will be using graphic screens developed with standard library 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 (example below). This allows rapid development of the plant graphics.
Notice that during the last batch the product temperature reached a high alarm level. The product temperature
still indicates the alarms because they have not been acknowledged and reset. Click on the product
temperature indication to open the faceplate.
We will now run a batch of product through the reactor. In this section of the lab you will run the reactor manually
to operate from the device faceplates. Later in the lab you will be running an automated process to get familiar
with the Process Library Sequencer object.
First we need to empty the reactor. Click on the drain valve to open the faceplate.
Click on the green open button to open the drain valve. When the valve opens the drain pump can be started.
When the level in the reactor reaches 0% the pump will automatically stop. Click on the red close button to close
the drain valve.
Click on the expand button to open the full multi-tabbed valve control and configuration faceplate.
Notice that the buttons for alarm shelving are visible and available to the operator. Click the
Shelve button to shelve the alarm.
With production running high and facilities operating with fewer people, alarm management has become a key to
achieving operational excellence, increasing plant safety, and reducing loss of product and unplanned downtime.
To run the reactor again we will first need to fill it above 75%. Click on the Premix 1 Inlet Flow Totalizer
FQ_101_R object to open the totalizer faceplate.
Click on the Premix 1 Inlet Valve XV_101_R to open the operator faceplate for the valve.
With the reactor level above 75%, we can now start the agitator. Click on the agitator to open the faceplate.
The reaction continues and the operator is not overwhelmed by alarms and reacts to the temperature alarm and
notices the controller is not in auto mode. Place the Product Temperature controller in auto mode.
The product temperature returns to normal operating range and the batch is saved.
Section Summary
With production running high and facilities operating with fewer people, alarm management has become a key to
achieving operational excellence, increasing plant safety, and reducing loss of product and unplanned downtime.
The Library Faceplates built in device alarms and device diagnostics help operators and maintenance personnel
quickly trouble shoot issues.
Cleaning in Place (CIP) has been around for approximately 50 years, and is commonly used in industries, such as
Food, Beverage and Pharmaceutical, to clean a wide range of the plant. CIP refers to the use of a mix of
chemicals, heat and water to clean machinery, vessels or pipe work without dismantling the plant. This process is
usually an integral part of any automated plant.
To familiarize the student with the operation of the library’s P_Seq sequencer object, we will run a sequence for
performing a quick rinse cleaning cycle on a simulated storage tank.
The sequencer for Storage Tank 1 can perform either a “Quick Rinse” or a “Full Cycle” cleaning based on
operator selection. First, we will run through the seven-step Quick Rinse sequence to get an understanding of the
basic sequencer functions. Click the Sequence Control Window display button labeled “Tank 1 Full Cycle” to
launch the sequencer faceplate.
Click the magnifying glass button on the Sequencer faceplate to display the Run-Time Sequence window.
Drag and position the run-time sequence window to the right of the tank as shown below.
As the sequence is running, the run-time sequence window will provide details on the operation of the sequence.
Output
status
indicators
turn blue
when the
output is ON
Step 1 will prompt us to select a cleaning type. An orange circle with an exclamation point will appear next to
several buttons on the screen. These notify the operator of a pending prompt that needs an action. Click the
Prompt button on the run-time sequence window to open the pending prompt window.
.
If an operator response to a prompt is required within a certain time we can configure step time alarms to alert
operators. This sequence has been configured with no step time alarm.
At the prompt window, verify that Quick Rinse is selected and click the Acknowledge check mark.
Step 4 will open the rinse valve and add rinse for a configured period of 10 seconds.
Step 6 will circulate the tank contents for 10 seconds through the spray valve.
Once the tank is empty the sequence will jump from step 7 to step 20 where it will put all devices in a done state.
Step 21 will end the sequence. This sequencer is configured with 20 steps. Steps 8 through 19 are included in the
full cleaning cycle sequence. The sequence faceplate will indicate that the sequence is complete and the reset
button will become available.
Click the reset button to return the sequence to the idle state.
The Sequence Control Window faceplate has tabs for Maintenance, Engineering, Diagnostics, and Alarming.
Once the logical connections to devices have been made in the code, the actual configuration of the sequencer
steps is done from the faceplates.
The sequence consists of simple device control with operator prompting and no configured step timer alarms. As
with other PlantPAx Library objects, the Sequencer object also has configurable Permissive and Interlock inputs
and supports linking navigation to P_Perm and P_Intlk objects.
From the inputs and outputs Sequencer Configuration window, we can configure the inputs and outputs for the
particular sequencer. There are three configuration tabs: discrete (BOOL) inputs, discrete (BOOL) outputs, and
floating-point (REAL) outputs.
This sequence uses 13 inputs (Inputs 0 through 12). These inputs are used to configure the step changes or
transitions.
Click the “Display Multi-Step Config Window” button in the lower right of the engineering faceplate.
Note that from this window, we can configure what is to occur in each individual step of the sequence. From here,
each step is configured with the inputs, timers and other properties for the step.
Close the Multi-Step Configuration Window.
First, we ran the Quick Rinse cycle. In this section of the lab, we will run the Full Cleaning cycle sequence and
observe several additional features of the PlantPAx Sequencer.
The full cycle sequence will perform several cycles of cleaning in the following order:
Rinse Cycle (Add Rinse for time, Circulate, Empty Tank)
Caustic Cycle (Add Caustic to level, Circulate, Empty Tank)
Repeat Rinse Cycle
Acid Cycle (Add Acid for time, Circulate, Empty Tank)
Repeat Rinse Cycle
Click the magnifying glass button on the faceplate to display the Run-Time Sequence window again.
Again, Drag and position the run-time sequence window to the right of the tank as shown below. As the
sequence is running, the run-time sequence window will provide details on the operation of the sequence.
From the detailed sequence display, click the “Request sequence to pause at next pause point” button as
shown below.
Step 1 will prompt us to select a cleaning type. Notice an orange circle with an exclamation point appears next to
several buttons on the screen. These notify the operator of a pending prompt that needs an action. Click the
Prompt button on the run-time sequence window to open the pending prompt window.
.
The sequence will run through the first rinse cycle steps 1 through 5. When the sequence reaches the end of step
5, it will pause and alert the operator. The outputs that were turned on during step 5 will remain on until the
operator resumes the sequence. In this example, the tank contents will be recirculated until the operator resumes
the sequence.
In steps 6-10, the tank will be rinsed and emptied. When the rinse cycle completes, the sequence will continue
with a caustic rinse cycle. On step 11 another operator prompt will appear. Click on the prompt button to launch
the prompt window.
Caustic is added until the tank level reaches the setpoint that we entered. In steps 13-15, caustic is circulated
through the spray balls, the tank will be rinsed and the acid cycle started.
Anytime during the following caustic, acid or rinse cycles, place the sequence in hold mode by clicking the Hold
Sequence button.
The outputs will go to the state that was configured as the Held state. In this lab, all outputs were configured to be
turned off as shown on the outputs configuration window below.
The outputs will remain in their “Held” state until the sequence is restarted. Restart the sequence by clicking the
Restart Sequence button.
The sequence will restart at the step where it was held and will continue to perform several cycles of cleaning in
the following order:
Rinse Cycle (Add Rinse for time, Circulate, Empty Tank)
Caustic Cycle (Add Caustic to level, Circulate, Empty Tank)
Repeat Rinse Cycle
Acid Cycle (Add Acid for time, Circulate, Empty Tank)
Repeat Rinse Cycle
After the full cycle concludes, the sequencer will indicate complete. Click the Reset button to return the
sequence to idle mode and close the Tank 1 Full Cycle Cleaning sequencer faceplates.
The Sequencer Object (P_Seq) provides a flexible controller-based step sequencing solution that
reduces engineering time by automating common operator procedures. The step-by-step configuration
makes it easy to adjust procedures directly from the HMI.
The Wastewater application in this section of the lab, provides several examples of wastewater processes that
have been configured using the PlantPAx® Library objects as building blocks.
In this process, raw influent enters a wet well basin where bar screens are used to remove solid pieces of waste
from the wastewater. Variable speed pumps transfer the contents of the wet well basin to a primary clarifier.
The pump speed is controlled either by a wet well level controller, a forward flow controller, or the higher, the
lower, or the average demand of the two. The operator selects the control mode by clicking a radio button at the
bottom of the display. Notice that currently, the forward flow controller is setting the speed demand for the pumps.
Change the control mode to Wet Well level control by clicking on the radio button shown below.
Click on the level controller, LIC1036, to launch the quick faceplate for the P_PID controller.
The speed of the pumps will increase again, to decrease the level in the wet well basin.
Move the faceplate to the right, so it is not covering the pumps. The pump group is in program mode by default
for this demo. Click the button to request operator mode.
Click the Request Program Mode button to return the pump demand to program control and all three pumps will
be started.
Notice that the first pump is configured to shut off at 9 feet and the second pump at 7 feet.
For sake of time in the lab, change the 2nd Pump Off setpoint to 8.5 FT.
When the level drops below 9 feet, the motor demand will decrease to 2 and one of the pumps will be stopped.
As the level continues to drop, the second pump will be stopped once the level drops below 8.5 feet.
Drag the slider to the right to increase the raw influent flow. Eventually, all three pumps will turn back on to keep
up with the demand. If time allows, return to this display later in the lab to observe the status of the pumps.
In the aeration process, cascaded controllers are used to control the amount of air flow into the aeration basins in
order to maintain the dissolved oxygen (DO) at a configurable setpoint.
Notice for Aeration Basin 1, the current setpoint for DO is 5.0 PPM and the air flow setpoint is approximately
100SCFM.
Watch the air flow into the tank increase, in order to increase the amount of DO in the aeration tank.
Click on the belt thickening valve, XV8112 to open the P_ValveSO faceplate.
Click the open valve button. The interlocks on the WAS pumps will clear.
The WAS pump group motor demand increases, and the WAS pumps are started by the pump group.
The P_Seq process object is used to fill and drain the digesters.
Select Fill, enter ‘10’ for the level setpoint, and ‘50’ for the flow setpoint. Click Acknowledge.
When the digester level reaches 10 feet, the flow valve will close and the sequence completes. Click the reset
button.
Select Drain, enter a level setpoint of 2, and enter 20 as the flow setpoint. Click the acknowledge checkmark.
Click reset.
Section Summary
Water companies using an integrated control and visualization system for wastewater treatment, and other
process industries, can expect reductions in design time and enhanced process control. Rockwell’s portfolio of
products, systems, templates and libraries provide you with the tools you require to engineer and maintain your
plant.
With PlantPAx, engineering your modern DCS has never been easier.