L01 - PlantPAx DCS Eficiencia e Rapidez em Execucao de Projetos - Lab Manual
L01 - PlantPAx DCS Eficiencia e Rapidez em Execucao de Projetos - Lab Manual
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.
PlantPAx™ is the modern Distributed Control System (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.
A traditional distributed control system (DCS) is built for only one purpose — process control.
But in today’s competitive economy, you need to consider forward-thinking possibilities and utilize technology and
innovation to your advantage. It’s 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. The only way to do that is through the technology offered by the modern DCS — the PlantPAx system.
The PlantPAx modern distributed control system offers process control and more:
Studio 5000
The Studio 5000® environment combines engineering and design elements into one standard framework that
enables optimized productivity and reduced commissioning time. With the Studio 5000 environment, you can
respond more quickly to changing market and business needs, while reducing total costs of ownership, including
maintenance and training. 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.
Studio 5000 Architect provides an integrated environment that contains Logix devices, FactoryTalk View Servers,
PanelView Plus terminals, and Stratix Network Switches. Additonal features of Studio 5000 Architect include:
• Graphical Layout of System – Create a graphical representation of your system for easier system
modifications
• Initial Architecture and Project Configuration – Bulid Logix and FactoryTalk View projects from an
integrated environment
• Re-Use of project content – Re-use Logix and FactoryTalk View content as well as use content from the
Rockwell Automation Library of process objects
• Data exchange wtih engineering tools - Exchange hardware configuration data with tools like EPLAN
The RA Library of Process Objects is a predefined library of Application Code, Graphic Objects, Faceplates,
and Process Strategies 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.
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.
Double-Click the Studio 5000 V24 icon on the desktop to open Studio 5000.
The Studio 5000 Common Launcher appears. Under Create, click New Project.
In the project pane, select Architect as the Project Type. This project type will contain HMI and controller
components.
Select the Distributed Architecture – Single Process Server template. Enter “Lab” as the project name and
click Finish.
Please wait while the architect project is created. This may take a few minutes.
This Architect project template is preconfigured with five controllers. Rockwell supplies various templates as
starting points for engineering a project. They can be downloaded free from the Rockwell Product Compatibility
Download Center at: http://www.rockwellautomation.com/rockwellautomation/support/pcdc.page. For lab
purposes, let’s suppose we do not need controller racks LGXC04 and LGXC05. Hold the cursor down and draw a
rectangle around the two controller racks to highlight them and then click the red X Delete button.
We can also import an existing controller project into our Architect project. Prior to the lab, we created a Logix
controller file using the Basic Library template, which includes a subset of the Rockwell Automation Process
Library Add-on instructions. For lab purposes we have added code for process and I/O simulation.
To import this existing project, right click on Projects, select Add, and Existing Project.
Select the PAC01.acd file from the Lab Files\Logix5000 folder. (PAC stands for Process Area Controller). Click
Open.
Click OK to add the controller project PAC01.ACD to the Process Area of the Architect project.
Wait for the controller to import. This may take a few minutes.
The imported project contained a 7-slot controller rack with an EtherNet communication module (1756-EN2T)
in slot 1 and a 1756-L75 controller in slot 2. Slots 3, 4, and 5 contain I/O modules for analog inputs, digital inputs
and digital outputs.
Controller Properties and code can be modified using Studio 5000 Logix Designer from within the Architect
application. Open Studio 5000 Logix Designer by right-clicking on the PAC01 controller in the Project Explorer
pane. Then select Open Project in Designer.
Changes can be made to the controller (.acd file) from within Logix Designer and then those changes can be
synchronized with Architect. As an example, let’s change the controller type in the PAC01 controller. Click on
the Controller Properties button to launch the Controller Properties window. Click Change Controller.
Change the controller from an L75 to an L74 by selecting 1756-L74 from the controller type dropdown menu.
Click OK.
Synchronize a layout
Synchronizing a layout updates all the changes made in an associated Logix Designer or FactoryTalk View
application into Architect software components files. Any differences in the Architect components are
overwritten. To synchronize a layout, Maximize the Studio 5000 Architect window.
In the Project Explorer pane, , expand the Hardware Diagrams folder, then right click on the PAC01 project
and select Synchronize Project.
When the Ethernet Configuration dialog box appears, review the Ethernet connections, and then click OK to
accept the current Ethernet Configuration.
.
Section Summary
The Studio 5000 Architect application can be used to quickly define the controllers and servers that comprise
a PlantPAx Distributed Control System. It can help reduce the engineering time to assemble your integrated
architecture and process application
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 tab.
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 rename the main program in Task D from Task_D_MainProgram to Tank1. Double-
click on Task_D_MainProgram to open the Program Properties window.
We will now add new code for the tank, including a pump and a level transmitter, to the program named
Tank1.
Process 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, including all components like AOI's, UDT's, Routines, Tags, and then paste it, as
one, to create more tanks to reduce engineering time.
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.
Browse to the Process Strategies folder and select the file for a motor,
(RA-LIB)PS_Motor_3_5-00_ROUTINE.L5X, and click Open.
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.
Verify 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 except that the input/output reference connectors need to
be associated to simulation tags or I/O module channels.
Later in this section, we will use a new feature of V24 called Program Parameters to connect the input/output
reference connectors while the controller is online.
For the tank level transmitter we will import a generic Process Strategy template for an analog input. Select
the Process Strategy (RA-LIB)PS_AIn_3_5-00_ROUTINE.L5X import file and click Open.
Click on the Tags folder in the Import Content area of the window.
Notice that tag references in the Process 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.
The routine for the tank level is now almost complete. The I/O references still need to be connected to simulation
or I/O module channels.
New Feature: Program Parameters can be used to associate (connect) the I/O reference connectors to
physical I/O or simulation code and they can be changed while the Processor is on-line. Alias Tags can
also be used to associate (connect) the I/O reference connectors to physical I/O or simulation code but they
cannot be changed while the Processor is on-line.
To view the local tags to Tank1, click on the Parameters and Local.
Program Parameters allow you to associate tags with I/O while on-line or off-line (later in the lab we will
associate I/O while the controller is online). Let’s see how this tag and I/O association is done.
In the tag list, Navigate to the simulation tag “\Tank1.Sim_Level” and double-click it.
To associate the pump PMP tags to simulation, Click on the drop down menu arrow in the
Connections column and navigate to the simulation tags as shown below. Connect the pump run feedback
and pump run parameters to the simulation tags as shown below.
The ladder Code Editor will open because the Tank1 MainRoutine is written in ladder logic code. The
MainRoutine is a continuous routine that always runs. It is used to monitor and alarm the Task’s execution time
and to execute other routines.
A new rung has been added to the bottom. The e’s 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.
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 quickly add a Jump to Subroutine (JSR)
instruction to Rung 2, put the cursor on the rung and type JSR and click the Enter key.
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.
Now we need to add another rung for the JSR that will execute the Level routine. We will do this by copying
Rung 2. Click on Rung 2 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.
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.
RSLogix Emulate 5000 software is an engineering tool that is capable of emulating a Logix controller.
Wait for the controller project to update. This may take a few minutes.
Note: From this point forward in the lab we will no longer be able to synchronize this project with Architect,
since Emulator is not a supported controller type in Architect.
Wait for the “emulated controller” download to complete. This may take a couple of minutes
RSLogix Emulate 5000 software is an engineering tool that 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.
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.
Process 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.
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 project
separately. In the following lab section, we will build HMI objects and displays through drag and drop procedures in
Studio Architect.
Studio Architect has a Project Explorer window on the left side and a Library Management window on the right.
Rockwell supplies a set of library templates (complete with displays, Global Objects, Images, and Macros) in the
form of HMI templates. The library components can be dragged from the Library Management window into project
areas in the Project Explorer window.
The Displays, Global Objects, Images, and Macros from the HMI template and the process object library will now
be added to the View project in your Architect application.
The Displays, Images, and Macros from the HMI template have now been added to the View project in your
Architect application.
In the Library Management pane, expand the Libraries\Process Library (v3.5)\Process Objects folders.
Drag-and-drop the FactoryTalk View SE folder from the Library Management Pane to the PlantPAx_HMI
folder in the Project Explorer pane.
The Global Objects from the process object library have now been added to the View project in your Architect
application.
Section Summary
The Displays, Images, Macros from the HMI template, and the Global Objects and images from the process
object library, have all now been easily added to the View project in your Architect application using simple
drag/drop library management.
Configuring the HMI, Data and Alarm Servers for the PlantPAx System
The HMI Server “serves” the graphics up to the operator display clients, the Data Server handles the
communication of data to and from the controllers, and the Alarm Server handles all alarms and events. Each of
these software Servers within the Architect application need to be configured.
Scroll to the bottom in the Project Explorer window and Click ‘+’ to expand the Hardware Diagrams folder and
then expand the Process Area. Right-click on PASS01 and then click Properties.
The Computer Graphic Properties dialog box will open. On the general tab, verify the Graphic Name is PASS01.
On the Device tab, type the computer name that hosts the PASS. In this lab, the computer name is ASEWS01.
Type the computer name, ASEWS01 and click OK.
We will now configure the controller connection. On the process area hardware diagram, drag the
communication module from the PAC01 chassis slot 1 and drop it into the PASS01 server.
When the communication module is dropped onto the PASS server, the Configure Module dialog box appears.
Leave the defaults and click OK.
Drag the controller from the PAC01 chassis slot 2 and drop it into the PASS01 server.
Notice that the controller shortcut now appears in the communications pane.
Note: we will modify this shortcut later in the lab to point to the emulate controller.
In the Project Explorer, expand the Lab\Projects\PlantPAx\Area\Alarm folders. Right click on PlantPAx_AE
and select Properties.
The Tag Alarm and Event Server Properties dialog box appears. Studio Architect defaults the alarm name and host
computer.
In the General tab, type a Description, such as Lab AE Server. Click OK.
Committing a project pushes all changes made to it in Architect into the associated Logix Designer or FactoryTalk
View project file. Any differences in the project file are overwritten.
When finished is checked, click Closed in the Commit dialog box to complete the configuration of the servers.
In Summary
The HMI Server, Data Server and Alarm Server were configured in Architect. We then committed the configuration
changes made to the project in Architect into the associated FactoryTalk View project file.
FactoryTalk View Studio is configuration software for developing and testing PlantPAx HMI applications.
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
Wait a short time while the FactoryTalk View Studio application opens.
When FactoryTalk View Studio is completely open, expand the PlantPAx\Area\Data\PlantPAX_DAT folders
and then double click on Communication Setup.
The PAC01 controller shortcut is currently directed to the 1756-L74 controller that we configured in Architect.
Since we are using the emulator in the lab, we need to re-direct the controller shortcut to the Emulator.
Note: The communication setup can typically be configured within the Studio Architect software, but in the lab
setting, we are using Emulator, which is not yet a supported controller type in Studio Architect.
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 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.
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.
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.
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.
Scroll-down the list and select the tag PMP100. Verify that the Selected Tag is /Area/Data::[PAC01]PMP100.
Click OK.
Right-click on the new Analog Input object 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 Level into
parameter 1. Type {/Area/Data::[PAC01]LT100} or click the ellipsis button and select
{/Area/Data::[PAC01]LT100}. Click OK to accept the updated parameter.
The display is functional but can be customized with tanks, piping, and more using the included 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.
The following section introduces and uses the Symbol Factory HMI library to add a tank symbol to the display.
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.
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
Simulation code has been preconfigured in the PAC01 controller to simulate an increase in tank level when
the pump is running.
Click on the Save button to save the updates to the “P1f Home” display.
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.
From the FactoryTalk View Studio software Tools menu, choose Launch SE Client.
Select the type as Network Distributed. This filters the SE applications to only the type we want to connect
to; in this case Network Distributed applications only. Click Next.
Click the ellipsis button to select an Area name. Choose PlantPAX/Area in the browser and click OK.
Click Finish.
Wait for the project to load and the client window to open.
From the operator faceplate, click on the green start button to start the pump.
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.
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 window, Right-click the program Tank1 and click Copy.
Schedule the new Tank2 program in Task_D_500ms by using the drop-down menu.
Notice that tag references in the Process 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. Then click the Replace All button. Now click OK.
Right-click on the grouped tank objects and select Duplicate from the dropdown menu.
In the Tag Substitution window Search for 100 and Replace with 200. Click the Replace button.
Click on the Save button to save the updates to the “P1f Home” display.
To test the code and graphic updates, Maximize the FactoryTalk View Client window.
At the lower corner of the View Client screen, click the Refresh button to view the updated display.
Notice that the labels and descriptions for the pump and level objects still reflect the XT100 and MT100
descriptions, which are the default descriptions from the process strategies. In the next section of the lab,
commissioning the Device Faceplates, you will learn how to configure the tag descriptions and labels.
From the FactoryTalk View Client window, click on the Home Screen button on the button bar to display
the tank screen (if not already displayed).
Notice that the labels and descriptions for the pump and level objects still reflect the XT100 and MT100
descriptions, which are the default descriptions from the process strategies. In this section of the lab,
Commissioning the Device Faceplates, you will learn how to configure the tag descriptions and labels.
The faceplate labels and descriptions are still at their default values from the PS_AIn Process Strategy
template. We need to change this text to “Tank 1 Level" and “LT100” as shown below, hitting the Enter key
at each field. (Note: this data is stored in the controller; you must hit Enter in order to download the new data
to the controller.)
Note: To make changes from the Engineering tab, the user must have the appropriate access rights. Due to
time constraints, we will not be addressing security in this lab. The current login, “Administrator” has the highest
level of security access.
The alarm thresholds for the Tank 1 level also need to be configured. Click on the Maintenance tab of the
faceplate. This tab allows us to change the alarm setpoints (Thresholds). Change the PV Low-Low alarm
Threshold to a value of 1.00. (Click on the value to launch the numeric keypad entry popup).
Note: In this lab we are configuring a single alarm limit. There is a PlantPAx Alarm Configurator tool available
for configuring a large number of alarms.
Click on the Lo Lo Alarm indicator box. The alarm configuration faceplate will open. Notice that the Low Low
alarm is not configured to exist. Click Engineering Tab to configure the alarm to exist.
Click the box for “The alarm is configured to exist and will be scanned”. Note that the once the Level is below
the Low Low alarm threshhold the alarm will activate and the the alarm box will flash red.
Click on the Alarm Acknowledge button and the alarm indicator will stop blinking. It will remain red until the
alarm condition clears.
Edit the description, label and tag as shown below. (Be sure to hit Enter after each text entry).
Note: The motor Process Strategy that we used is preconfigured with motor run feedback, permissive,
interlock, and restart inhibit objects enabled. If we did not need these for our application, we could disable the
functionality for this object by removing the appropriate check boxes on this tab of the faceplate. We will keep
this functionality for our application.
Although the tank is empty, the discharge pump continues to run. Let’s configue an interlock that will stop the
pump on low-low tank level.
Maximize the Logix Designer window.
This Process Strategy has been configured with an interlock object, however, no interlocks have been
configured for this device. Let’s add an interlock on tank low-low level for this pump.
To make these changes online, click the Start Pending Routine Edits button.
The interlock description has not yet been configured to match the interlock configuration that we
implemented in step x above. Click on the Engineering tab.
Change the label and tag text fields as shown below, hitting the Enter key after entering the text, and then
click on Sheet 2.
Check the box to the left of the interlock descriptor to allow navigation from the interlock faceplate to the
Interlock Input Object. Change the text field as shown below, hitting the Enter key after entering the text.
Return to the Home tab of the interlock faceplate. Notice a text description now appears for the interlock
condition and a black navigation-box appears when you scroll your mouse over the interlock condition. This
can be used to click directly to the interlock tag’s faceplate. For this feature to work, a path must be
configured in your global object parameters for the device. If you click on the Tank 1 Level OK interlock now,
nothing will happen.
Click on the Save button to save the updates to the “P1f Home” display.
Mouse over and click on the interlock condition. This will now launch the level faceplate,
Click Reset Tank Levels and the interlock condition will clear (Move faceplates down if they are covering the
reset button).
The configuration for the Tank 1 faceplates is complete. Close the open faceplates.
Later, if you have extra time in the lab, feel free to configure the faceplates for Tank 2.
Expand the PlantPAX, Area, and Alarm folders. Right-click on PlantPAx_AE and select Import and Export…
Click Next.
A new feature of FactoryTalk View SE 8.1 is the ability to easily configure and filter on alarm groups.
In the explorer window, expand PlantPAx_AE and double click on Alarm and Event Setup.
Right click on PlantPAx_AE and select Add Group to add a second group. Type Tank2 for the group name.
Highlight the LT100 alarms (Select the first alarm and press the Shift key and select the last alarm). Drag-and-
drop the LT100 alarms into the Tank1 alarm group.
Click the Save icon in the Alarm and Event Setup window.
From the Explorer pane, expand the Graphics/Displays folder and double-click (FRAME)P1f Footer to open
the footer display.
Right click on the display and select Properties to access the Alarm and Event Banner Properties dialog box.
Click on the Columns tab. Check the Alarm Name box to display the Alarm Name in the alarm banner.
At the lower corner of the View Client screen, click the Refresh button.
The low-low alarm threshold for Tank 1 was configured in the previous lab section. We will need to configure the
threshold for Tank 2 in order to view the alarm in the alarm banner. Click on the Tank 2 Level indicator to open
the P_AIn faceplate.
Click on the Maintenance tab of the faceplate. Change the PV Low-Low alarm Threshold to a value of 1.00.
(Click on the value to launch the numeric keypad entry popup).
. However, only the alarm for Tank 1 appears in the alarm banner. This is because we configured the alarm
banner to only show alarms in the Tank1 alarm group.
Notice that the alarms for both LT100 and LT200 appear in the alarm summary.
The P1f Footer display should still be open. Double-click on the display to open the Alarm and Event Banner
Properties window.
At the lower corner of the View Client screen, click the Refresh button.
Section summary: A new feature of FactoryTalk View SE 8.1 is the ability to easily configure and filter on alarm
groups.
I/O configuration for three hardware modules has already been added to the I/O tree. Slots 3, 4 and 5 have an
analog input module, a digital input module and a digital output module. The modules have been inhibited
because we are running our code in an emulated processor. We will connect to the I/O module channels later in
the lab.
For the tag named LT100_Inp_PV, click the down-arrow to open the tag-browser window. NEW PICTURE
You have now assigned physical I/O to tags in your project while the controller is running. This capability is also
known as late binding and through the power of Program Parameters in Studio5000 Logix Designer V24 users
can create their projects without worrying about I/O connections during the engineering stage.
Program Parameters can be used to associate (connect) the I/O reference connectors to physical I/O or
simulation code and unlike Alias Tags, they can be changed while the Processor is on-line.
In summary, users can easily map process strategies to I/O on-line without aliasing or creating mapping
routines, create hardware independent code that is linked to physical hardware at deployment, and remove
complexity of controller scoped tags used just to interface between programs.
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). Configure your Integrated Architecture control system to
meet the PlantPAx system guidelines and you can call it PlantPAx. The Studio 5000® applicaiton can help reduce
the engineering time to assemble your integrated architecture and process application. 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 interface in
just a few mouse clicks. Engineering your modern DCS has never been easier.
We will add the drive and the pressure control loop to task B, which is a 100 msec task. Rename the main
program in Task B, from Task_B_MainProgram to Pressure_Control by double-clicking on
Task_B_MainProgram to open the Program Properties window. Change the Name of the program to
Pressure_Control and click OK.
In the Process Strategies folder, select the file for a PID with analog input, (RA-LIB)PS_PID_AIn_3_5-
00_ROUTINE.L5X, and click Open.
In the Import Content area of the configuration window, click on the Tags folder to view all the tags that will
be imported. Click on the Find/Replace button.
We would also like to replace the default loop number from the process strategy, 501, with 400. Find all the
instances of 501 in the tag references and replace with 400. Confirm that only Final Name is checked in the
Find Within options. Then click the Replace All button. Now click OK.
Next, we will import a pre-configured Process Strategy routine for a variable speed drive, into the program
named Pressure_Control. Right-click on the Pressure_Control program, select Add and then Import
Routine.
The Import Configuration window will open. Change the Final Name for the routine from MT300 to Drive.
Do not click OK.
Choose Import Logic Edits as Pending. We will make changes to this routine after importing. Click OK.
The output of the P_PIDE block (Out_CV) will be used as the program setpoint for the speed reference on the
P_VSD block (PSet_SpeedRef ). To configure this input we need to expose the PSet_SpeedRef parameter.
Click on the ellipsis on the P_VSD to view the block properties.
Scroll to the PSet_SpeedRef parameter (click on Sort Parameters to view the parameters in alphabetical order)
and check the Vis box to make the parameter visible. Click OK.
Double click on the Loop routine in the Pressure_Control program to open it.
Check the Vis box for the Inp_CVInitVal and Inp_UseCVInitVal parameters (click on Sort Parameters to view
the parameters in alphabetical order). Click OK.
When the Sts_Available value is False (the drive is not in program mode), the P_PIDE should initialize its CV
value. We need to add a Boolean Not block to this input before connecting it to the Inp_UseCVInitVal input on
the P_PIDE. Scroll through the Favorites and find the BNOT instruction. Click on the instruction to add a
BNOT block to the sheet.
Next we need to add “Jump to Subroutine” (JSR) instructions to execute the new routines. Double-click the
MainRoutine for Pressure_Control.
Click on Rung 0 to select the rung (indicated by a blue box) and then right-click and select ADD Rung.
Add another rung for the JSR that will execute the Loop routine. Click on Rung 1 to select the rung (indicated
by the blue box), 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.
Click Yes when prompted, to finalize all of the edit in the program.
Click Yes when prompted to upload the tag values prior to saving.
To save time in the lab, a display named P1F Process has already been created for the drive and PID controller.
We will import this display into our application and configure the button bar to launch this display.
In the explorer pane, right-click on Displays and select Add Component Into Application...
Browse to the C:\Lab Files\FTViewSE Components folder and select the p1f process.gfx file. Click Open.,
Double click on the Screen 1 button to open the Button Properties window.
Select the Action tab. Type Display P1f Process as the Release action.
Click on the Save button to save the updates to the “P1f HButtonBar” display.
The process screen is displayed with the VSD and PID objects, which were configured prior to the lab.
Select the Engineering tab and type % for the speed reference engineering unit value. Be sure to hit Enter
after typing the text.
Drag the P_PID faceplate to the right so that you can see both faceplates.
Notice the CV on the PID loop will track the value that you entered for the VSD speed reference.
Select the Engineering tab of the PID faceplate and then select sheet 2. Uncheck the box to force the loop to
manual mode when an init request is present. This will allow us to place the loop in Auto mode, even though
the VSD is not in program mode.
The PID CV output is still initializing and tracking the output of the VSD since the VSD is not in program mode.
On the VSD faceplate, select the Engineering tab and then sheet 2. Click the mode configuration button.
Return to the Home tab of the VSD faceplate and request Program mode.
The loop CV will increase or decrease accordingly and will update the speed reference setpoint on the drive.
You have successfully configured a pressure control loop to regulate the speed of a drive.