PR07

download PR07

of 92

Transcript of PR07

  • 7/31/2019 PR07

    1/92

    Copyright 2009 Rockwell Automation, Inc.

    RSTechED 2011(PR07) PlantPAx - System Engineering

  • 7/31/2019 PR07

    2/92

    2 of 92

  • 7/31/2019 PR07

    3/92

    3 of 92

    PR07 PlantPAxSystem Engineering

    Contents

    Before you begin ......................................................................................................................................... 5About this lab ................................................................................................................................................ 5Tools & prerequisites .................................................................................................................................... 5The PlantPAx Automation System ............................................................................................................ 6The PlantPAx Core ....................................................................................................................................... 7Goals of this Class ........................................................................................................................................ 7Format of this Class ...................................................................................................................................... 8The Mix Application .................................................................................................................................... 9Project Documents ...................................................................................................................................... 10Lab Setup ................................................................................................................................................... 14

    RSLogix Emulate5000 and the Logix Processors ...................................................................................... 14 The FTViewSE Operator Client window and process application .............................................................. 15Security and User Logins ............................................................................................................................ 16The Process Library .................................................................................................................................. 17Controller Layout ......................................................................................................................................... 19Adding a Control Valve (XV8000) to the Controller .................................................................................... 20Adding XV8000 to the HMI.......................................................................................................................... 32

    Interacting with XV8000 online ................................................................................................................... 39Importing / Exporting Devices On the Fly ............................................................................................ 44Exporting A Routine .................................................................................................................................... 44Importing A Routine .................................................................................................................................... 46

  • 7/31/2019 PR07

    4/92

    Building Large Projects ............................................................................................................................ 49Our Workflow .............................................................................................................................................. 49Using Our Workflow .................................................................................................................................... 51Adding Visualization .................................................................................................................................... 62Building a System ..................................................................................................................................... 85Interlocks and Permissives ......................................................................................................................... 85Adding Interlocks and Permissives ............................................................................................................. 86Customizing the System ............................................................................................................................. 92

  • 7/31/2019 PR07

    5/92

    5 of 92

    Before you begin

    About this lab

    This class guides you through the steps involved in building a real world Process Control Application. Wewill focus on the PlantPAx Core Components.

    This lab takes approximately 100 minutes to complete.

    Tools & prerequisites

    Factory Talk View SE, V5.1

    RSLogix 5000, V18

    RSLogix Emulate 5000, V18

  • 7/31/2019 PR07

    6/92

    The PlantPAx Automation System

  • 7/31/2019 PR07

    7/92

    7 of 92

    These system elements allow flexible and scalable system configurations to be created. These

    configurations can range from small unit, equipment or lab process applications to large plant wide and

    highly-distributed applications.

    In this class we will focus exclusively on the PlantPAx Core. Specifically we will focus on building anddesigning PlantPAx Core Systems.

    The PlantPAx Core

    The PlantPAx core is the heart of a PlantPAx System.

    Based on Integrated Architecture automation products, the core system can be extended through theaddition of optional functions such as Batch, Historian, or Asset Management while providing thecapability to meet critical process control, availability and safety requirements.

    The PlantPAx core system supports typical process control configurations based on the Purdue CIM

    model and ISA system standards (S88, S95, and S99).

    PlantPAx Core Functions

    Engineering Development Environment

    System Wide Visualization

    Process Control

    PlantPAx Core Components

    CLX Controllers

    HMI Server

    FT Directory Services

    The core itself is scalable and may consist of one HMI and Controller pair or multiple controllers. A basic

    system may only consist of core components.

    Goals of this Class

    This class will focus on the tasks involved in building a Process Control System using the Process Core.

    While a PlantPAx Core System will be sufficient for many applications, others will require the addition of

    additional PlantPAx modules to provide the required functionality.

    The important thing to note is that both the PlantPAx Core itself and a larger PlantPAx system can be

    scaled to your specific needs.

  • 7/31/2019 PR07

    8/92

    This class will illustrate how quickly a high quality Control Application can be developed using the

    PlantPAx Process Library.

    Format of this Class

    This class is broken into 4 Sections.

    In the first Module we will introduce the User to the PlantPAx System Core.

    In the subsequent sections, you will get to build control modules using the Process Library. We will then

    look at ways to streamline the development process

  • 7/31/2019 PR07

    9/92

    9 of 92

    The Mix Application

    This class guides the user through the steps involved in building a real world Process Control andVisualization Application.

    The Scenario

    An addition has been made to our plant. This addition will be known as the Mix Area and consists of 2 MixTanks and associated equipment.

    StorageTank

    T8100

    Mix Tank

    T8000

    PMP8000

    LSL

    8000

    LT

    8000

    LI

    8000

    5

    XV

    8004

    TT8000

    LSL

    8100

    LT

    8100

    LI

    8100

    F

    FIT8000

    FQ

    8000 XV

    8001

    XV

    8000

    Material 1

    PMP8100

    Plant

    F

    FIT8001

    FQ

    8001 XV

    8003

    XV

    8002

    Material 2

    PT

    8100

    PIC

    8100

    TT8100MTR8000 MTR8100

    XV

    8100

    VLV8100

    [NOTE There is a larger view on the Next Page]

    As is customary, the design team has communicated these additions by issuing a P&ID Document alongwith electrical schematics. (see next page)

    In production, specific quantities of Material 1 and 2 will be mixed in T8000 and then transferred toStorage Tank T8100. From here, it is fed to the Plant.

    Using elements from the Process Library we will insert the controller code and Visual Elements needed tocontrol the individual system elements. We will then add the safety interlocks and permissives to thesystem.

    Initially, this class will focus on making minor changes online (on the fly) without interrupting theoperations of your plant. Later, we will demonstrate how efficiently a large scale system can be built.

    NOTE - All the code required to simulate this equipment has already been added to this application. Theuser only has to tie in the various modules to the Generic IO to implement the project.

  • 7/31/2019 PR07

    10/92

    Project Documents

    Storage TankT8100

    Mix TankT8000

    PMP8000

    LSL

    8000

    LT

    8000

    LI

    8000

    5

    XV

    8004

    TT8000

    LSL

    8100

    LT

    8100

    LI

    8100

    F

    FIT8000

    FQ

    8000 XV

    8001

    XV

    8000

    Material 1

    PMP8100

    Plant

    F

    FIT8001

    FQ

    8001 XV

    8003

    XV

    8002

    Material 2

    PT

    8100

    PIC

    8100

    TT8100

    MTR8000 MTR8100

    XV

    8100

    VLV8100

  • 7/31/2019 PR07

    11/92

    11 of 92

    24V C

    24V C

    24V +

    24V +

    IN0

    IN0

    IN0

    IN1

    IN2

    IN3

    IN4

    IN5

    IN6

    IN7

    IN0

    IN8

    IN9

    IN10

    IN11

    IN12

    IN13

    IN14

    IN15

    IN0

    IN0

    IN1

    IN2

    IN3

    IN4

    IN5

    IN6

    IN7

    IN0

    IN8

    IN9

    IN10

    IN11

    IN12

    IN13

    IN14

    IN15

    XV8000

    XV8001

    XV8002

    XV8003

    XV8004

    XV8100

    MTR8000 RUN

    MTR8100 RUN

    PMP8000 RUN

    PMP8100 RUN

    SPARE

    SPARE

    SPARE

    SPARE

    SPARE

    SPARE

    XV8000CLOSED LS

    XV8000OPENED LS

    XV8001CLOSED LS

    XV8001OPENED LS

    XV8002CLOSED LS

    XV8002OPENED LS

    XV8003CLOSED LS

    XV8003OPENED LS

    XV8004CLOSED LS

    XV8004OPENED LS

    XV8100CLOSED LS

    XV8100OPENED LS

    MTR8000RUNNING

    MTR8100RUNNING

    PMP8000RUNNING

    PMP8100

    RUNNING

    [NOTE - These Electrical Schematics are deliberately generic]

  • 7/31/2019 PR07

    12/92

    24V +

    IN0

    IN1

    IN2

    IN3

    IN4

    IN5

    IN6

    IN7

    IN0

    IN8

    IN9

    IN10

    IN11

    IN12

    IN13

    IN14

    IN15

    MTR8000 Speed

    MTR8100 Speed

    TT8000

    TT8100

    PT8100

    LT8000

    LT8100

    FT8000

    FROM DRIVE

    FROM DRIVE

    IN0

    IN1

    IN2

    IN3

    IN4

    IN5

    IN6

    IN7

    IN0

    IN8

    IN9

    IN10

    IN11

    IN12

    IN13

    IN14

    IN15

    FT8001

    SPARE

    SPARE

    SPARE

    SPARE

    SPARE

    SPARE

    SPARE

    [NOTE - These Electrical Schematics are deliberately generic]

  • 7/31/2019 PR07

    13/92

    13 of 92

    Remote_08_01_O Remote_08_03_AI Remote_08_06_I

    0 XV8000 Open 0 MTR8000 Speed Feedback 0 LSL8000

    1 XV8001 Open 1 MTR8100 Speed Feedback 1 LSL8100

    2 XV8002 Open 2 TT8000 Sensor Reading 2 Spare

    3 XV8003 Open 3 TT8100 Sensor Reading 3 Spare

    4 XV8004 Open 4 PT8100 Sensor Reading 4 Spare

    5 XV8100 Open 5 LT8000 Sensor Reading 5 Spare

    6 MTR8000 Run 6 LT8100 Sensor Reading 6 Spare

    7 MTR8100 Run 7 FT8000 Sensor Reading 7 Spare8 PMP8000 Run 8 Spare

    9 PMP8100 Run Remote_08_04_AI 9 Spare

    10 Spare 0 FT8001 Sensor Reading 10 Spare

    11 Spare 1 Spare 11 Spare

    12 Spare 2 Spare 12 Spare

    13 Spare 3 Spare 13 Spare

    14 Spare 4 Spare 14 Spare

    15 Spare 5 Spare 15 Spare

    6 Spare

    Remote_08_02_I 7 Spare

    0 XV8000 Closed LS

    1 XV8000 Opened LS Remote_08_05_AO

    2 XV8001 Closed LS 0 MTR8000 Speed Reference

    3 XV8001 Opened LS 1 MTR8100 Speed Reference

    4 XV8002 Closed LS 2 Spare

    5 XV8002 Opened LS 3 Spare6 XV8003 Closed LS 4 Spare

    7 XV8003 Opened LS 5 Spare

    8 XV8004 Closed LS 6 Spare

    9 XV8004 Opened LS 7 Spare

    10 XV8100 Closed LS

    11 XV8100 Opened LS

    12 MTR8000 Running

    13 MTR8100 Running

    14 PMP8000 Running

    15 PMP8100 Running

  • 7/31/2019 PR07

    14/92

    14 of 92

    Lab Setup

    Make sure you are on the Batch Management & Control image. You can confirm this by looking for theimage name Batch Management & Control on the dropdown in the middle upper of the desktop.

    If you need to switch images, select the Batch Management & Control tab.

    Or use the blue-arrow button at the top of the screen.

    RSLogix Emulate5000 and the Logix Processors

    RSLogix Emulate5000 should already be running and contain two Logix processors. Click on the button

    in the Windows toolbar at the bottom of the screen to open and view the RSLogix Emulator chassis.

    The controller files for the Batch Area and the Utilities Area have already been loaded into the two

    processor modules in slots 3 and 5 respectively. Make sure both the processor modules are in Run

    mode. If they are not then place them in Run mode by right-clicking on the module and using the pull-

    down menu.

  • 7/31/2019 PR07

    15/92

    15 of 92

    NOTE: Throughout this lab if any processor seems to fail or lock-up, right-click on the processor and clear

    the Major Fault(s) and place it back into Run mode.

    The FTViewSE Operator Client window and process application

    The FactoryTalkViewSE Operator Client window should already be running. Click on the Windows toolbar

    button at the bottom to open the Operator Client window

    .

    The HMI will appear as follows after launching the SE Client. (Note: the initial screen might

    need to be refreshed. Refresh by clicking the button in the upper right of the display.

    The process application consists of a Premix vessel, two Reactor Vessels and Storage Tanks with Batch

    control, and a Utilities area with two Utility Boilers, a Condensate area and Feed water system. You can

    navigate to different areas of the plant using the navigation button bar and the pull-down menu

    buttons.

    This application has been built using the PlantPAx Process Library of pre-defined Faceplatesand graphics Objects. The lab will focus on adding logic and graphic display elements for the

    Mix area.

  • 7/31/2019 PR07

    16/92

    16 of 92

    Each PlantPAx Process Library element consists of an AOI (Add-On Instruction) which is

    embedded in the Control Logix application processors and a collection of associated graphics

    objects. The graphics objects, when placed in a HMI application, can be used to launch a

    faceplate. The faceplate provides an operator, maintenance technician, or engineer with all the

    functionality he will need to manipulate and configure the devices. If you have time, take a few

    minutes to browse the HMI application. In particular feel free to click on individual valves,pumps, and sensors and observe the faceplates and faceplate tabs.

    Security and User Logins

    Click on the security key in the top right corner of the screen to login as an Engineer.

    On the login window enter eng for the User Name and engineer for the password. Click OK.

    You will now be logged in as an engineer (as indicated at the bottom right of the screen).

    Click on the Help button in the top right corner of the screen for a list of user ids and passwords.

    The Help button shows you all of the configured users and passwords in this lab application.

    The device pop-up faceplates in this application have an Operator tab for device control (start/stop,

    open/close, modes, setpoints), a Maintenance tab for overiding of interlocks/ permissive and disabling thedevice, and an Engineering tab for device and alarm configuration. The features and buttons on the

    various tabs are only active with the proper user login. This lab will focus on the engineering functions

    available from the pop-ups.

    You are now ready to proceed with this Lab!

  • 7/31/2019 PR07

    17/92

    17 of 92

    The Process Library

    Throughout this Lab we will be using the Process Library. The Process Library consists of a collection of

    Ready to Use, Device Level Control Modules. These consist of Application Code developed within AddOn Instructions (AOIs), Graphic Objects (which will be displayed on your HMI) and Faceplates foroperator and/or engineering interface to the device logic.

    Application Code Contains the code which controls the associateddevice. This code is embedded in an AOI whichcan be instantiated multiple times in a givenapplication.

    The Process Library AOIs can be found in the AOISection of the Controller Tree.

    Graphic Objects The Graphic Objects are used to build HMIDisplays. There is a selection of Global Objectsavailable for each Process Library Element.

    These Global Objects can be imported into displaysand provide visual feedback to the user. Clicking onthese devices will launch the associated Faceplate.

    The Process Library Global Objects can be foundunder the Global Objects Tab of the FactoryTalkView Studio application.

  • 7/31/2019 PR07

    18/92

    18 of 92

    Faceplates Faceplates automatically launch when you click onthe Graphic Object in a Display.

    They are used to display detailed informationrelating to a device. They provide the user with theability to reconfigure the device.

    These faceplates incorporate security featureswhich restrict a users ability to configure andmanipulate devices.

    The Faceplates are associated with GraphicObjects and do not need to be individuallyconfigured.

    The Process Library consists of the following,

    P_AIN Analog Input

    P_AInAdv Advanced Analog Input

    P_AInDual Dual Analog InputP_Alarm Alarm

    P_AOut Analog OutputP_Din Digital Input

    P_DoseFM Flow DosingP_DoseWS Weigh Dosing

    P_Intlk Interlock

    P_Mode ModeP_Motor2Speed 2 Speed Motor

    P_Motor Single Speed Motor

    P_MotorHO Hand Operated Motor

    P_MotorRev Reversing Motor

    P_Perm Permissive

    P_Reset Reset

    P_ResInh Reset InhibitP_RunTime RunTime

    P_ValveHO Hand Operated ValveP_ValveMO Motor Operated Valve

    P_ValveSO Solenoid Operated Valve

    P_VSD Variable Speed Drive

    This Lab will illustrate how easy it is to assemble Process Library Components into an Application. Eachmodule can be replicated many times in your application. Each time you instantiate an object you inherit

    all the functionality associated with it.In addition, each instance of the modules can be configured for your particular needs.

  • 7/31/2019 PR07

    19/92

    19 of 92

    Controller Layout

    Throughout this Lab Section we will be working with RSLogix 5000 Software. This application will be open

    on your PC.

    Select this application and view the Project Tree along the left hand side. The application

    PlantPAx_Cont_Master should be open and online with the Emulator Controller.

    We have chosen to organize the application by Functional Areas (Tasks\Programs) and Devices

    (Routines).

    We have created the task _8000_Mix to contain the code that will control the Mix Area. This is an Event

    Task which is triggered from the MainTask every 250ms.

  • 7/31/2019 PR07

    20/92

    20 of 92

    Adding a Control Valve (XV8000) to the Controller

    In this section we will add a Control Valve to our application. We will make use of the P_ValveSO Device

    from the Process Library.

    Initially, we will insert the AOI in the Logix ACD file. Later, we will add the associated Visualization

    elements to the HMI. (Graphical Object and Faceplate)

    We have divided the Mix Area into 2 functional sub-areas,_8000_MixTank and_8100_StorageTank

    We wish to add XV8000 to our application. This element will be added to the_8000_MixTank program.

    To do this,

    1. Expand the_8000_Mix Task and the component Program_8000_MixTank. Right click on the

    Program icon and click on New Routine

    2. The New Routine window will open. The new routine should be named XV8000 and should be of

    Type Function Block Diagram. Click on OK

  • 7/31/2019 PR07

    21/92

    21 of 92

    3. The Routine XV8000 will now be created. Double click on the routine to open it.

    4. Click on the Start Pending Routine Edits Button (at the top of the sheet) to enable edits. This is

    necessary as we are currently online with the controller in Run Mode.

    5. Right Click on the Sheet to access the Edit Menu, Select Add Element

  • 7/31/2019 PR07

    22/92

    22 of 92

    6. The Add FBD Element Popup will appear. Type in P_ValveSO as shown below. P_ValveSO isan element of the Process Library and is used to control a Solenoid Valve such as XV8000. ClickOK.

    7. A P_ValveSOinstruction has now been placed in the FBD Sheet. To access its properties clickthe properties button.

    PropertiesButton

  • 7/31/2019 PR07

    23/92

    23 of 92

    8. We wish to make the PCmd_Acq, Cfg_UseClosedLS and Cfg_UseOpenLS visible so they canbe manipulated by the program. Make these parameters visible by clicking the visibility checkboxassociated with each parameter. Click on Apply and OK

    [Note The parameters are listed in alphabetical order. Cfg_UseClosedLS andCfg_UseOpenLS are located near the top of this list. PCmd_Acq is about half way down]

    9. Map the instruction to the backing tag XV8000. Each specific instance of an AOI has a dedicatedBacking Tag which is used to store data associated with the specific instance of the AOI. To mapthe tag, double click on the P_ValveSO_01tag and type in XV8000and then hit the Enter key.

  • 7/31/2019 PR07

    24/92

    24 of 92

    10. After the TAG has been entered, Right Click on the Tag (XV8000) to access the Edit Menu for theTag. Select New XV8000 from the menu.

    11. Use the New Tag pop-up window to create the backing tag for the AOI. Each AOI has anassociated User Defined Tag Type that has been created to interface with the AOI logic and theHMI objects that will be added later in this lab. Verify the Type is Base, the Data Type isP_ValveSO, and the Scope is PlantPAxDemo_Cont_Master. Click OK after entering the Taginformation.

    [PLEASE VERIFY THAT THIS IS A CONTROLLER SCOPED TAG! FAILURE TO DO THISWILL CAUSE PROBLEMS LATER IN THE LAB!]

  • 7/31/2019 PR07

    25/92

    25 of 92

    12. Drag and drop 5 IREFs (input references) from the toolbar to the FBD Sheet as shown. To dragand drop hold the left mouse key down when over the IREF icon (see below) and move it overthe Sheet. When you are happy with the location of the IREF release the mouse button

    13. Now connect the IREFs to the instruction inputs as shown below. To do this click on the edge of

    the IREF instruction and with the mouse button still depressed, drag the connection line to theappropriate input pin on the Solenoid Operated Valve instruction.

  • 7/31/2019 PR07

    26/92

    26 of 92

    14. We should now reference the Electrical Schematic and IO List to identify the correct IO to connect

    to this device.

    15. Map the IREFs as shown below by double clicking in the IREF symbol and entering the

    associated tags. [Ask the instructor for assistance if needed] Please pay close attention to the

    input assignments as circled below.

  • 7/31/2019 PR07

    27/92

    27 of 92

    .

    [Note - We are connecting a 1 to the PCmd_Acq input to ensure that the Valve will default to

    Program Mode any time that the operator does not request it from the associated HMI

    faceplate.]

    16. In a similar fashion we can now add an OREF and connect it to the Out terminal as shown below:

  • 7/31/2019 PR07

    28/92

    28 of 92

    17. One final thing, we must add instructions to insure that this routine is executed. We do this by

    adding a rung to the MainRoutine that calls this routine.

    18. Open MainRoutine by double clicking on the icon in the Project Tree

    19. Right Click on the highlighted area and select Add Ladder Element.

    20. Type in JSR in the Add Ladder Element popup. Click OK

  • 7/31/2019 PR07

    29/92

    29 of 92

    21. This inserts a JSR (Jump to Subroutine) instruction in the Rung. Double Click on the Routine

    Name Entry Box and type in XV8000. Hit Enter.

    22. Now, Right Click Input Par and select Remove Instruction Parameter. Then Right Click on

    Return Par and select Remove Instruction Parameter for the Input Par and Return Par. This

    removes the unneeded instruction parameters.

    23. We must now Finalize the edits by pressing the button at the top of the sheet. You will be

    asked if you want to Finalize All Edits in Program? Click Yes. The changes will now be

    downloaded to the controller.

    24. You may want to Save your application by Pressing the Save icon in the top left corner of the

    Logix application. Click Yes to save all changes and Yes to upload the current tag values.

  • 7/31/2019 PR07

    30/92

    30 of 92

    25. Now that the logic has been added to the controller, you may want to view the actual instance of

    the ladder logic for valve XV8000 and the tag data associated with it. In the Project Tree area on

    the left hand side of the RSLogix application, scroll down to the Add-On Instructions area. Expand

    the Add-On Instructions and expand the P_ValveSO selection, then double click Logic.

    26. The logic file that opens is the base AOI logic but it is not connected to any tags so there is no

    live data. In order to view the logic with data for the XV8000 valve, you need to select the specific

    instance of the AOI. There is a pull-down window in the upper right corner of the logic display that

    selects each instance of the AOI within the controller. Use the pull-down window to select theXV8000 instance. Once selected, the logic will be shown for valve XV8000 with current data

    which can be used to monitor or trouble shoot the logic.

    27. There is also parameter and local tag data associated with the instance of the AOI for valve

    XV8000 you may want to view or modify. In the Project Tree area on the left hand side of the

    RSLogix application, right click Parameters and Local Tags and then select Monitor Tags in

    the pop-up menu. This opens a generic tag window for the AOI. Use the pull-down window in the

    top left corner to select the XV8000 instance of the AOI to view specific data for the valve. Most

    of the data that needs to be modified by an engineer can be modified by HMI faceplate displays

    that will be added later in this lab, but this is where the data is stored in the controller if you want

    to view or modify it.

  • 7/31/2019 PR07

    31/92

    31 of 92

    [Note If the Data Context field is not available for selection, please verify that the tag screen is set

    to Monitor and not Edit. Look at the bottom of the Tag Display and select Monitor Tags]

    Congratulations! You have just added a fully functional Control Valve to ourPlantPAx Application!

    What Have We Learned in this Section?

    1. TheAOIs contained in the Process Library encapsulate allthe functionality required to manage and control an individualdevice.

    2. Adding these components to a PlantPAx System is simple.

    3. Library instances can be added to your application without

    disrupting your existing plant operations.

  • 7/31/2019 PR07

    32/92

    32 of 92

    Adding XV8000 to the HMI

    The code to control XV8000 has now been added to our Logix Application. The next step is to add the

    Visualization Elements to our FactoryTalk View HMI.

    Using keys, select the Plant PAx Demo Client.

    We have created a screen for the Mix Area. This screen can be accessed by clicking on the Mix Button

    and then selecting Mix Tank T8000. As you can see the current screen shows an outline for positioning

    the Graphic Displays.

    Our task is to use the Process Library to animate this display. To do this we will need to use the

    FactoryTalk View Studio Application.

    1. Using select the FactoryTalk View Studio Application.

    2. Open the Displays folder under the Graphics area in the Application Explorer (along the left

    hand side)

  • 7/31/2019 PR07

    33/92

    33 of 92

    3. Double click on the_Mix_Tank display. (this can be found about half way down) The display will

    open. We wish to add XV8000 to this display in the location highlighted below

    4. We must now select the Global Object to use to represent XV8000. Expand the Global Objects

    folder of the Application Explorer Window. (This can be found in the Graphics Folder)

  • 7/31/2019 PR07

    34/92

  • 7/31/2019 PR07

    35/92

    35 of 92

    8. With the Global Object selected (as above), right click to launch the object menu. From this

    menu, click on Global Object ParameterValues as shown below.

    9. The window below will be displayed. This window gives us the opportunity to map tags in the AOI

    to the graphic. In this case, we only want to map the P_ValveSO AOI instance as there will not bean associated P_Intlk orP_Perm. Click on the Tag Browser button to select the associated

    P_ValveSO from the controller.Tag

    BrowserButton

  • 7/31/2019 PR07

    36/92

    36 of 92

    10. Right-click the PlantPAx Demo folder and choose to Refresh All Folders. This ensures that the

    displayed tags are current and actually in the controllers Live Data. Expand the L63_Util (a Linx

    topic that points to our controller) and Online folders to view the Logix Controller Data Table.

    11. Select XV8000 and click on OK

  • 7/31/2019 PR07

    37/92

    37 of 92

    12. Now Click OK on the Global Objects Parameter Values Window

    13. Now close the_Mix_Tank display by pressing the X icon in the top right hand corner of the

    Display.

    14. Confirm the changes by clicking on Yes.

    15. We have now added XV8000 to our HMI application.

    In the next section we will verify that ourXV8000 valve operates correctly.

  • 7/31/2019 PR07

    38/92

    38 of 92

    What Have We Learned in this Section?

    1. Visual Elements can be added to a FactoryTalk Viewapplication that are linked with the AOI code elements addedin the last section.

    2. The combination of these AOI instructions and Visualelements provide sophisticated control and superiorvisualization to our process device.

    3. These elements can be added to an application in minuteswithout disrupting the operations of our plant!

  • 7/31/2019 PR07

    39/92

    39 of 92

    Interacting with XV8000 online

    1. Using keys, select the Plant PAx Demo Client.

    2. Navigate to the Mix Area

    [NOTE you may need to navigate away from this screen and then return in order to refresh the

    contents]

    The display_Mix_Tankwill now be displayed.

    3. This screen includes the valve XV8000 that we just added. Click on the XV8000 graphic to launch the

    associated faceplate.

    Spend some time using the faceplate to interact with the valve logic in the controller. The valve can be

    transferred from Operator to Program mode (controlled by logic in PLC) by selecting the LOCK or

    UNLOCK button.

  • 7/31/2019 PR07

    40/92

    40 of 92

    4. You can also perform Maintenance and Engineering functions related to the operation of the valve

    directly from the faceplates without having to modify the programming in the PLC. Open the

    Maintenance Tab as shown below to provide access to the following data:

    Ability to Disable device to prevent Operator or Program movement of valve

    Ability to Bypass Interlocks and Permissives that are allowed to be bypassed (additional details

    on Permissive & Interlock configuration will be covered in the BUILDING A SYSTEM section of

    this lab)

    Option to Bypass Interlocks and Permissives when the Valve is in Override Mode

    Option to use Limit Switches to establish travel failure alarms

    Setting of alarm timers for valve failure alarms

  • 7/31/2019 PR07

    41/92

    41 of 92

    5. Now click on the Engineering Tab. This tab allows you to insert labels which will be displayed on the

    screen with the graphic. Double click on the highlighted data entry field and insert the text XV8000.

    [NOTE after entering data be sure to hit the Enter key on your keyboard. This will ensure that the

    data is sent to the data table in the processor.]

    The label XV8000 should now be displayed under the graphic on the Mix Display.

  • 7/31/2019 PR07

    42/92

    42 of 92

    In addition to adding Labels to describe the valve on the HMI, the following functions can be performed

    from the Engineering Tab to modify the operation of the valve without requiring changes to the logic in the

    PLC:

    Select Fail Open operation for the Valve.

    Select Interlock or Permissive requirements for the Valve (additional details on Permissive &

    Interlock configuration will be covered in the BUILDING A SYSTEM section of this lab)

    Define which limit switches are connected to the valve

    Define fault status when multiple limit switches are used

    Define time delay for Feedback simulation if no limit switches are used

    6. Now click on the Alarm Configuration Tab. This tab allows the engineer to identify which alarms are

    active and to assign a priority level to each alarm.

    6. To exit the Faceplate click on the button in the top right corner.

  • 7/31/2019 PR07

    43/92

    43 of 92

    What Have We Learned?

    1. Pre-Built Graphical Objects can be inserted in our FTView Application whichcan then be used to display information and launch complex Faceplates.

    2. These faceplates allow online configuration. Each object had differentconfiguration and/or engineering parameters that can be modified from thefaceplates with proper login access allowing changes to be made to thedevice operation and HMI appearance without having to modify the PLC orHMI programming

    3. These objects can be added to your FTView application while clients arerunning.

  • 7/31/2019 PR07

    44/92

    44 of 92

    Importing / Exporting Devices On the Fly

    We have seen how easy it is to add a module to your PlantPAx System. This works very well if you are

    building a small system but for larger systems you will look for ways to limit the busy work involved in

    development.

    PlantPAx allows an Engineer to export routines to XML files. These files can then be re-imported into any

    ACD file.

    Later we will see how an Engineer can use these XML files as a storage location for generic device

    configurations or templates. These configurations can then be used as a starting point for new devices.

    Best of all, this can all be done without interrupting the operation of your plant!

    Before we can import a routine and experience the benefits of importing XML files we must generate the

    XML file by exporting it from our application.

    Exporting A Routine

    1. Return to the Logix 5000 application. Right Click on the Routine XV8000 and click on Export

    Routine.

  • 7/31/2019 PR07

    45/92

    45 of 92

    2. Logix will prompt you to enter a File Name and Location for the exported XML file. In our case we

    selected the location C:\PlantPAxDemo\Modules for Import\Routines:

    3. Now enter the File Name XV8000 for the Routine and click on Export. If asked to replace an

    existing file of that name click yes.

  • 7/31/2019 PR07

    46/92

    46 of 92

    4. You will be asked if you want to upload the tags values from the controller. Click Yes

    The XV8000 Routine has now been exported and is available for import.

    Now, how do we use this routine?

    Importing A Routine

    We would like to import the routine XV8000 to use as a template for building a new routine, XV8001.

    1. Right Click on the program_8000_Mix_Tank and select Import Routine

    2. Now select the Routine XV8000 that you exported in the previous step. Click Import.

  • 7/31/2019 PR07

    47/92

    47 of 92

    3. After a delay, the following popup will appear.

    As there is already a Routine with the current name in the project, Logix gives you the option to use

    this file. In this case, both files are identical so it will not matter if we choose Use Existing or

    Overwrite.

    You must specify the Final Name that you want this is the name of the new routine that will be

    created after the import. In this case we should enterXV8001 as our Routine Name. Now click OK.

    4. Because this import is being performed online, the system asks us how we wish the logic to be

    imported. We will select Import Logic and Edits as Pending since we need to edit this module

    before compiling. Click on OK

  • 7/31/2019 PR07

    48/92

    48 of 92

    5. The import will now take place. The routine called XV8001 will be created. The contents of this

    routine will be identical to the exported XV8000 module.

    6. The Engineer would now edit this module to use the XV8001 tag and associated IO. He would

    then add a JSR to call this routine and add the appropriate graphics to the HMI Application. You

    will be editing the XV8001 Routine later in this lab, so you do not have to modify it now. You canopen up the XV8001 Routine to view the contents and see that it is identical to the XV8000

    Routine.

    7. You may want to Save your application by Pressing the Save icon in the top left corner of the

    Logix application. Click Yes to upload the tag values.

  • 7/31/2019 PR07

    49/92

    49 of 92

    Building Large Projects

    When working with larger systems, the benefits of adopting a smart Work Flow will multiply. PlantPAx is a

    very flexible system and each engineer may develop a slightly different Work Flow to maximize

    productivity and quality. In this section, we will implement one Work Flow that an Engineer could use to

    develop a system.

    Our Workflow

    In designing a Workflow, it is important to identify common aspects of a system and then manage these

    accordingly.

    Our Work Flow is as follows:

    1. Create Generic Template Files

    2. Create Alias Tags for IO which are aligned with Templates.

    3. Import Template Files

    4. Search and Replace Generic Tags within each Template.

    We have already seen that individual routines can be exported from an ACD file and later imported back

    into an ACD file. This gives us the ability to manage device configurations external to the ACD file that

    can lead to significant efficiencies in building an application.

    To help you, we have created the following template files:

    File Name Whats In It?

    AnalogSensor.L5X P_AIn

    Dosing.L5X P_DoseFM

    PID.L5X PIDE Instruction

    SingleSpeedMotor.L5X P_Motor, P_Perm, P_Intlk, P_Reset, P_RunTime

    ValveSO.L5X P_ValveSO, P_Perm and P_Intlk

    VSD.L5X P_VSD, P_Perm, P_Intlk, P_Reset, P_RunTime

    Spread over multiple sheets for clarity

    These can be found in the folderC:\PlantPAxDemo\Modules for Import\Routines

    Alias tags are tags that reference memory defined by another tag. Anytime we reference an Alias Tag, we

    are really referencing the underlying tag.

  • 7/31/2019 PR07

    50/92

    50 of 92

    We have completed the following tasks in preparation for this Lab.

    We started with the electrical drawings and IO list (below),

    We used this information to populate rows in a spreadsheet. This spreadsheet was in a format that can

    be imported into RSLogix 5000. These rows contained the information required to create generic Alias

    Tags to actual IO tags. We ensured that the Alias Tag Names aligned with the IO tags used in the

    Template Files. (eg. The Template File uses Motor_Running, we created an Alias Tag

    MTR8000_Running)

    We then imported the Tag spreadsheet into our application file (ACD). The Alias Tags now appear in the

    Project Data Table

    Because we have been careful to align the Alias Tags with the Template File, we can now perform a

    simple Search and Replace on the Template File after it has been imported into the project as shown

    below for the (Variable Speed Drive ) VSD template.

  • 7/31/2019 PR07

    51/92

    51 of 92

    By doing a search and replace on VSD, we can convert this generic module to a specific Motor.

    Using Our Workflow

    Now lets use this Work Flow. Initially we will import a VSD Module to our system. We will then use this

    template file as a starting point for configuring MTR8000 in our Mix Application.

    1. At this time save the project. In order to quickly develop the application you will need to go

    offline. To do this, click on the controller icon in the top left hand corner and select Go Offline.

    2. As before, right click on the _8000_MixTank and select Import Routine.

  • 7/31/2019 PR07

    52/92

    52 of 92

    3. Navigate to C:\PlantPAxDemo\Modules for Import\Routines and select the file VSD.L5X. Click

    on Import. Logix will start importing the module.

  • 7/31/2019 PR07

    53/92

    53 of 92

    4. Now the Import Configuration Popup will appear. In this case we wish to create a Routine and

    designate the name MTR8000. Now click OK.

    5. The routine MTR8000 has now been imported and will appear as shown below. Double click on

    the MTR8000 module to open it.

  • 7/31/2019 PR07

    54/92

    54 of 92

    6. The Routine will appear as shown below

    Note that we have split this template over multiple sheets. You can select the other sheets via the

    pull down menu located in the upper right edge of the sheet.

    The decision to spread this configuration over multiple sheets was made to increase clarity. The

    functionality of the code is unaffected.

  • 7/31/2019 PR07

    55/92

    55 of 92

    7. We now wish to find and replace all references to VSD with MTR8000. Hit Ctrl-F The Search

    Window will open. Click on the Replace button.

    8. Enter VSD and MTR8000 as shown. Make sure you select Current Routine and verify the

    Wrap box is checked. Click the Replace All button.

    9. Logix will now replace all references ofVSD with MTR8000. This will align the template to thepre-loaded tags and aliases. Click Close. This routine is now ready to compile and download.

  • 7/31/2019 PR07

    56/92

    56 of 92

    10. By repeating steps 2 9 we should be able to build the rest of the routines in the _8000_MixTank

    program. The following tables summarize the tasks to be completed.

    Please delete routines XV8000 and XV8001 before performing the imports listed below.

    First we will import the Template Files (steps 2 5),

    IMPORT ROUTINE FINAL NAME

    Dosing.L5X FT8000

    Dosing.L5X FT8001

    Din.L5X LSL8000

    AnalogSensor.L5X LT8000

    AnalogSensor.L5X TT8000

    SingleSpeedMotor.L5X PMP8000

    ValveSO.L5X XV8000

    ValveSO.L5X XV8001

    ValveSO.L5X XV8002

    ValveSO.L5X XV8003

    ValveSO.L5X XV8004

  • 7/31/2019 PR07

    57/92

    57 of 92

    11. Next we need to perform a Search and Replace inside each routine (steps 6 9),

    ROUTINE FIND WHAT REPLACE WITH

    FT8000 DosingAin FT8000

    FT8001 DosingAin FT8001

    LSL8000 Din LSL8000

    LT8000 Ain LT8000

    TT8000 Ain TT8000

    PMP8000 Motor PMP8000

    XV8000 ValveSO XV8000

    XV8001 ValveSO XV8001

    XV8002 ValveSO XV8002

    XV8003 ValveSO XV8003

    XV8004 ValveSO XV8004

    12. Finally we need to add JSRs to the MainRoutine to ensure that the Routines we have just

    imported are executed. Open the MainRoutine by double clicking on the Module in the Project

    Tree.

  • 7/31/2019 PR07

    58/92

    58 of 92

    13. Click on the area to the left of the second rung. This selects the Rung. Now Press Ctrl-C to copy

    the Rung. Then press Ctrl-V to paste a copy of the rung into the routine.

    [NOTE If you did not add the JSR for XV8001 earlier in the Lab, then there will only be one

    Rung here. Select Rung 0 and copy as described above.]

    14. The result is the addition of a third rung. Now Rung 2 by double clicking on XV8001 and replacing

    it with XV8002.

    15. In this manner we can add all the rungs necessary to call the routines in this program. When you

    are done, there should be a total of twelve (12) Rungs (last Rung is number 11), each with a JSR

    selecting a different Routine.

    16. Next, we need to import the components that will be part of the_8100_StorageTank program.

    Rather than continue to import and edit the individual Routines we can speed the process by

    importing the entire_8100_StorageTank program. To do this, right click on the_8000_Mix Task

    and select Import Program.

  • 7/31/2019 PR07

    59/92

    59 of 92

    17. The Import Program Popup will appear. This time, select C:\PlantPAx Demo\Modules For

    Import\Programs\_8100_StorageTank.L5X and click on Import.

    18. After a brief delay the Import Configuration Popup will appear. In this case, we want to Overwrite

    the existing program so just click on OK.

  • 7/31/2019 PR07

    60/92

    60 of 92

    19. You may want to Save your application by Pressing the Save icon in the top left corner of the

    Logix application

    20. The final step is to download the code we have just developed to the Logix Controller. Click on

    the Controller menu in the top corner and select Download as shown below.

    21. You will be asked to confirm the download task. Click Download. The download process will

    begin.

  • 7/31/2019 PR07

    61/92

    61 of 92

    22. If the download does not complete try to debug using the messages in the lower pane. Please

    notify your instructor if you need help.

    23. If there are no errors in your code you will be notified that the Download has completed. The

    controller will now be in Remote Program Mode. You should transition the controller to Run

    Mode using the Controller Menu.

    We have now added the code to control and monitor all of the devices in the Mixing Area. We

    must now add the associated graphic objects to the HMI.

    What Have We Learned?

    1. Standard code modules can be imported into our application to speed up

    configuration time and reduce mistakes.

    2. By aligning our alias tags and template modules we can quickly build ourapplication.

    3. This frees the Engineer to focus his efforts on the custom aspects of hisapplication. The resulting application inherits sophisticated functionality fromthe Process Library.

  • 7/31/2019 PR07

    62/92

    62 of 92

    Adding Visualization

    We have just added 18 devices to our system in a very short time. You can see how quickly systems can

    be assembled!

    Now we want to add the corresponding Visualization elements to ourFactoryTalk View Application.

    1. Return to the FactoryTalk View Studio Application.

    2. Reopen the_Mix_Tank display. This will appear as shown.

    [NOTEXV8001 may also be included depending on whether you completed the Optional Tasks above.

    IfXV8001 has been added follow the same instructions forXV8002]

    3. We must now select the Global Object to use to represent XV8001. Expand the Global Objects

    area of the Application Explorer Window.

  • 7/31/2019 PR07

    63/92

    63 of 92

    4. Now double click on [RA-BAS] Process Graphics Library (highlighted above).This library

    contains graphics which have been built to work with the Process Library AOIs in the Logix

    controller.

    5. We must now select the graphic we wish to use. Click on the highlighted graphic and press Ctrl-

    C. This will copy the graphic to our buffer.

    Close the Global Object window. Say No to saving changes.

  • 7/31/2019 PR07

    64/92

    64 of 92

    6. Now return to the_Mix_Tank display. Click on this display and press Ctrl-V. This will paste the

    global object into the display. You can now drag and drop the Global Object to the desired

    position. (In this case over the grayed outline)

    The graphical object has now been inserted in the Display. We now need to map this graphical object to

    the code modules in the controller that we created in the last section.

    7. With the Global Object selected (as above), right click to launch the object menu. From this menu

    click on Global Object ParameterValues as shown below.

  • 7/31/2019 PR07

    65/92

    65 of 92

    8. The window below will be displayed. This window gives us the opportunity to map tags in the AOI

    to the graphic. In this case we want to map the Valve Tag, the Interlock Tag and the Permissive

    Tag.

    9. Expand the L63_Util (a Linx topic that points to our controller) and Online folders to view theLogix Controller Data Table.

    TagBrowserButton

  • 7/31/2019 PR07

    66/92

    66 of 92

    10. Select XV8001 and click on OK

    11. Now click on the browse button for the Interlock Tag.

  • 7/31/2019 PR07

    67/92

    67 of 92

    12. The Tag Browser will launch. Select XV8001_Intlk and Click OK

    13. Now click on the browse button for the Permissive Tag.

  • 7/31/2019 PR07

    68/92

    68 of 92

    14. The Tag Browser will launch. Select XV8001_Perm and Click OK

    15. The Global Object Parameter window will display again. Click OK.

    The Visualization for XV8001 has now been set up. We can speed up the set up of the rest of the

    discrete valves using copy and paste.

  • 7/31/2019 PR07

    69/92

    69 of 92

    16. Select Valve XV8001 and press Ctrl-C. Then press Ctrl-V to paste the Global Object.

    Drag and drop the new Global Object to the appropriate position on the screen.

    17. Once in position Right Click on the Global Object and select Global Object Parameters from the

    menu.

  • 7/31/2019 PR07

    70/92

    70 of 92

    18. The Global Object Parameter Values popup will appear. This box will still be populated with the

    values from XV8001. All you need to do to configure this Visual Element for XV8002 is double

    click on each parameter and edit the values to XV8002.

    19. When you are done editing the values should appear as shown below. Click OK

  • 7/31/2019 PR07

    71/92

    71 of 92

    20. Repeat Steps 17 20 for valve XV8003. The Display should now appear as shown.

    21. We also need to add XV8004 and XV8100.

  • 7/31/2019 PR07

    72/92

    72 of 92

    We will need to use a different graphic for these valves. This graphic can be found in the Solenoid

    Operated Valve (P_ValveSO) area of the [RA-BAS] Process Graphics Library located in the

    Global Objects folder and is shown below.

    22. Next we need to add MTR8000 and MTR8100.

    The appropriate Global Objects for these motors can be found in the P_VSD Graphics Library.

    Double click on this Library and select the circled graphic. Select this Global Object and press

    Ctrl-C to copy it to your buffer.

  • 7/31/2019 PR07

    73/92

    73 of 92

    23. Return to the_MixTank Display and press Ctrl-V.

    24. Drag and drop the device to the location shown below.

    25. Right click and launch the Global Objects Parameter Values Window. As before you can browse

    and select the appropriate values.

  • 7/31/2019 PR07

    74/92

    74 of 92

    26. You should select the following values.

    [NOTE - We do not use a Reverse Permissive Tag in this application. Click OK.]

    27. Now copy and paste this Motor and drag and drop it to the correct location for MTR8100.

    28. Right click on this device and select Global Object Parameter Values. Edit all references to

    MTR8000 to MTR8100 and click OK.

  • 7/31/2019 PR07

    75/92

    75 of 92

    29. Next we will import PMP8000 and PMP8100.

    The graphic for this P_Motor device can be found in the P_Motor Graphics Library and select

    the highlighted graphic.

  • 7/31/2019 PR07

    76/92

    76 of 92

    30. Drop this Global Object in the_Mix_Tank Display and position as appropriate.

    31. Right Click on the Graphic and open the Global Object Parameter Values.

    32. Populate the Global Object Parameter Values as shown below and click OK.

    33. Next copy this Global Object for Pump 8100 and edit the Global Parameters as shown below.

    Click OK

  • 7/31/2019 PR07

    77/92

    77 of 92

    34. Next we will map the Dosing Modules.

    The graphic for this P_DoseFM device can be found in the Process Graphics Library and select

    the highlighted graphic.

    35. Drop this Global Object in the_Mix_Tank Display and position as appropriate.

  • 7/31/2019 PR07

    78/92

    78 of 92

    36. Right Click on the Graphic and open the Global Object Parameter Values. Populate the Global

    Object Parameter Values as shown below and click OK.

    37. Now copy and paste this Global Object and edit the Global Parameters for FT8001 as shown

    below. Click OK

    38. Next we will add the Temperature and Level Sensors.

  • 7/31/2019 PR07

    79/92

    79 of 92

    The graphic for this P_AIn device can be found in the Process Graphics Library and select the

    highlighted graphic.

    39. Drop this Global Object in the_Mix_Tank Display and position as appropriate.

    40. Right Click on the Graphic and open the Global Object Parameter Values. Populate the Global

    Object Parameter Values as shown below and click OK.

  • 7/31/2019 PR07

    80/92

    80 of 92

    41. Copy and paste Global Objects for TT8100, LT8000 and LT8100.

    42. We also wish to add the Tank Level Graphics to the application. These can be found in the

    Process Graphics Library as shown,

    43. Drop this Global Object in the _Mix_Tank Display as shown,

    44. Right Click on the Graphic and open the Global Object Parameter Values. Populate the Global

    Object Parameter Values as shown below and click OK.

  • 7/31/2019 PR07

    81/92

    81 of 92

    45. Copy, Paste and edit Global Objects for LT8100

    46. Now we wish to add the Level Switches to the application. These can be found in the Process

    Graphics Library as shown,

    47. Drop this Global Object in the_Mix_Tank Display as shown,

    48. Right Click on the Graphic and open the Global Object Parameter Values. Populate the Global

    Object Parameter Values as shown below and click OK.

  • 7/31/2019 PR07

    82/92

    82 of 92

    49. Copy and paste Global Objects for LSL8100

    50. Finally we need to add PIC8100.

    The graphic can be found in the right side of the Process Graphics Library as shown,

    51. Drop this Global Object in the_Mix_Tank Display as shown,

  • 7/31/2019 PR07

    83/92

    83 of 92

    52. Right Click on the Graphic and open the Global Object Parameter Values. Populate the Global

    Object Parameter Values as shown below and click OK. Note, in this case, 2 of the parameters

    (Description and Engineering Units) are text strings which will appear on the screen. The strings

    tags can be typed into the Value box directly without using the Tag browse button.

    53. If you have completed all these steps the_Mix_Tank Display should now appear as shown below

  • 7/31/2019 PR07

    84/92

    84 of 92

    54. Now close the Display by pressing the X icon in the top right hand corner of the Display.

    55. Confirm the changes by clicking on Yes.

    56. Using keys, select the Plant PAx Demo Client application. Navigate to the Mix Area

    and select Mix Tank T8000 to view the graphic created with live data.

    [NOTE you may need to navigate away from this screen and then return in order to

    refresh the contents

    57. Spend some time clicking on the various types of devices on the screen and reviewing the

    functionality of the faceplates. The faceplates are designed to not only provide an operator

    interface to the system, but to provide the engineer access to configuration parameters that can

    modify the functionality of the device from the HMI with proper authorization without having to

    access the controller from a separate engineering computer.

  • 7/31/2019 PR07

    85/92

    85 of 92

    Building a System

    We have now added the basic control components for building an application. We think you will agree

    that this was a relatively painless task. In a matter of minutes we have added full functionality to control all

    the devices in the Mix Area and also added the associated graphics to the HMI.

    Now, we need to make these individual components work together as a cohesive system. The Process

    Library includes modules which aid in this task. The P_Perm and P_Intlk devices can be used to logically

    coordinate other library elements.

    Interlocks and Permissives

    The primary purpose of Interlocks and Permissives is to encode certain rules of operation for equipment.

    These operational rules protect the equipment from Operator errors and may often be safety related.

    Permissives are conditions that must be met for a device to be enabled.

    Interlocks are condition that will cause a running device to be stopped.

    Typically Permissives and Interlocks are used for handling exceptional cases. Your normal sequencing

    code should be used to define normal operational starting and stopping. Permissives and Interlocks can

    override requests from logic to start or stop equipment.

    For example, we would not want to run PMP8000 ifXV8004 is not open or the Mix Tank 8000 is low level.

    Running this pump while either of these conditions exists could result in the pump being damaged.

    The following table summarizes the kind of conditions that might be added to our system.

    Interlocks And Permissives Table

    Device Interlock Permissive

    XV8000 [T8000 High Level]

    XV8001 [T8000 High Level]

    XV8002 [T8000 High Level]

    XV8003 [T8000 High Level]

    MTR8000 T8000 Level > 5% T8000 Level > 10%

    XV8004

    PMP8000 [XV8004 Not Open] OR

    [T8000 Low Level] OR

    [T8100 High Level]

    XV8004 Open

  • 7/31/2019 PR07

    86/92

  • 7/31/2019 PR07

    87/92

    87 of 92

    3. This Sheet includes PMP8000_Perm and PMP8000_Intlk.

    [NOTE When developing the template we only made 4 inputs visible for the Permissive and

    Interlock

    4. We need to add conditions to the Inp_Intlk00, Inp_Intlk01, Inp_Intlk02 and Inp_Perm01 inputs.

    [NOTE Inp_Perm00 is already being used to tie in the Reset Inhibit functionality]

    5. We wish to code the following configuration:

    Device Interlock Permissive

    PMP8000 [XV8004 Not Open] OR

    [T8000 Low Level] OR

    [T8100 High Level]

    XV8004 Open

  • 7/31/2019 PR07

    88/92

    88 of 92

    6. We can code this configuration as shown below:

    7. We must now Finalize these edits by pressing the button at the top of the sheet. You will

    be asked if you want to Finalize All Edits in Program? Click Yes. The changes will now be

    downloaded to the controller.

    8. The rest of the required configuration can be done directly from the View SE Client Application.

  • 7/31/2019 PR07

    89/92

    89 of 92

    9. Return to the Plant PAx Demo Client. Click on the PMP8000 Graphic to launch its Faceplate.

    10. In order to access the Permissive and Interlock Faceplates we need to configure the system to

    recognize that there are Permissives and Interlocks associated with this pump. To do this click,

    on the Engineering Tab and set the checkboxes as shown.

    [NOTEYou may also want to change the labels to PMP8000 if it is not already configured]

  • 7/31/2019 PR07

    90/92

    90 of 92

    11. Now return to the Home Tab. You should now be able to launch the Interlock faceplate by

    clicking on the button indicated.

    12. We can configure the Interlocks from the faceplate. Click on the Interlocks Faceplate and select

    the Engineering Tab. From here we can input descriptions that will be displayed.

  • 7/31/2019 PR07

    91/92

    91 of 92

    13. Configure as shown below. When editing the text Descriptions, please hit the ENTER key after

    each entry to download the data to the processor. A 1 in the OK State indicates that the

    associated equipment will be allowed to run when this input is 1. In this case we want PMP8000

    to run when XV8004 is opened but not when T8000 is low orT8100 is high.

    14. Returning to the Interlock Home Tab you will see that the Pump is now Interlocked as XV8004 is

    not open. The yellow outline indicates that this was the first condition activate the Interlock.

    [NOTET8000 is not in Low Status as we have not set the Low Limit. As an exercise you may

    want to do this and then verify that the second Interlock condition will now be set. Time permitting

    you may also wish to open XV8004 and verify that the Interlock goes away]

  • 7/31/2019 PR07

    92/92

    Customizing the System

    We have now built the basic framework for the Mix Application. The Engineer is now free to focus his

    energies on building the custom aspects of his application.

    To help him with this, PlantPAx offers 4 types of routines Ladder, Structured Text, Function Block

    Diagramming and Sequential Flow Charts. If required, the Engineer can also make use of PhaseManager. He can mix and match all of the above as required.

    PlantPAx allows the Engineer to build more elegant control system by allowing them to focus on the

    unique aspects of his Process.

    THANK YOU FOR ATTENDING THIS CLASS!