Вы находитесь на странице: 1из 55

Using the PlantPAx

Library and
Engineering Tools

Dale Reed
Senior Project Engineer
November 5-6, 2012

Copyright 2012 Rockwell Automation, Inc. All rights reserved.


Agenda

Introduction

What is the PlantPAx Library of


Process Objects?

Building a Control Strategy

Summary of Current Library Objects

Discussion, Q&A

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 2


Introduction

Copyright 2012 Rockwell Automation, Inc. All rights reserved.


What Are the Goals for This Session?
Learn:
About the PlantPAx Library of Process Objects.
Where to obtain the library and how to install and apply it.
What the PlantPAx Library Add-On Instructions (AOI) do and
how to tie them together to build powerful control strategies.
How to quickly build HMI displays that are easy to use for
operators, maintenance personnel, and engineers.
What functions are currently available in the PlantPAx
Library of Process Objects.
Where to find documentation and how to access support.

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 4


What Is the PlantPAx
Library of Process
Objects?

Copyright 2012 Rockwell Automation, Inc. All rights reserved.


Reusable Library for Design Productivity

 Suite of control and


HMI objects to
accelerate project
engineering

 Role-based feature
set for
 Operation
 Maintenance
 Engineering

PlantPAx Standard Library Out of the Box


Copyright 2012 Rockwell Automation, Inc. All rights reserved. 6
Library Philosophy

Included System Custom


Library Hierarchy in Base Add-On Purchase Example
System
Mixer/Reactor,
etc.
Standard Applications

Level control,
Control Strategies temperature
(Control Modules) control, etc.

Devices (valves,
Devices motors / drives,
(Process Objects) transmitters, etc.)
Logix5000
function blocks,
Logix Programming and faceplates and
Visualization Tools graphic objects

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 7


Library of Process Objects
Whats Different?

 Logic and graphics designed concurrently

 User-based Mode Model


 Hand, Maintenance, Override, Program, Operator

 User-based Security Model


 Operator, Operating Supervisor
 Maintenance, Maintenance Supervisor
 Manager, Engineer, Administrator

 Built-in loopback simulation on all field devices as appropriate


Copyright 2012 Rockwell Automation, Inc. All rights reserved. 8
Library of Process Objects
What Do I Get?

 For each object :


 RSLogix 5000 v18 or later
 AOI Exports

 FactoryTalk View SE / ME
 Version 6.0 or later
 Operation / Configuration Faceplates
 Graphic Symbol Library
 Help Displays

 PDF Reference Manual

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 9


Key Benefits of This Model

 Improvements in:
 System out-of-the-box experience
 Engineering efficiency for Solution Providers
 Focus on application engineering rather than building base blocks
 Predictability of system behavior
 Consistency of application solutions across different delivery partners
 Library managed by Rockwell Automation Process Group
 Consistent engineering library framework
 In line with customer expectations
 Consistent support model
 TechConnectSM for base library
 Custom agreements for
customer-specific libraries

Ask for PlantPAx Support


Copyright 2012 Rockwell Automation, Inc. All rights reserved. 10
Library of Process Objects
Where Do I Get It?
 RSLogix 5000 DVD
 V19 DVD: Library 1.1-01
 V20 DVD: Library 2.0-03

 Knowledgebase AID #62682


 Always the latest release
 Currently: Library 2.0-07

 Library, plus three sample projects


 Empty template
 Quick sample app
 Pipeline pump station

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 11


Building a Control Strategy

Copyright 2012 Rockwell Automation, Inc. All rights reserved.


Set Up a Routine and Start Coding
 Function Block Diagrams show the flow of information
 Library AOIs can be used in Ladder Diagram or Structured Text

Dont forget to JSR to your new Routine


(or make it a Main Routine)!
Copyright 2012 Rockwell Automation, Inc. All rights reserved. 13
First, I Have a Pump...

 with a fixed-speed motor


 Import the P_Motor Add-On Instruction

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 14


All Dependencies Are Imported

 IMPORTANT: All dependencies are included in the AOI import file


 Embedded AOIs and all required Data Types (UDTs, STRINGs)
 The P_Motor instruction uses P_Alarm and P_Mode

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 15


Add the P_Motor Instruction Instance
 Add the P_Motor instruction

 Set up its Tag


 Project coding standard:
use a Controller Tag

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 16


And Wire the Output

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 17


Default Configuration

 IMPORTANT:
Every instruction defaults to the
simplest, basic device configuration
 Motors: outputs only
with no run feedback
 Valves: outputs only
with no limit switch
feedback

 Additional features are used


if you configure / enable them

 Defaults are listed in the


reference manual for
each instruction
Copyright 2012 Rockwell Automation, Inc. All rights reserved. 18
What About the HMI?

 First, add the library components to your HMI Application (SE or ME!)
1. Import the Images (all the .BMP files)
2. Import the Global Objects (all the .GGFX files)
3. Import the Displays (only the GFX files you need)
 The order is important: each item depends on the previous items

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 19


Displays: Just the Ones You Need

 Each faceplate or Help pop-up counts as only ONE Display


 even though the faceplate has multiple tabbed views

 P_Motor uses P_Mode, P_Alarm


 ...so dont forget to include their Help and Configuration Displays

 SE: Always include Common Analog Edit used for number entry
Copyright 2012 Rockwell Automation, Inc. All rights reserved. 20
Add Pump Symbol to Display

 Create a new Display if needed

 Add a Pump object from the P_Motor Global Objects


 Open the Library GGFX file
 Drag and drop onto your Display

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 21


Configure the Tag

Just ONE Global Object Parameter!


Copyright 2012 Rockwell Automation, Inc. All rights reserved. 22
Start the Client, Call Up the Faceplate

 Click the graphic symbol


to call up the faceplate

 Start and stop


the Pump

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 23


But the Text Is Just Generic...

 Open the Engineering Tab of the faceplate and type your application text
 Be sure to hit Enter to send text to Tag

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 24


How Is This Text Used?
 Text is stored in Local STRING Tags within the AOI Instance Data

 Cfg_Desc (Description) is used for:


 Faceplate Title Bar
 Graphic Symbol Tooltip

 Cfg_Label (Label) is used for:


 Graphic Symbol Label

 Cfg_Tag (Tag name) is used for:


 Faceplate Operator Tab Tag name
 Graphic Symbol Tooltip

 Some AOIs have text for Device States,


Engineering Units, or other functions
Copyright 2012 Rockwell Automation, Inc. All rights reserved. 25
This Motor Has Run Feedback...

 First, connect the run feedback input to the block


 This edit can be done online

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 26


Adding Run Feedback

 Then open the faceplate and enable Run Feedback checking


 Engineering tab: it HAS Run Feedback; Maintenance tab: USE it!

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 27


HAS and USE
 Has: the function exists, is coded
 Under control of Engineering
 If an AOI does not HAVE a
function, it is not visible to
Operators or Maintenance

 Use: the function should be used


as intended
 Under control of Maintenance
 Allows bypassing or disabling
a function temporarily

 Maintenance Bypass Indicator


 Appears when function is
bypassed (Has but not Used)
Copyright 2012 Rockwell Automation, Inc. All rights reserved. 28
What About Interlocks?

 The motor should stop if the Pump Case Temperature is high (TSH)
 Add a Discrete Input, and interlock on a high temp (contact opens)

 First, import the Discrete Input AOI (You can do this online!)

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 29


Adding the Discrete Input

 Add the Discrete Input instruction, create the tag, wire the input
 These additions can be done online

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 30


Adding the Discrete Input
 Add a Discrete Input Graphic symbol on the Display
 Import the needed GFX files
 Drag and drop the Discrete Input symbol
 NOTE: common symbols are in the Process Graphics Library GGFX

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 31


Adding the Discrete Input

 Tie the Graphic Symbol to the controller Tag (Remember how?)


 Global Object Parameter

 Run the HMI Application and test it


 If it is already running, just
close and reopen the Display
 Set up the text (remember how?)

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 32


Add the Interlock Block

 I have multiple Interlocks, and I want to see which one tripped the pump!

 P_Intlk instruction supports:


 Up to 16 interlock conditions
 each configurable for OK = 1 or 0
(not in OK state shuts down)
 each configurable as Bypassable
or Non-Bypassable
 each configurable as Latched
(requires Reset) or Not Latched
 Its own faceplate
 with First-Out indication (bar)
 and configurable text for each
interlock condition

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 33


Adding the Interlock Block (Logic)

 Import P_Intlk AOI into project

 Wire IntlkOK Status outputs to corresponding P_Motor Inputs

 Wire Bypass Active status of Motor back (Assume Data Available)

 Wire interlock conditions to inputs (8 exposed by default, 16 available)

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 34


Adding the Interlock Block (HMI)

 Import the Interlock Faceplate GFX


 One Help Popup for both P_Intlk and P_Perm (Permissives) AOIs

 Add the Global Object Parameter on the Pump Symbol!

The Interlock and Permissive Faceplates are called up from the


associated Motor (or other device) Faceplate, not a graphic symbol!
Copyright 2012 Rockwell Automation, Inc. All rights reserved. 35
Enable Faceplate Navigation

 On the P_Motor Faceplate Engineering Tab, enable the link to P_Intlk


 The Interlock Indicator becomes a button to call up the faceplate

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 36


Configure the Interlock

 Open the Interlocks Faceplate and configure


 Text, OK state, Latching

 This Interlock is Bypassable

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 37


Lets Test It

 Start the Motor

 Set the Pump Case Temperature to High


 Use the Substitute PV function on the Discrete Input!
 The Motor stops on Interlock Trip and cannot be started

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 38


How Do I Jumper Out Interlocks?

 Interlocks and Permissives can be Bypassable or Non-Bypassable

 Bypassable Interlocks and Permissives can be bypassed by Maintenance


 Bypassed when the instruction is in Maintenance Mode
 Bypassed when the instruction is in Override Mode, if so configured
 Maintenance can leave them bypassed temporarily for Operators

 Non-Bypassable Interlocks cannot be bypassed

 No need to open RSLogix 5000, go online and force I/O or modify code
 Everything can be done from HMI Faceplates

 Built into motor, valve, drive and other device instructions

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 39


Interlock Bypass

 Go to the Motor Faceplate


 Maintenance Tab
 Bypass the Interlocks
and Permissives

 Maintenance Bypass Indicators


 To remind you that you have
bypassed an intended function

 Note: Inp_NBIntlkOK,
Inp_NBPermOK are the
Non-Bypassable
interlock inputs

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 40


Lets Test It!

 Run the pump with the High Case Temperature bypassed

 Note the yellow square


 You are running,
but you have
bypassed an
Interlock that would
otherwise keep you
from running

 How do you know this?

 On the faceplate, where do you click first to undo the bypass?


Copyright 2012 Rockwell Automation, Inc. All rights reserved. 41
How Do I Remember All Those Little
Graphic Symbols?

 You only have to remember


THIS ONE:

 Every faceplate has a


Help pop-up that shows all
the indicators that appear
on the faceplate

 Sub-topic help is available


for Alarm and Mode
indicators

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 42


Enforce the Three Start Rule

 Its a big motor


 The thermal mass of the motor is small compared to its windings
 Applying starting current too often will overheat the windings
 Allow three successful starts within a given period of time
 The running motor has a fan to cool it
 Enforce a restart delay after the third start unless the motor
has run long enough to cool off
 If the motor fails to start at any time, enforce
a restart delay

 These rules are enforced by the Restart Inhibit


(P_ResInh) Add-On

 Use P_ResInh as a Permissive

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 43


Permissive vs. Interlock

 Interlocks are checked at all times

 Interlocks will stop a running motor


 Some refer to these as Protectives

 Permissives are checked when a start command is received

 Permissives only prevent starting. Once the motor is running,


Permissives are ignored. (Starter seal-in with hardwired circuit)
Copyright 2012 Rockwell Automation, Inc. All rights reserved. 44
Add and Wire the AOIs

 Import P_Perm (Permissives) and P_ResInh (Restart Inhibit)

 Add the instances, create their tags, and wire them to the Motor

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 45


Add the Displays, Configure the Motor

 As with Interlocks, these faceplates are called from the Motor Faceplate

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 46


Start and Stop Three Times
in Succession

 Starting again is inhibited


 Click the Permissive button to find out why

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 47


Restart Inhibit Faceplate

 This faceplate uses a diagram that:


 Shows what it does (how it works, the state/transition diagram)
 Shows its current state (highlighted state)
 Lets you configure it (numeric entries for times)

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 48


Other Faceplates with Diagrams

 Many other faceplates use these triple purpose diagrams

 Even the Discrete Input!


 Diagram shows
how it works

 Highlighting shows
its current state

 Numeric entries
allow configuration

 Analog Output, Control Valve,


Mix-Proof Valve, many others

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 49


P_Logic for Complex Interlocks

 Operator Information
Available
breadcrumb

 Follow the logic


 Pump IB
High-High
Temperature
caused the
shutdown

 Note the Snapshot


trigger and
time stamp

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 50


Summary of Current
Library Objects

Copyright 2012 Rockwell Automation, Inc. All rights reserved.


Library of Process Objects (2.0)

 Add-On Instructions Analog Inputs with Scaling and Threshold Alarms:


Single, Dual, Multiple
for Logix V18 or later
Advanced Analog Input adds Rate of Change, Square
 Graphic Symbols and Root Extraction, and Deviation Alarms
Faceplates for Analog Output (manual loading station)
FactoryTalk View SE and Control Valve (analog or pulse, with feedback)
FactoryTalk View ME Analog Fanout
V6.0 or later Flowmeter or Weigh Scale Dosing, with dribble, self-
tuning preact

Motors:
Single Speed, Two Speed, Reversing,
Hand Operated (monitor)
Variable Speed Drives
1336, PowerFlex 4 / 40 / 70 / 700 /
753 / 755 / 7000 / DC, etc.)
Valves:
Solenoid Operated, Motor Operated,
Mix-Proof, Hand Operated (monitor)

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 52


Library of Process Objects (2.0)
Discrete Input with Alarm
Discrete 2-, 3- or 4-State Device
n-Position Device (up to 8)
Discrete Output (with Pulsing)
Tank Strapping Table
Logix CPU Utilization Monitor
Standard Modes
Logix Task Monitor
Standard Alarming
Logix Redundancy Monitor
Permissives with Bypass
Logix Change Detector
Interlocks with First-Out
indication and Bypass Faceplates for built-in
instructions:
Motor Run Time / Starts
Enhanced PID (PIDE)
2-state Valve Statistics
Ramp/Soak (RMPS)
Restart Inhibit
Totalizer (TOT)
Reset

Copyright 2012 Rockwell Automation, Inc. All rights reserved. 53


Discussion, Questions and
Answers

Copyright 2012 Rockwell Automation, Inc. All rights reserved.


Questions

Dale Reed
Senior Project Engineer
November 5-6, 2012

Copyright 2012 Rockwell Automation, Inc. All rights reserved.

Вам также может понравиться