Atoms A
Atoms A
Atoms A
278589 Rev. A
Refer to this publication for complete and accurate information that helps you better operate and service Metso Automation equipment. Your comments and suggestions are welcome. Metso Automation 1180 Church Road Lansdale, PA 19446 Attention: Manager, Technical Publications
Copyright 2004 by Metso Automation MAX Controls Inc. Printed in the United States of America All Rights Reserved
Contents
PREFACE ............................................................................................................................III CHAPTER 1 ...................................................................................................................... 1-1
Introduction .................................................................................................................................................................1-1 Overview ...................................................................................................................................................................1-1 Understanding Atomic Blocks and Buffers .......................................................................................................1-1 Configuring Atomic Blocks and Buffers ...........................................................................................................1-1 Using maxDPUTools.........................................................................................................................................1-2 Using the Graphical Configurator .....................................................................................................................1-2 Atomic block Categories .......................................................................................................................................1-3 Atomic block/Buffer Overview by Category.........................................................................................................1-4 Alarm Tag Atomic Blocks.................................................................................................................................1-4 Analog Math Function.......................................................................................................................................1-5 Buffers ...............................................................................................................................................................1-5 Modulating Control Logic .................................................................................................................................1-5 Discrete Logic....................................................................................................................................................1-5 Grouping Atomic Blocks...................................................................................................................................1-6 State Logic.........................................................................................................................................................1-6 Steam Compensation .........................................................................................................................................1-6 Understanding Attributes.......................................................................................................................................1-6 Attribute Categories...........................................................................................................................................1-6 Using Referencing to Interconnect Controls .........................................................................................................1-8 Referencing by Attribute Category....................................................................................................................1-8 Reference Subscriptions ....................................................................................................................................1-8 Reference Syntax...............................................................................................................................................1-9 Understanding Data Types ..................................................................................................................................1-10 Boolean............................................................................................................................................................1-10 Integer..............................................................................................................................................................1-10 Enumerated......................................................................................................................................................1-10 Float.................................................................................................................................................................1-11 String ...............................................................................................................................................................1-11 Absolute Time .................................................................................................................................................1-11 Relative Time...................................................................................................................................................1-11 Commands ...........................................................................................................................................................1-11 COMMAND function blocks ..........................................................................................................................1-11 Edge Trigger function block command outputs ..............................................................................................1-12 Complex Data Type.............................................................................................................................................1-12 Standard Complex Data...................................................................................................................................1-12 Forceback ........................................................................................................................................................1-12 Incremental Control Data ................................................................................................................................1-12 Family Ties ......................................................................................................................................................1-13 Using Buffers to Define Hardware ......................................................................................................................1-13
Contents
Overview ...................................................................................................................................................................2-9 Detailed Description ................................................................................................................................................2-10 Transition Smoothing ......................................................................................................................................2-10 Output Quality .................................................................................................................................................2-10 Attributes .................................................................................................................................................................2-11 Totalizer ( TOTL)......................................................................................................................................................2-13 Overview .................................................................................................................................................................2-13 Critical Behaviors ....................................................................................................................................................2-13 Detailed Description ................................................................................................................................................2-14 Alternate Applications .....................................................................................................................................2-15 Output Quality .................................................................................................................................................2-15 Attributes .................................................................................................................................................................2-16 Lead/Lag (LEADLAG) .............................................................................................................................................2-18 Overview .................................................................................................................................................................2-18 Critical Behaviors ....................................................................................................................................................2-18 Detailed Description ................................................................................................................................................2-18 Attributes .................................................................................................................................................................2-20
Contents
Cascade Control with Wild Variable Demand ..................................................................................................4-7 Control Command Characterization ..................................................................................................................4-8 Modulating Control Atomic Blocks Communication Complex Variables .........................................................4-8 Sources of complex variables: ...........................................................................................................................4-9 Processing Simple Variables referenced for Complex Variable Inputs.............................................................4-9 Processing Complex Variables referenced for Simple Variable Inputs...........................................................4-10 Forceback Initiators: ........................................................................................................................................4-10 Auto/Manual (AutoMan) ..........................................................................................................................................4-11 Overview .................................................................................................................................................................4-11 Critical Behaviors ....................................................................................................................................................4-11 Detailed Description ................................................................................................................................................4-12 Modulating Control AUTOMAN Application ................................................................................................4-12 Configuration...................................................................................................................................................4-12 Value Outputs ..................................................................................................................................................4-14 LOGIC OUTPUTS ..........................................................................................................................................4-15 Attributes .................................................................................................................................................................4-16 Limiter (LIMITER)...................................................................................................................................................4-19 Overview .................................................................................................................................................................4-19 Critical Behaviors ....................................................................................................................................................4-19 Detailed Description ................................................................................................................................................4-20 Modulating Control LIMITER Application ....................................................................................................4-20 Configuration...................................................................................................................................................4-22 Attributes .................................................................................................................................................................4-23 Proportional, Integral, and Derivative (PID)..........................................................................................................4-26 Overview .................................................................................................................................................................4-26 Critical Behaviors ....................................................................................................................................................4-26 Detailed Description ................................................................................................................................................4-28 Modulating Control PID Application ..............................................................................................................4-28 Configuration...................................................................................................................................................4-28 Tuning..............................................................................................................................................................4-30 Noise Filtering .................................................................................................................................................4-30 Tuning Procedure ....................................................................................................................................................4-33 Attributes .................................................................................................................................................................4-34 Feedforward (FEEDFWD) .......................................................................................................................................4-37 Overview .................................................................................................................................................................4-37 Critical Behaviors ....................................................................................................................................................4-37 Detailed Description ................................................................................................................................................4-38 Modulating Control Feedforward Application ................................................................................................4-38 Configuration...................................................................................................................................................4-38 Tuning..............................................................................................................................................................4-39 Adaptive Tuning Connections .........................................................................................................................4-40 Noise Filtering .................................................................................................................................................4-40 Attributes .................................................................................................................................................................4-41 Pulse Adjusting Type Output (PATOUT)...............................................................................................................4-43 Overview .................................................................................................................................................................4-43 Critical Behaviors ....................................................................................................................................................4-43 Detailed Description ................................................................................................................................................4-44 Modulating Control PATOut Application .......................................................................................................4-46 Configuration...................................................................................................................................................4-46 Tuning..............................................................................................................................................................4-46
vii
Contents
Value Function Generator Application............................................................................................................4-78 Characterization for Modulating Control Application.....................................................................................4-79 Attributes .................................................................................................................................................................4-79 Complex Variable Test Atomic block (CMPT).......................................................................................................4-82 Overview .................................................................................................................................................................4-82 Critical Behaviors ....................................................................................................................................................4-82 Detailed Description ................................................................................................................................................4-82 Output Quality .................................................................................................................................................4-82 Attributes .................................................................................................................................................................4-83
ix
Contents
Reducing Nuisance Alarms ...............................................................................................................................7-5 Using Mode to Force an Output Value..............................................................................................................7-5 Creating Custom Alarm Text.............................................................................................................................7-5 Attributes ...................................................................................................................................................................7-6 Digital Tagger (DTAG) .............................................................................................................................................7-10 Overview .................................................................................................................................................................7-10 TagName Reporting ........................................................................................................................................7-10 Configuring Alarm Behavior...........................................................................................................................7-11 Logging Behavior ............................................................................................................................................7-11 Creating a Snooze Alarm.................................................................................................................................7-11 Reducing Nuisance Alarms .............................................................................................................................7-11 Using Mode to Force an Output Value............................................................................................................7-12 Creating Custom Alarm Text...........................................................................................................................7-12 Attirbutes .................................................................................................................................................................7-12
xi
Contents
Level Measurement Compensation Results.....................................................................................................9-12 Attributes .................................................................................................................................................................9-13 Flow Compensation (FLOWCOMP) .......................................................................................................................9-15 Overview .................................................................................................................................................................9-15 Critical Behaviors ....................................................................................................................................................9-15 Detailed Description ................................................................................................................................................9-15 Attributes .................................................................................................................................................................9-17
xiii
Preface
This publication presents a detailed listing of attributes for more than 60 associated atomic blocks and buffers. Use atomic blocks and buffers to create point databases implementing specific process control strategy. An atomic block is a software object that encapsulates specific engineering functionality, such as a PID, an Auto/Manual toggle switch, or an AND gate. Atomic Blocks and buffers are only available with maxDPU-based systems. To configure atomic blocks and buffers, use maxDPUTools and the maxVUE Editor Graphical Configurator. Earlier DPU4A and DPU4B systems use Control and Data Blocks to construct a process control strategy. These systems do not use atomic blocks and buffers. To configure a point database using these earlier DPU versions, use maxTOOLS. For related information, refer to the following publications: Book No. 278590 278597 278605 278606 278704 Title Model PDP Series 200 maxDPU Installation, Preparation, and Adjustment maxDPUTools User's Guide maxDPU Auxiliary Functions, a User's Guide Graphical Configurator User's Guide MaxPAC Positioning Module Programming Guide
Chapter 1
Introduction
Overview
Understanding Atomic Blocks and Buffers
This reference guide provides descriptions for more than 60 atomic blocks and buffers available with maxDPU based systems. Use atomic blocks and buffers to create point databases implementing specific process control strategy. Use atomic blocks for control and data acquisition. Use buffers to define the I/O inventory and specify signal conditioning and linearizations or create a simulation database. An atomic block is a software object that encapsulates specific engineering functionality, such as a PID, an Auto/Manual toggle switch, or an AND gate. Atomic Blocks are normally grouped into larger objects to encapsulate increased functionality. Groups of atomic blocks constitute a custom function block object. Custom function blocks can be applied in hierarchical levels (HID levels) to form increasing levels of control system functionality. These HID levels can then be assigned to a particular DPU. Atomic Blocks, buffers, and custom function blocks are part of a DPMS (Distributed Point Management System), a Microsoft Access-style database and client/server that composes a Distributed Processing Unit (DPU). The DPMS manages its point database, provides master scheduling, and executes the objects composing its database, among its various functions. A large process control application may be composed of multiple DPMS residing in as many DPUs.
Use maxDPUTools to install an entire configuration at one time (full installation) or to install any part of the configuration down to a single atomic block, an incremental installation. See Publication 278595, maxDPUTools User's Guide.
A point configuration, represented graphically, consists of diagrams representing all or portions of groups associated with a selected configuration. Groups are drawn on A size (8.5 in x 10 in) (21.6 cm x 25.4 cm) or B size (11 in x 17 in) (27.9 cm x 43.2 cm) sheets, which can be printed on any default printer accommodating these two paper formats. Logic diagrams appearing on sheets consist of a collection of boxes representing atomic blocks or custom blocks. In a point configuration, atomic blocks and custom block elements are connected or wired to attributes associated with other controls (atomic blocks, groups, custom blocks) using reference pointers. To show referencing graphically, logic diagrams show interconnecting lines entering and leaving boxes. Lines entering a box on the left are inputs and lines leaving a box on the right are outputs. An output emerging from one control may become another control's input. You may use the Graphical Configurator to make online changes to a configuration as you experiment with new wiring schemes. As you rearrange the objects, add, delete or otherwise change wiring, their positions are stored back into the DPMS. You may also make changes to the DPMS point configurations. Select individual controls, such as atomic blocks, groups, and elements within custom blocks to change attribute values. Other configurator tools let you add and delete atomic blocks and groups in a configuration on line.
1-2
Introduction
These become permanent parts of the online DPMS but are not part of the offline database unless uploaded. To retain any online edits or organization changes, the DPMS must be uploaded to the offline database using maxDPUTools or the next install will return the DPMS to its unorganized state. The current release of Graphical Configurator cannot be used to: Copy and paste atomic blocks Upload and download a DPU Create a custom block (molecule/block)
In addition to these eight general categories, the analog math functions, modulating control logic and discrete logic categories contain subcategories. The following table lists atomic blocks by categories and subcategories.
1-3
1-4
Introduction
Analog Tagger (ATAG) Digital Tagger (DTAG) Use the Analog Tagger (ATAG) atomic block to assign a tagname, scaling, alarming, and value forcing capability to any analog point, and use the Digital Tagger atomic block to apply similar capabilities to digital points. These atomic blocks are typically used to assign tagnames and alarming capabilities to individual signals entering buffers and to points related to PID-related atomic blocks. See Chapter 3, "Atomic block Category: Buffers," and Chapter 4, "Atomic block Category: Modulating Control Logic." Chapter 7 discusses key features of each atomic block, such as value forcing using the Mode and ForcedVal parameters, configuring a snooze alarm, creating custom alarm text, and other features. Parameters included with this atomic block allow you to assign a tagname to a point, set alarm and range high and low limits, range clamping, and various alarm behaviors.
Buffers
Use buffers to define the I/O inventory and specify signal conditioning and linearizations. Most currently available I/O modules are represented by an associated buffer type. See also, "Using Buffers to Define Hardware."
Discrete Logic
1-5
State Logic
This consists of atomic blocks that provide controls for on/off devices and sequence operation.
Steam Compensation
This consists of atomic blocks that provide steam property values or apply steam properties for process measurement compensations. (The flow compensation atomic blocks also provide compensation for air and gas flows.)
Understanding Attributes
The data stored in an atomic block is organized as a set of attributes. For each atomic block and buffer, this reference guide presents a collection of tables listing attributes. Tables are organized by various attribute categories, such as inputs, output, parameters, and so forth. See next section. The tabular detail shows three informational columns, listing the name of each attribute, data types associated with each attribute, and a brief description of the attribute. All atomic blocks have some attributes in common. All attributes have subattributes. Subattributes include category, description, reference, and several others. Some of the others are attrwriteable, attrreadable attrminval etc.
Attribute Categories
Attributes may be divided into the following categories: General All atomic blocks have required foundation attributes.
1-6
Introduction
Inputs Parameters Inputs are values that are usually obtained by referencing another attribute. Parameters are similar to inputs except it is expected that referencing other attributes is unlikely and that the local value is used. They are predominantly used to configure the atomic block. Outputs are values that are the result of the function or operation with which they are associated. They are predominantly used to generate data for other atomic blocks to use. These are similar to outputs except it is not expected that these are connected to inputs. They are predominantly used to monitor the atomic blocks execution. When defining a user object you are free to define your own attributes. They can be categorized as any of the above or you may define your own categories for your own purposes. All attributes have the sub-attribute Quality. The behavior of atomic blocks may be based on the Quality of its inputs. Use the QualityForce atomic block to force a quality change on a value as it is passed through. 0 = good data quality 1 = doubtful data quality 2 = substitute data quality 3 = bad data quality Methods direct an atomic block to perform a special function. Methods include commands to change mode or target value, etc. Because pure method values do not exist after the method is executed, they cannot be read back. Attributes that are used to receive commands from the HMI that will initiate some action within the atomic blocks algorithm.
Outputs
Status
Custom
Quality
Methods
Commands
Table 1-2 lists attribute categories listed in this publication for each atomic block. Categories, such as General and Quality, are common to all atomic blocks and are not listed with each atomic block type. The table lists information about referencing, read/write characteristics and configuration information. Most of these attribute categories are viewable in configuration utilities, such as maxDPUTools, Graphical Configurator, and Point Browser. Table 1-2. Attribute Categories and Characteristics
1-7
*Attribute is shown on the Graphical Configurator as a quill protruding from the atomic block bit map in Detail Mode before any attributes are referenced or exposed.
Output:
Parameter:
Status:
Use referencing: to read an attribute within the same control containing the reference to read attributes within other controls to read attributes within controls located in other configurations
Reference Subscriptions
1-8
Introduction
All inputs have several sub-attributes to represent their data. The local (default) value and the reference pointer fields are configurable. The working value is always retrieved by following the reference pointer. The following three cases apply to input references: 1. When a reference pointer is not specified, the default for the pointer is to point to the local value. 2. Optimized subscriptions use the reference pointer to pick a value in the DPU database (local memory) eliminating the need to subscribe to the Software Backplane. This takes the same amount of processor time as retrieving a local value. See Table 1-2. 3. Unoptimized subscriptions use the pointer to pick a value from a location, which must be interpreted. These would include - points outside the DPMS (including peer to peer communication), - references to attributes of a different type (e.g. time type input referenced to a floating point value), - some status type attributes that are not stored, and - (at least at present) sub-attributes of input attributes. Values by unoptimized subscriptions may not update every scan during periods of high DPU activity.
Reference Syntax
The meaning of the following characters describes the construction of a reference field entry. See Publication 278597, maxDPUTools Users Guide, Using Referencing to Interconnect Controls, for a more extensive discussion of reference syntax. Character / # . .. Character Description Slash Number Sign Single Dot Double Dot Meaning Hierarchical level separator Designates the beginning of a relative ID number My child (also designates the beginning of an attribute name) Sibling (child of my parent) (note that ../../ designates an aunt/uncle (child of my grandparent)) The next hierarchical level above with a child whose name matches the generic name following the next slash (/) Follow the reference of the attribute
Caret
Follow
1-9
Boolean
Boolean data can only have the values True and False. It represents two state conditions such as: active/not active; on/off; alarm/no alarm.
Integer
Integers are whole numbers with no fractional component. They may be range-restricted according to use.
Enumerated
Enumerated data is another variation of Integer or Boolean where there is a meaning assigned to a list of values, which is severely restricted to those having special meaning to the function.
1-10
Introduction
Example: mode in the auto/manual atomic block may be set to 0=manual 1= auto
Float
Real or floating point data is used to represent a value in a continuum of a range of possible values. They are not restricted to whole values and may differ from other floats by very small increments. (Behind the scenes, most data is actually stored in this format. Consequently, you may occasionally see fields where integer and even Boolean values are sometimes misrepresented as floats).
String
Generally used for text.
Absolute Time
Absolute time is a special type of data, displayed in a standard time format. It is derived from the local clock, synchronized to the system master clock.
Relative Time
Relative time is another variation of float that enables it to be read by a standard input reference.
Commands
Commands are a special type of input to a function block that causes an action by the block when the command is written. To initiate this one time (scan) action, the command value is time stamped. The value represents an enumerated input to command one of a set of actions or a floating input to set a value entry (the input determines the application of the value). Normally the input is written by maxVUE functions (that includes the time stamp for the write event). But the input could be referenced to a COMMAND function block output (.OUT01 - .OUT16) or an edge trigger (EDGEANY, EDGEFALL, EDGERISE) function block command output (.CMDOUT).
1-11
Forceback
To avoid having upstream components run away (wind up) when the downstream components are unable to respond a concept called forceback is used to impose limits on the master source. The special value Status is used to describe the limit being imposed. RHI RLO VAL STAT
1-12
Introduction
Family Ties
Two special connections of atomic blocks require a special means of complex and even bi-directional communication. Participation master and members must be able to keep tabs on one another that they do through the master demand connection. Sequence master and steps have to pass status and active state information to one another, which they do through the chain--complex connection.
I/O Addressing
Up to 45 I/O Modules or up to 255 I/O addresses may be assigned to each DPU. I/O addresses are used to access I/O modules or channels of I/O modules. Each digital I/O module supports 16 bits with one address. Analog modules generally use one address per channel. I/O Analog and Digital
1-13
1-14
Introduction
Two relay output types 240 VAC, 130 VDC Form A relay 10 channel 240 VAC, 130 VDC Form C relay