Emerson Process Management (Rosemount Analytical) designs, manufactures and test s
its products to meet many national and international standards. Because these instruments
are sophisticated technical products, you MUST properly install, use, and maintainthem to ensure they continue to operate within their normal specifications. The following
instructions MUST be adhered to and integrated into your safety program when installing,
using and maintaining Emerson Process Management (Rosemount Analytical) products.
Failure to follow the proper instructions may cause any one of the following situations to
occur: Loss of life; personal injury; property damage; damage to this instrument; and warranty
invalidation.
• Read all instructions prior to installing, operating, and servicing the product.
• If you do not understand any of the instructions, contact your Emerson Process
Management (Rosemount Analytical) representative for clarification.
• Follow all warnings, cautions, and instructions marked on and supplied with the product.
• Inform and educate your personnel in the proper installation, operation, and
maintenance of the product.
• Install your equipment as specified in the Installation Instructions of the appropriate
Instruction Manual and per applicable local and national codes. Connect all products
to the proper electrical and pressure sources.
• T o ensure proper performance, use qualified personnel to install, operate, update, program,
and maintain the product.
• When replacement parts are required, ensure that qualified people use replacement parts
specified by Emerson Process Management (Rosemount Analytical). Unauthorized parts
and procedures can affect the product’s performance, place the safe operation of your
process at risk, and VOID YOUR W ARRANTY. Look-alike substitutions may result in fire,
electrical hazards, or improper operation.
• Ensure that all equipment doors are closed and protective covers are in place, except
when maintenance is being performed by qualified persons, to prevent electrical
shock and personal injury.
The information contained in this document is subject to change without notice. Misprints
reserved.
Table 6-4. Troubleshooting for PID ................................................................................... 6–16
viRosemount Analytical
Page 9
1 F
OUNDATION FIELDBUS TECHNOLOGY
1.1
F
interconnects field equipment such as sensors, actuators, and controllers. Fieldbus is a
Local Area Network (LAN) for instruments used in both process and manufacturing
automation with built-in capacity to distribute the control application across the network.
It is the ability to distribute control among intelligent field devices on the plant floor and
digitally communicate that information at high speed that makes F
an enabling technology.
Fisher-Rosemount offers a full range of products from field devices to the DeltaV
scalable control system to allow an easy transition to Fieldbus technology.
The Fieldbus retains the features of the 4-20 mA analog system, including standardized
physical interface to the wire, bus powered devices on a single wire, and intrinsic safety
options, and enables additional capabilities such as:
♦ Increased capabilities due to full digital communications.
♦ Reduced wiring and wire terminations due to multiple devices on one set of wires.
♦ Increased selection of suppliers due to interoperability.
♦ Reduced loading on control room equipment with the distribution of some control
VERVIEW
O
OUNDATION
and input/output functions to field devices.
Fieldbus is an all digital, serial, two-way communication system that
OUNDATION
Fieldbus
♦ Speed options for process control and manufacturing applications.
NOTE: The following descriptions and definitions are not intended as a training guide
for Foundation Fieldbus technology but are presented as an overview for those not
familiar with Fieldbus and to define device specific attributes for the Fieldbus system
engineer. Anyone attempting to implement Fieldbus communications and control with
this analyzer must be well versed in Fieldbus technology and protocol and must be
competent in programming using available tools such as DeltaV. See “References”
below for additional sources for Fieldbus technology and methodology.
Rosemount AnalyticalFoundation Fieldbus1–1
Page 10
Foundation Fieldbus Technology
1.2
NTRODUCTION
I
A Fieldbus system is a distributed system composed of field devices and control and
monitoring equipment integrated into the physical environment of a plant or factory.
Fieldbus devices work together to provide I/O and control for automated processes and
operations. The Fieldbus Foundation provides a framework for describing these
systems as a collection of physical devices interconnected by a Fieldbus network. One
of the ways that the physical devices are used is to perform their portion of the total
system operation by implementing one or more function blocks.
1.2.1 Function Blocks
Function blocks within the Fieldbus device perform the various functions required for
process control. Because each system is different, the mix and configuration of
functions are different. Therefore, the Fieldbus F
OUNDATION
has designed a range of
function blocks, each addressing a different need.
Function blocks perform process control functions, such as analog input (AI) and
analog output (AO) functions as well as proportional-integral-derivative (PID) functions.
The standard function blocks provide a common structure for defining function block
inputs, outputs, control parameters, events, alarms, and modes, and combining them
into a process that can be implemented within a single device or over the Fieldbus
network. This simplifies the identification of characteristics that are common to function
blocks.
The Fieldbus F
parameters used in all function blocks called universal parameters. The F
OUNDATION
has established the function blocks by defining a small set of
OUNDATION
has also defined a standard set of function block classes, such as input, output, control,
and calculation blocks. Each of these classes also has a small set of parameters
established for it. They have also published definitions for transducer blocks commonly
used with standard function blocks. Examples include temperature, pressure, level, and
flow transducer blocks.
The F
OUNDATION
specifications and definitions allow vendors to add their own
parameters by importing and subclassing specified classes. This approach permits
extending function block definitions as new requirements are discovered and as
technology advances.
Figure 1-1 illustrates the internal structure of a function block. When execution begins,
input parameter values from other blocks are snapped-in by the block. The input snap
process ensures that these values do not change during the block execution. New
values received for these parameters do not affect the snapped values and will not be
used by the function block during the current execution.
1–2Foundation FieldbusRosemount Analytical
Page 11
Foundation Fieldbus Technology
Input EventsExecution ControlOutput Events
Input Parameter
Linkages
Input
Snap
StatusStatus
Figure 1-1. Function Block Internal Structure
Processing
Algorithm
Output
Snap
Output Parameter
Linkages
Once the inputs are snapped, the algorithm operates on them, generating outputs as it
progresses. Algorithm executions are controlled through the setting of contained
parameters. Contained parameters are internal to function blocks and do not appear as
normal input and output parameters. However, they may be accessed and modified
remotely, as specified by the function block.
Input events may affect the operation of the algorithm. An execution control function
regulates the receipt of input events and the generation of output events during
execution of the algorithm. Upon completion of the algorithm, the data internal to the
block is saved for use in the next execution, and the output data is snapped, releasing it
for use by other function blocks.
A block is a tagged logical processing unit. The tag is the name of the block. System
management services locate a block by its tag. Thus the service personnel need only
know the tag of the block to access or change the appropriate block parameters.
Function blocks are also capable of performing short-term data collection and storage
for reviewing their behavior.
1.2.2 Device Descriptions
Device Descriptions are specified tool definitions that are associated with the function
blocks. Device descriptions provide for the definition and description of the function
blocks and their parameters.
To promote consistency of definition and understanding, descriptive information, such
as data type and length, is maintained in the device description. Device Descriptions
are written using an open language called the Device Description Language (DDL).
Parameter transfers between function blocks can be easily verified because all
parameters are described using the same language. Once written, the device
description can be stored on an external medium, such as a CD-ROM or diskette.
Users can then read the device description from the external medium. The use of an
open language in the device description permits interoperability of function blocks
within devices from various vendors. Additionally, human interface devices, such as
operator consoles and computers, do not have to be programmed specifically for each
type of
Rosemount AnalyticalFoundation Fieldbus1–3
Page 12
Foundation Fieldbus Technology
device on the bus. Instead their displays and interactions with devices are driven from
the device descriptions.
Device descriptions may also include a set of processing routines called methods.
Methods provide a procedure for accessing and manipulating parameters within a
device.
1.3
1.3.1 Resource Blocks
1.3.2 Transducer Blocks
NSTRUMENT-SPECIFIC FUNCTIONS BLOCKS
I
In addition to function blocks, Fieldbus devices contain two other block types to support
the function blocks. These are the resource block and the transducer block. The
resource block contains the hardware specific characteristics associated with a device.
Transducer blocks couple the function blocks to local input/output functions.
Resource blocks contain the hardware specific characteristics associated with a device;
they have no input or output parameters. The algorithm within a resource block
monitors and controls the general operation of the physical device hardware. The
execution of this algorithm is dependent on the characteristics of the physical device,
as defined by the manufacturer. As a result of this activity, the algorithm may cause the
generation of events. There is only one resource block defined for a device. For
example, when the mode of a resource block is “out of service,” it impacts all of the
other blocks.
Transducer blocks connect function blocks to local input/output functions. They read
sensor hardware and write to effector (actuator) hardware. This permits the transducer
block to execute as frequently as necessary to obtain good data from sensors and
ensure proper writes to the actuator without burdening the function blocks that use the
data. The transducer block also isolates the function block from the vendor specific
characteristics of the physical I/O.
1.3.3 Alerts
When an alert occurs, execution control sends an event notification and waits a
specified period of time for an acknowledgment to be received. This occurs even if the
condition that caused the alert no longer exists. If the acknowledgment is not received
within the pre-specified time-out period, the event notification is retransmitted. This
assures that alert messages are not lost.
Two types of alerts are defined for the block, events and alarms. Events are used to
report a status change when a block leaves a particular state, such as when a
parameter crosses a threshold. Alarms not only report a status change when a block
leaves a particular state, but also report when it returns back to that state.
1–4Foundation FieldbusRosemount Analytical
Page 13
Foundation Fieldbus Technology
1.4
ETWORK COMMUNICATION
N
Figure 1-2 illustrates a simple Fieldbus network consisting of a single segment (link).
(Link Active Scheduler)
LAS
Link Master
Basic Devices and/or Link Master Devices
Figure 1-2. Single Link Fieldbus Network
Fieldbus Link
1.4.1 Link Active Scheduler (LAS)
All links have one and only one Link Active Scheduler (LAS). The LAS operates as the
bus arbiter for the link. The LAS does the following:
♦ recognizes and adds new devices to the link.
♦ removes non-responsive devices from the link.
♦ distributes Data Link (DL) and Link Scheduling (LS) time on the link. Data Link Time
is a network-wide time periodically distributed by the LAS to synchronize all device
clocks on the bus. Link Scheduling time is a link-specific time represented as an
offset from Data Link Time. It is used to indicate when the LAS on each link begins
and repeats its schedule. It is used by system management to synchronize function
block execution with the data transfers scheduled by the LAS.
♦ polls devices for process loop data at scheduled transmission times.
♦ distributes a priority-driven token to devices between scheduled transmissions.
Any device on the link may become the LAS, as long as it is capable. The devices that
are capable of becoming the LAS are called link master devices. All other devices are
referred to as basic devices. When a segment first starts up, or upon failure of the
existing LAS, the link master devices on the segment bid to become the LAS. The link
master that wins the bid begins operating as the LAS immediately upon completion of
the bidding process. Link masters that do not become the LAS act as basic devices.
However, the link masters can act as LAS backups by monitoring the link for failure of
the LAS and then bidding to become the LAS when a LAS failure is detected.
Only one device can communicate at a time. Permission to communicate on the bus is
controlled by a centralized token passed between devices by the LAS. Only the device
with the token can communicate. The LAS maintains a list of all devices that need
access to the bus. This list is called the “Live List.”
Two types of tokens are used by the LAS. A time-critical token, compel data (CD), is
sent by the LAS according to a schedule. A non-time critical token, pass token (PT), is
sent by the LAS to each device in ascending numerical order according to address.
Rosemount AnalyticalFoundation Fieldbus1–5
Page 14
Foundation Fieldbus Technology
1.4.2 Device Addressing
Fieldbus uses addresses between 0 and 255. Addresses 0 through 15 are reserved for
group addressing and for use by the data link layer. For all Fisher-Rosemount Fieldbus
devices addresses 20 through 35 are available to the device. If there are two or more
devices with the same address, the first device to start will use its programmed
address. Each of the other devices will be given one of four temporary addresses
between 248 and 251. If a temporary address is not available, the device will be
unavailable until a temporary address becomes available.
1.4.3 Scheduled Transfers
Information is transferred between devices over the Fieldbus using three different types
of reporting.
• Publisher/Subscriber: This type of reporting is used to transfer critical process loop
data, such as the process variable. The data producers (publishers) post the data in a
buffer that is transmitted to the subscriber (S), when the publisher receives the Compel
data. The buffer contains only one copy of the data. New data completely overwrites
previous data. Updates to published data are transferred simultaneously to all
subscribers in a single broadcast. Transfers of this type can be scheduled on a
precisely periodic basis.
• Report Distribution: This type of reporting is used to broadcast and multicast event
and trend reports. The destination address may be predefined so that all reports are
sent to the same address, or it may be provided separately with each report. Transfers
of this type are queued. They are delivered to the receivers in the order transmitted,
although there may be gaps due to corrupted transfers. These transfers are
unscheduled and occur in between scheduled transfers at a given priority.
• Client/Server: This type of reporting is used for request/response exchanges
between pairs of devices. Like Report Distribution reporting, the transfers are queued,
unscheduled, and prioritized. Queued means the messages are sent and received in
the order submitted for transmission, according to their priority, without overwriting
previous messages. However, unlike Report Distribution, these transfers are flow
controlled and employ a retransmission procedure to recover from corrupted transfers.
Figure 1-3 diagrams the method of scheduled data transfer. Scheduled data transfers
are typically used for the regular cyclic transfer of process loop data between devices
on the Fieldbus. Scheduled transfers use publisher/subscriber type of reporting for data
transfer. The Link Active Scheduler maintains a list of transmit times for all publishers in
all devices that need to be cyclically transmitted. When it is time for a device to publish
data, the LAS issues a Compel Data (CD) message to the device. Upon receipt of the
CD, the device broadcasts or “publishes” the data to all devices on the Fieldbus. Any
device that is configured to receive the data is called a “subscriber.”
1–6Foundation FieldbusRosemount Analytical
Page 15
LAS
Schedule
CD(X,A)
Foundation Fieldbus Technology
X
Y
Z
Figure 1-3. Scheduled Data Transfer
DT(A)
ABCAD A
PSPSP S
Device XDevice YDevice Z
LAS = Link Active Scheduler
P = Publisher
S = Subscriber
CD = Compel Data
DT = Data Transfer Packet
1.4.4 Unscheduled Transfers
Figure 1-4 diagrams an unscheduled transfer. Unscheduled transfers are used for
things like user-initiated changes, including set point changes, mode changes, tuning
changes, and upload/download. Unscheduled transfers use either report distribution or
client/server type of reporting for transferring data.
All of the devices on the Fieldbus are given a chance to send unscheduled messages
between transmissions of scheduled data. The LAS grants permission to a device to
use the Fieldbus by issuing a pass token (PT) message to the device. When the device
receives the PT, it is allowed to send messages until it has finished or until the
“maximum token hold time” has expired, whichever is the shorter time. The message
may be sent to a single destination or to multiple destinations.
LAS
Schedule
X
Y
Z
PT(Z)
DT(M)
ABCA DA
MM
PSPS PS
Device XDevice YDevice Z
Figure 1-4. Unscheduled Data Transfer
LAS = Link Active Scheduler
P = Publisher
S = Subscriber
P = Pass Token
M = Message
Rosemount AnalyticalFoundation Fieldbus1–7
Page 16
Foundation Fieldbus Technology
1.4.5 Function Block Scheduling
Figure 1-5 shows an example of a link schedule. A single iteration of the link-wide
schedule is called the macrocycle. When the system is configured and the function
blocks are linked, a master link-wide schedule is created for the LAS. Each device
maintains its portion of the link-wide schedule, known as the Function Block Schedule.
The Function Block Schedule indicates when the function blocks for the device are to
be executed. The scheduled execution time for each function block is represented as
an offset from the beginning of the macrocycle start time.
Device 1
Scheduled
Communication
Unscheduled
Communication
Device 2
Macrocycle Start Time
Offset from macrocycle Start
time = 0 for AI Execution
AI
AI
Offset from macrocycle Start
time = 20 for AI Communication
Offset from macrocycle Start
time = 30 for PID Execution
AOAOPID
Offset from macrocycle Start
time = 50 for AO Execution
Sequence Repeats
PID
Macrocycle
Figure 1-5. Example of Link Schedule
(Showing scheduled and unscheduled communication)
To support synchronization of schedules, periodically Link Scheduling (LS) time is
distributed. The beginning of the macrocycle represents a common starting time for all
Function Block schedules on a link and for the LAS link-wide schedule. This permits
function block executions and their corresponding data transfers to be synchronized in
time.
1–8Foundation FieldbusRosemount Analytical
Page 17
Foundation Fieldbus Technology
1.5
The following Fieldbus F
EFERENCES
R
OUNDATION
documents should be used to gain an
understanding of Fieldbus, and are referenced wherever appropriate in the document:
Document NumberDocument Title
FF-890
FF-891
FF-902
FF-903
RMD-D9800039
Fieldbus Foundation™ Fieldbus Specification —
Function Block Application Process – Part 1
Fieldbus Foundation™ Fieldbus Specification —
Function Block Application Process – Part 2
Fieldbus Foundation™ Fieldbus Specification —
Transducer Block Application Process – Part 1
Fieldbus Foundation™ Fieldbus Specification —
Transducer Block Application Process – Part 2
Rosemount Common Practice Resource Block Specification
1.5.1 Fieldbus Foundation
The Fieldbus Foundation is the leading organization
dedicated to a single international, interoperable Fieldbus
standard. Established in September 1994 by a merger of WorldFIP North America and
the Interoperable Systems Project (ISP), the foundation is a not-for-profit corporation
that consists of nearly 120 of the world's leading suppliers and end users of process
control and manufacturing automation products. Working together, these companies
have provided unparalleled support for a worldwide Fieldbus protocol, and have made
major contributions to the IEC/ISA Fieldbus standards development.
Important differences exist between the Fieldbus Foundation and other Fieldbus
initiatives. The foundation's technology - F
OUNDATION
Fieldbus - is unique insomuch as
it is designed to support mission-critical applications where the proper transfer and
handling of data is essential. Unlike proprietary network protocols, F
OUNDATION
Fieldbus is neither owned by any individual company, or controlled by a single nation or
regulatory body. Rather, it is an "open," interoperable Fieldbus that is based on the
International Standards Organization's Open System Interconnect (OSI/ISO) sevenlayer communications model. The F
OUNDATION
specification is compatible with the
officially sanctioned SP50 standards project of The International Society for
Measurement and Control (ISA) and the International Electrotechnical Committee
(IEC).
Contact information:
9390 Research Blvd., Suite II-250 • Austin, Texas 78759-9780 USA
Tel: +1.512.794.8890 • Fax: +1.512.794.8893
Email: info@fieldbus.org
Internet: www.fieldbus.org
Rosemount AnalyticalFoundation Fieldbus1–9
Page 18
Page 19
2 T
The Transducer Block Specification provides the information necessary to interface the
CAT100 or the BINOS 100 2M to the Fieldbus. The data structures should be used for
transferring Fieldbus information between the analyzer’s Object Dictionary and other hosts
and devices on Fieldbus.
Two tables are used to describe the analyzer parameters. The Parameter Descriptions table
defines the relative index value used to reference the parameter in the analyzer Transducer
Block Object Dictionary and the mnemonic used to reference the parameter, as well as the
View(s )in which they are contained. This table also gives a brief description of the behavior
of each of the parameters. The Parameter Attributes table describes the key attributes of
each of the parameters.
The transmitter specific detailed status and its relationship to standard Fieldbus block alarms
and errors are shown in a table in the Detailed Status section. The I/O channel assignments
and their status values are shown in the Channel Assignments section.
Finally the default values for parameters are defined. Static parameters will be set to the
default value when a restart with defaults is invoked in the Resource block. Dynamic
parameter default values are specified to aid in configuring static simulations of the
transducer block. For example, when creating a placeholder for this device in a host
application’s database.
RANSDUCER BLOCK SPECIFICATION
Rosemount AnalyticalFoundation Fieldbus2–1
Page 20
Transducer Block
ARAMETER DESCRIPTIONS
2.1
P
This table gives a description of all the parameters or gives the location in the Fieldbus specifications where the description
can be found. Parameter access is described in FF-890.
Table 2-1. Parameter Descriptions
Relative
Index
Parameter MnemonicDescriptionView1View2View3View
4-1
63AIR_PRESSUREThe current air pressure (in hPa): if pressure sensor is installed this is a dynamic
variable; if no pressure sensor is installed we have to input the current value. If
we use remote pressure we have to input via AO block. There we have to select
appropriate CHANNEL assignment.
4ALERT_KEYSee FF-891 section 5.3.1
64ANALYZER_OPTSThe installed analyzer options2
66ANALYZER_SERIAL_NUMBERThe analyzer serial number10
67ANALYZER_SW_VERSIONThe version number of the analyzer software32
8BLOCK_ALMSee FF-891 section 5.3.
6BLOCK_ERRSee FF-891 section 5.3.22
21CAL_CONSTANT_1The zero correction offset (calculated by zero calibration).4
42CAL_CONSTANT_2The zero correction offset (calculated by zero calibration).4
59CAL_GAS_TIMEPurge delay time (in secs) for calibration gas supply2
18CAL_MINIMUM_SPAN_1See FF-903 section 3.3. In the BINOS, a calibration is used for checking the
analyzer only. The calculation of the Primary Value is not effected.
39CAL_MINIMUM_SPAN_2See FF-903 section 3.3. In the BINOS, a calibration is used for checking the
analyzer only. The calculation of the Primary Value is not effected.
58CAL_OPTSThe calibration options.1
16CAL_POINT_HI_1See FF-903 section 3.34
37CAL_POINT_HI_2See FF-903 section 3.34
17CAL_POINT_LO_1See FF-903 section 3.34
55
4
4
View
4-2
View
4-3
Rosemount AnalyticalFoundation Fieldbus2–2
Page 21
Transducer Block
Relative
Index
Parameter MnemonicDescriptionView1View2View3View
4-1
38CAL_POINT_LO_2See FF-903 section 3.34
22CAL_PRESSURE_FACTOR_1The factor of pressure influence onto concentration measurement. Relates
43CAL_PRESSURE_FACTOR_2The factor of pressure influence onto concentration measurement. Relates
20CAL_SLOPE_1This parameter represents the span correction factor (calculated by span
41CAL_SLOPE_2This parameter represents the span correction factor (calculated by span
56CAL_STATEThis parameter represents the present state the calibration check cycle is in.
57CAL_STEPThis parameter is used to initiate a zero or span calibration. See table 2 for the
19CAL_UNIT_1See FF-903 section 3.3.2
40CAL_UNIT_2See FF-903 section 3.3.2
65CAL_VALVE_STATEThe state of the calibration gas valves.1
60CAL_ZERO_INTERVALThe time interval (in hours) for automatic zero calibrations of both channels.2
61CAL_ZERO_SPAN_INTERVALThe time interval (in hours) for automatic zero & span calibrations of both
12COLLECTION_DIRECTORYSee FF-891 section 5.3.
62DETAILED_STATUSThis is a bit-enumerated value used to communicate the status of the BINOS
70MEASUREMENT_OPTSThe different kind of options for the measurement.1
5MODE_BLKSee FF-891 section 5.3.44
14PRIMARY_VALUE_1See FF-903 section 3.3.55
35PRIMARY_VALUE_2See FF-903 section 3.3.55
15PRIMARY_VALUE_RANGE_1See FF-903 section 3.3.11
36PRIMARY_VALUE_RANGE_2See FF-903 section 3.3.11
pressure to pressure factor.
pressure to pressure factor.
calibration).
calibration).
11
Refer to table 1 for the definition of states.
definition of states.
channels.
(This is similar in nature to the command 48 status bits in HART). See Table 2-9.
4
4
4
4
1
4
View
4-2
2
View
4-3
Rosemount Analytical
Foundation Fieldbus2–3
Page 22
Transducer Block
Relative
Index
Parameter MnemonicDescriptionView1View2View3View
13PRIMARY_VALUE_TYPE_1See FF-903 section 3.3 and 4.1.2
34PRIMARY_VALUE_TYPE_2See FF-903 section 3.3 and 4.1.2
71PUMP_CTRLThe instance of the device which controls the optional internal pump.1
69REMOTE_EXCLUSIVEThis parameter disallows to switch into the local operator interface mode
(switching in local operator interface mode would disable to change a parameter
via FFBUS). After a timeout period without writing to parameters the exclusive
mode will be disabled again.
68REMOTE_SECURITYThis parameter controls access to the special service transducer block
parameters. A special access code must be entered to enable changes to this
static service parameters. After a timeout period, the parameter will be reset to 0
and access will be restricted. While service parameter access is enabled,
parameters may not be changed via the local operator interface on the field
device.
74SENSOR_CAL_DATESee FF-903 section 3.3.7
73SENSOR_CAL_LOCSee FF-903 section 3.3.32
72SENSOR_CAL_METHODSee FF-903 sections 3.3 and 4.5.1
75SENSOR_CAL_WHOSee FF-903 section 3.3.32
29SENSOR_CROSS_INTF_OFFSET_1The zero correction of cross interference compensation.4
50SENSOR_CROSS_INTF_OFFSET_2The zero correction of cross interference compensation.4
55SENSOR_DETECTOR_SELThis parameter assigns compensation defaults for installed detector type.1
25SENSOR_FILTER_VALUE_1The t90 response time (in secs) for gas change.4
46SENSOR_FILTER_VALUE_2The t90 response time (in secs) for gas change.44
33SENSOR_GAS_TYPE_1The measurement type and assigns compensation defaults for gas type.1
54SENSOR_GAS_TYPE_2The measurement type and assigns compensation defaults for gas type.1
24SENSOR_ID_1The id description of the channel sensor.20
45SENSOR_ID_2The id description of the channel sensor.2020
32SENSOR_NOISE_REDUCTION_1This parameter represents the value for dynamic noise reduction.4
53SENSOR_NOISE_REDUCTION_2This parameter represents the value for dynamic noise reduction.4
4-1
View
4-2
1
2
View
4-3
Rosemount AnalyticalFoundation Fieldbus2–4
Page 23
Transducer Block
Relative
Index
Parameter MnemonicDescriptionView1View2View3View
31SENSOR_PRESSURE_FACTOR_1This parameter represents the span correction of pressure compensation.4
52SENSOR_PRESSURE_FACTOR_2This parameter represents the span correction of pressure compensation.4
26SENSOR_RAW_CONCENTRATION_1 This parameter represents the raw value of A/D-Conversion of measurement
channel.
47SENSOR_RAW_CONCENTRATION_2 This parameter represents the raw value of A/D-Conversion of measurement
channel.
27SENSOR_RAW_TEMPERATURE_1This parameter represents the raw value of A/D-Conversion of temperature
measurement.
48SENSOR_RAW_TEMPERATURE_2This parameter represents the raw value of A/D-Conversion of temperature
measurement.
30SENSOR_TEMP_FACTOR_1This parameter represents the span correction of temperature compensation.4
51SENSOR_TEMP_FACTOR_2This parameter represents the span correction of temperature compensation.4
28SENSOR_TEMP_OFFSET_1This parameter represents the zero correction of temperature compensation.4
49SENSOR_TEMP_OFFSET_2This parameter represents the zero correction of temperature compensation.4
23SENSOR_TYPE_1See FF-903 section 3.3 and 4.3.2
44SENSOR_TYPE_2See FF-903 section 3.3 and 4.3.22
1ST_REVSee FF-891 section 5.3.222222
76STATS_ATTEMPTSTotal number of messages sent to the transducer a/d board.4
77STATS_FAILURESTotal number of failed a/d board message attempts.4
78STATS_TIMEOUTSTotal number of timed out a/d board message attempts.4
3STRATEGYSee FF-891 section 5.3.2
2TAG_DESCSee FF-891 section 5.3.
9TRANSDUCER_DIRECTORYSee FF-903 section 3.3.
10TRANSDUCER_TYPESee FF-903 sections 3.3.2222
7UPDATE_EVTSee FF-891 section 5.3.
11XD_ERRORSee Table 2-9 and FF-903 section 3.3.11
4
4
4
4
4-1
View
4-2
View
4-3
Rosemount Analytical
Foundation Fieldbus2–5
Page 24
Transducer Block
ARAMETER ATTRIBUTE DEFINITIONS
2.2
P
The parameters not described in FF-891 or FF-903 are described in the following table. This table also includes some parameters
defined in FF-891 or FF-903, but are redefined for this application. This table has the same definitions as the one in FF-891, except
that the columns for Use/Model and Direction have been omitted because all parameters are contained. Refer to FF-891, section 5
(Block Parameters), for a further explanation of this table.
SENSOR_PRESSURE_FACTOR_nSFloating PointD4Read Only
SENSOR_RAW_CONCENTRATION_nSFloating PointD4ADC CountsRead Only
SENSOR_RAW_TEMPERATURE_nSFloating PointD4ADC CountsRead Only
SENSOR_TEMP_FACTOR_nSFloating PointD4Read Only
SENSOR_TEMP_OFFSET_nSFloating PointD4Read Only
SENSOR_TYPE_nSUnsigned16N2See FF-903 section
STATS_ATTEMPTSSUnsigned32D40-167772150Read Only
STATS_FAILURESSUnsigned32D40-167772150Read Only
STATS_TIMEOUTSSUnsigned32D40-167772150Read Only
Data Type/Structure Store Size Valid RangeInitial Value UnitsModeOtherRange
Type
FF-903
4.2 Transducer Types
65535
(other)
65535
(ZrO2)
EnumeratedRead Only
EnumeratedRead Only
Check
Note 1: Read only if “Pressure sensor installed” bit ANALYZER_OPTS is set or “LOCAL_MODE” bit in DETAILED_STATUS
is set, otherwise is Writable in OOS.
Rosemount Analytical
Foundation Fieldbus2–7
Page 26
Transducer Block
Note 2: This parameter is Read Only unless the SERVICE_MODE bit is on in the DETAILED_STATUS word when it is
Writable in OOS only.
Note 3: This parameter is Read Only if the “LOCAL_MODE” bit is on in the DETAILED_STATUS word.
Note 4: When writing to this parameter, also cause the host application to re-read REMOTE_SECURITY and
REMOTE_EXCLUSIVE.
Note 5: Range check is only done if bits “Pressure sensor installed” and “External pressure measurement enabled” of
ANALYZER_OPTS are cleared.
Rosemount AnalyticalFoundation Fieldbus2–8
Page 27
Transducer Block
ARAMETER ACCESS METHODS
2.3
P
In the CAT 100 or BINOS100 it is possible to access parameters by the Local Operator
Interface (LOI) (which is the front panel using the keys) and/or by the Foundation
Fieldbus option (remote).
Also there is a distinction between normal "user parameters" and "service parameters."
With user parameters the user is able for example to configure different measurement
modes such as start, calibration procedures, etc. The service parameters are ones
which are used by Rosemount service people. They use these parameters to install
different options, configure measurement ranges or do some optimizations for the
instrument.
There are four different access modes, Normal, LOI Change Mode, ExclusiveRemote Change Mode and Service Change Mode. In all four modes the Foundation
Fieldbus option is allowed to read user as well as service parameters. But to write
parameters depends on the current mode.
Normal:
LOI Change Mode:
Exclusive Remote
Change Mode:
Service Change Mode:
In this mode "user parameters" can be written remotely by the FF
option. Service parameters cannot be changed remotely nor can
any parameter be changed by the LOI. This mode is also the only
mode with access to all the other modes.
This is the only mode allowing read/write access to user
parameters by the local operator interface (LOI). This mode can
be accessed from the "Normal" mode by entering the correct
LOIUserCode on the front panel.
Going into this mode also starts a timer (LOI Parameter Access
Timer). Changing any parameter restarts this timer. If a timeout of
this timer occurs (no access of a parameter for a certain time) the
mode automatically switches back to "Normal" mode.
For remote parameter access this mode is similar to the "Normal"
mode, the difference being that it is not possible to go into the
"LOI Change Mode."
This mode may be accessed by setting the "RemoteExclusive"
parameter to “Enabled.” Going into this mode also starts a timer
(RemoteParameterAccessTimer) which will cause an automatic
transition to Normal mode if no parameter is accessed for a
certain time.
The "Service Change" mode is the only mode which allows full
remote access to all parameters (user and service parameters).
This mode may be accessed by setting the "RemoteSecurity"
parameter to the correct ServiceAccessCode which is known only
by Rosemount service staff.
Going into this mode also starts a timer
(RemoteParameterAccessTimer) which will cause an automatic
transition into Normal mode if no parameter is accessed for a
certain time.
The block diagram in Figure 2-1 below shows the relationships and entry between the
four access modes.
Rosemount AnalyticalFoundation Fieldbus2–9
Page 28
Transducer Block
Initial State
Remote Change Request
Change Accepted (see Note 1)
Table 2-4. Calibration Check Step Control Enumerations
(CAL_STEP)
Rosemount AnalyticalFoundation Fieldbus2–11
Page 30
2.4.3 Sensor Gas Type
Transducer Block
2.4.4 Analyzer Options
Bit
Number
00x0001Linearization compensation enabled for sensor 1
10x0002Linearization compensation enabled for sensor 2
20x0004Temperature zero compensation enabled for sensor 1
30x0008Temperature zero compensation enabled for sensor 2
40x0010Temperature span compensation enabled for sensor 1
50x0020Temperature span compensation enabled for sensor 2
60x0040Analog preamp gain high for sensor 1
70x0080Analog preamp gain high for sensor 2
80x0100Differential measurement mode used for sensor 1
90x0200Differential measurement mode used for sensor 2
100x0400INTRL_PUMPInternal pump installed
110x0800INTRL_VALVESInternal valve unit installed
120x1000PRES_SENSORPressure sensor installed
130x2000DIG_INPUTSDigital inputs installed
140x4000PUMP_KEYFront Panel with Pump-Key installed
150x8000PRES_EXTRLExternal pressure measurement enabled.
Value Of
ANALYZER_OPTS
Value
0Inactive
1Default Setting Type 1
2Default Setting Type 2
3Default Setting Type 3
4Default Setting Type 4
5Default Setting Type 5
6Analog Flow Sensor
7Analog Pressure Sensor
SENSOR_GAS_TYPE
Table 2-5. Sensor Gas Type
(SENSOR_GAS_TYPE)
PneumonicDescription
- Description
Notes: It is not possible to set PRES_SENSOR and PRES_EXTRL in parallel. If this were to
happen, PRES_SENSOR bit would be set and PRES_EXTRL bit would be cleared.
Also, it is not possible to set PUMP_KEY without setting INTRL_PUMP. If this were to
happen, both PUMP_KEY and INTRL_PUMP bits would be cleared.
Table 2-6. Analyzer Options
2.4.5 Calibration Options
Bit
Number
00x0001Cross-Compensation Calibration Enabled
10x0002Automatic Calibration Enabled
20x0004Calibration Tolerance Check Enabled
30x0008Clear Tolerance Failures after some minutes
Note:It is not possible to set bit 3 without setting bit 2. If this were to happen, both bits 2 and 3
2–12Foundation FieldbusRosemount Analytical
Value Of
CAL_OPTS
would be cleared.
Description
Table 2-7. Calibration Options
Page 31
2.4.6 Calibration Valve Control
Transducer Block
Bit
Number
00x0001Sample Gas Valve for Sensor 1
10x0002Sample Gas Valve for Sensor 2
20x0004Zero Gas Valve for Sensor 1
30x0008Zero Gas Valve for Sensor 2
40x0010Span Gas Valve for Sensor 1
50x0020Span Gas Valve for Sensor 2
60x0040Internal Pump Running
Value Of
CAL_VALVE_STATE
2.4.7 Detailed Status
Alarm
Number
00No Alarm ActiveNONE
10x00000001Factory configuration is loadedCONFIGURATION_ERROR
20x00000002Concentration measurement for sensor 1 is not
30x00000004Concentration measurement for sensor 2 is not
40x00000008Temperature measurement is not runningIO_FAILURE
50x00000010Zero calibration tolerance check failure for sensor1CALIBRATION_FAILURE
60x00000020Zero calibration tolerance check failure for sensor2CALIBRATION_FAILURE
70x00000040Span calibration tolerance check failure for sensor1CALIBRATION_FAILURE
Value Of
DETAILED_STATUS
Description
Table 2-8. Calibration Valve Control
DescriptionValue of XD_ERROR
(see FF-903)
IO_FAILURE
running.
IO_FAILURE
running.
80x00000080Span calibration tolerance check failure for sensor2CALIBRATION_FAILURE
90x00000100Measurement range overflow – sensor 1ALGORITHM_ERROR
100x00000200Measurement range overflow – sensor 2ALGORITHM_ERROR
110x00000400Span gas does not match measurement range for
120x00000800Span gas does not match measurement range for
130x00001000installed air pressure sensor delivers erroneous
140x00002000checksum of EPROM is erroneousELECTRICAL_FAILURE
150x00004000erroneous RAM-testDATA_INTEGRITY_ERROR
160x00008000EXCLUSIVE_MODE parameter access enabledNONE
170x00010000LOCAL_MODE parameter access enabledNONE
180x00020000SERVICE_MODE access enabledNONE
190x00040000No valid sample gas measurement runningNONE
200x00080000Installed pump is not runningNONE
sensor 1
sensor 2
measurement
2.4.8 Measurement Options
Bit
Number
00x0001Cross-Compensation Enabled
Value Of
MEASUREMENT_OPTS
Table 2-10. Measurement Options
CONFIGURATION_ERROR
CONFIGURATION_ERROR
IO_FAILURE
Table 2-9. Detailed Status
Description
Rosemount AnalyticalFoundation Fieldbus2–13
Page 32
2.4.9 Pump Controller
Transducer Block
Value
0Front Panel KeyX
1System Parameter 'PUMP'X
2Digital InputX
PUMP_CTRL
– Description
Table 2-11. Pump Controller
2.4.10 Remote Exclusive Access
Bit
Number
00x0001REMOTE_EXCLUSIVE mode enabled
Value Of
REMOTE_EXCLUSIVE
Table 2-12. Remote Exclusive Access
Description
2.4.11 Channel Assignments
Transducer Block
Channel Value
1Sensor 1 PV%, ppm
2Sensor 2 PV%, ppm
4Air Pressure (read)hPa
Qualifying AN ALYZER_OPT Bits
INTRL_PUMPDIG_INPUTSPUMP_KEY
Process VariableXD_SCALE
UNITS
Table 2-13. I/O Channel Assignments (AI Blocks)
Transducer Block
Channel Value
Table 2-14. I/O Channel Assignments (AO Blocks)
The assignment of air pressure is only possible if the device has enabled the external pressure measurement
(see Analyzer Options).
UPPORTED BLOCK ERRORS
2.5
S
2.5.1 Transducer Block
♦ Out of Service
Set whenever the transducer block actual mode is “oos.”
♦ Block Configuration Error
Set whenever there is a communication error between the round board and the a/d
board.
♦ Other Error
Set whenever XD_ERROR is non-zero.
Process VariableXD_SCALE
UNITS
3Air Pressure (write)hPa
2–14Foundation FieldbusRosemount Analytical
Page 33
2.5.2 Resource Block
♦ Out of Service
Set whenever the resource block actual mode is “oos.”
♦ Power Up
♦ Block Configuration Error
Configuration error is used to indicate that the user selected an item in
FEATURES_SEL or CYCLE_SEL that was not set in FEATURES or CYCLE_TYPE
respectively.
♦ Simulate Active
Set whenever the simulate enable switch is set on the Fieldbus Interface card.
Transducer Block
Rosemount AnalyticalFoundation Fieldbus2–15
Page 34
Page 35
3 A
NALOG INPUT
(AI) F
UNCTION BLOCK
OUT_D
AI
OUT= The block output value and status
OUT_D = Discrete output that signals a selected
alarm condition
OUT
The Analog Input (AI) function block processes field device measurements and makes
them available to other function blocks. The output value from the AI block is in
engineering units and contains a status indicating the quality of the measurement. The
measuring device may have several measurements or derived values available in
different channels. Use the channel number to define the variable that the AI block
processes.
The AI block supports alarming, signal scaling, signal filtering, signal status calculation,
mode control, and simulation. In Automatic mode, the block’s output parameter (OUT)
reflects the process variable (PV) value and status. In Manual mode, OUT may be set
manually. The Manual mode is reflected on the output status. A discrete output
(OUT_D) is provided to indicate whether a selected alarm condition is active. Alarm
detection is based on the OUT value and user specified alarm limits. Figure 3-1 on
page 3–3 illustrates the internal components of the AI function block, and Table 3-1 lists
the AI block parameters and their units of measure, descriptions, and index numbers.
Table 3-1. Definitions of Analog Input Function Block System Parameters.
ParameterIndex
Number
ACK_OPTION23NoneUsed to set auto acknowledgment of alarms.
ALARM_HYS24PercentThe amount the alarm value must return within the alarm limit before the
ALARM_SEL38NoneUsed to select the process alarm conditions that will cause the OUT_D
ALARM_SUM22NoneThe summary alarm is used for all process alarms in the block. The cause of
ALERT_KEY04NoneThe identification number of the plant unit. This information may be used in the
BLOCK_ALM21NoneThe block alarm is used for all configuration, hardware, connection failure or
UnitsDescription
associated active alarm condition clears.
parameter to be set.
the alert is entered in the subcode field. The first alert to become active will set
the Active status in the Status parameter. As soon as the Unreported status is
cleared by the alert reporting task, another block alert may be reported without
clearing the Active status, if the subcode has changed.
host for sorting alarms, etc.
system problems in the block. The cause of the alert is entered in the subcode
field. The first alert to become active will set the Active status in the Status
parameter. As soon as the Unreported status is cleared by the alert reporting
task, another block alert may be reported without clearing the Active status, if
the subcode has changed.
Rosemount AnalyticalFoundation Fieldbus3–1
Page 36
Analog Input Function Block
ParameterIndex
Number
BLOCK_ERR06NoneThis parameter reflects the error status associated with the hardware or
CHANNEL15NoneThe CHANNEL value is used to select the measurement value. Refer to the
FIELD_VAL19PercentThe value and status from the transducer block or from the simulated input
GRANT_DENY12NoneOptions for controlling access of host computers and local control panels to
HI_ALM34NoneThe HI alarm data, which includes a value of the alarm, a timestamp of
HI_HI_ALM33NoneThe HI HI alarm data, which includes a value of the alarm, a timestamp of
HI_HI_LIM26EU of PV_SCALEThe setting for the alarm limit used to detect the HI HI alarm condition.
HI_HI_PRI25NoneThe priority of the HI HI alarm.
HI_LIM28EU of PV_SCALEThe setting for the alarm limit used to detect the HI alarm condition.
HI_PRI27NoneThe priority of the HI alarm.
IO_OPTS13NoneAllows the selection of input/output options used to alter the PV. Low cutoff
L_TYPE16NoneLinearization type. Determines whether the field value is used directly (Direct),
LO_ALM35NoneThe LO alarm data, which includes a value of the alarm, a timestamp of
LO_LIM30EU of PV_SCALEThe setting for the alarm limit used to detect the LO alarm condition.
LO_LO_ALM36NoneThe LO LO alarm data, which includes a value of the alarm, a timestamp of
LO_LO_LIM32EU of PV_SCALEThe setting for the alarm limit used to detect the LO LO alarm condition.
LO_LO_PRI31NoneThe priority of the LO LO alarm.
LO_PRI29NoneThe priority of the LO alarm.
LOW_CUT17%If percentage value of transducer input fails below this, PV = 0.
MODE_BLK05NoneThe actual, target, permitted, and normal modes of the block.
OUT08EU of
OUT_D37NoneDiscrete output to indicate a selected alarm condition.
OUT_SCALE11NoneThe high and low scale values, engineering units code, and number of digits to
PV07EU of XD_SCALEThe process variable used in block execution.
PV_FTIME18SecondsThe time constant of the first-order PV filter. It is the time required for a 63%
SIMULATE09NoneA group of data that contains the current transducer value and status, the
STRATEGY03NoneThe strategy field can be used to identify grouping of blocks. This data is not
ST_REV01NoneThe revision level of the static data associated with the function block. The
UnitsDescription
software components associated with a block. It is a bit string, so that multiple
errors may be shown.
appropriate device manual for information about the specific channels available
in each device. The CHANNEL parameter must be configured before
configuring the XD_SCALE parameter.
when simulation is enabled.
operating, tuning, and alarm parameters of the block. Not used by device.
occurrence and the state of the alarm.
occurrence and the state of the alarm.
enabled is the only selectable option.
is converted linearly (Indirect), or is converted with the square root (Indirect
Square Root).
occurrence and the state of the alarm.
occurrence and the state of the alarm.
Target: The mode to “go to”
Actual: The mode the “block is currently in”
Permitted: Allowed modes that target may take on
Normal: Most common mode for target
The block output value and status.
OUT_SCALE
the right of the decimal point associated with OUT.
change in the IN value.
simulated transducer value and status, and the enable/disable bit.
checked or processed by the block.
revision value will be incremented each time a static parameter value in the
block is changed.
3–2Foundation FieldbusRosemount Analytical
Page 37
Analog Input Function Block
q
_
ParameterIndex
TAG_DESC02NoneThe user description of the intended application of the block.
UPDATE_EVT20NoneThis alert is generated by any change to the static data.
VAR_INDEX39% of OUT RangeThe average absolute error between the PV and its previous mean value over
VAR_SCAN40SecondsThe time over which the VAR_INDEX is evaluated.
XD_SCALE10NoneThe high and low scale values, engineering units code, and number of digits to
3.1
S
Number
IMULATION
UnitsDescription
that evaluation time defined by VAR_SCAN.
the right of the decimal point associated with the channel input value. The
XD_SCALE units code must match the units code of the measurement channel
in the transducer block. If the units do not match, the block will not transition to
MAN or AUTO.
To support testing, either change the mode of the block to manual and adjust the output
value, or enable simulation through the configuration tool and manually enter a value
for the measurement value and its status. In both cases, the ENABLE jumper on the
field device must first be set.
NOTE:
All Fieldbus instruments have a simulation jumper. As a safety measure, the jumper
has to be reset every time there is a power interruption. This measure is to prevent
devices that went through simulation in the staging process from being installed with
simulation enabled.
With simulation enabled, the actual measurement value has no impact on the OUT
value or the status.
Analog
Measurement
Access
Analog
Meas.
CHANNEL
SIMULATE
Convert
S
Root
FIELD_VAL
OUT_SCALE
XD_SCALE
HI_HI_LIM
HI_LIM
LO_LO_LIM
LO_LIM
ALARM_HYS
LOW_CUT
L
TYPE
Cutoff
IO_OPTS
ALARM_TYPE
Alarm
Detection
Filter
PV_FTIME
PV
MODE
STATUS_OPTS
Status
Calc.
OUT_D
OUT
Figure 3-1. Analog Input Function Block Schematic
OUT= The block output value and status
OUT_D= Discrete output that signals a selected alarm condition
Rosemount AnalyticalFoundation Fieldbus3–3
Page 38
Analog Input Function Block
OUT (mode in man)
OUT (mode in auto)
63% of Change
FIELD_VAL
Time (seconds)
PV_FTIME
Figure 3-2. Analog Input Function Block Timing Diagram
PV
ILTERING
3.2
F
The filtering feature changes the response time of the device to smooth variations in
output readings caused by rapid changes in input. The filter time constant (in seconds)
can be adjusted using the PV_FTIME parameter. Set the filter time constant to zero to
disable the filter feature.
IGNAL CONVERSION
3.3
S
Set the signal conversion type with the Linearization Type (L_TYPE) parameter. View
the converted signal (in percent of XD_SCALE) through the FIELD_VAL parameter.
FIELD_VAL
=
()
()
@0%* EU - ValueChannel x 100
%@*EU%@*EU
0100−
*XD_SCALE values
Choose from direct, indirect, or indirect square root signal conversion with the L_TYPE
parameter.
Direct
Direct signal conversion allows the signal to pass through the accessed channel input
value (or the simulated value when simulation is enabled).
PV = Channel Value
Indirect
Indirect signal conversion converts the signal linearly to the accessed channel input
value (or the simulated value when simulation is enabled) from its specified range
(XD_SCALE) to the range and units of the PV and OUT parameters (OUT_SCALE).
3–4Foundation FieldbusRosemount Analytical
Page 39
Analog Input Function Block
VAL_FIELD
PV00100
=
100
()
+−
%@**EI%@**EU%@**EUx
*OUT_SCALE values
Indirect Square Root
Indirect Square Root signal conversion takes the square root of the value computed
with the indirect signal conversion and scales it to the range and units of the PV and
OUT parameters.
VAL_FIELD
PV00100
=
100
()
+−
%@**eu%@**EU%@**EUx
*OUT_SCALE values
When the converted input value is below the limit specified by the LOW_CUT
parameter, and the Low Cutoff I/O option (IO_OPTS) is enabled (True), a value of zero
is used for the converted value (PV). This option is useful to eliminate false readings
when the differential pressure measurement is close to zero, and it may also be useful
with zero-based measurement devices such as flow meters.
NOTE: Low Cutoff is the only I/O option supported by the AI block. It is possible to set
the I/O option in Manual or Out of Service mode only.
LOCK ERRORS
3.4
B
Table 3-2 lists conditions reported in the BLOCK_ERR parameter. Conditions in italics
are inactive for the AI block and are given here only for reference.
Table 3-2. Block Error Conditions
Condition
Number
0Other
1Block Configuration Error:
2Link Configuration Error
3Simulate Active:
4Local Override
5Device Fault State Set
6Device Needs Maintenance Soon
7Input Failure/Process Variable has Bad Status:
8Output Failure:
9Memory Failure
10Lost Static Data
11Lost NV Data
12Readback Check Failed
13Device Needs Maintenance Now
14Power Up
15Out of Service:
Condition Name and Description
the selected channel carries a measurement that is incompatible with the
engineering units selected in XD_SCALE, the L_TYPE parameter is not configured, or CHANNEL = zero.
Simulation is enabled and the block is using a simulated value in its execution.
The hardware is bad, or a bad status is being simulated.
The output is bad based primarily upon a bad input.
The actual mode is out of service.
Rosemount AnalyticalFoundation Fieldbus3–5
Page 40
Analog Input Function Block
ODES
3.5
3.6
M
The AI Function Block supports three modes of operation as defined by the
MODE_BLK parameter:
♦ Manual (Man) The block output (OUT) may be set manually
♦ Automatic (Auto) OUT reflects the analog input measurement or the simulated
value when simulation is enabled.
♦Out of Service (O/S) The block is not processed. FIELD_VAL and PV are not
updated and the OUT status is set to Bad: Out of Service. The BLOCK_ERR
parameter shows Out of Service. In this mode, changes can be made to all
configurable parameters. The target mode of a block may be restricted to one or
more of the supported modes.
LARM DETECTION
A
A block alarm will be generated whenever the BLOCK_ERR has an error bit set. The
types of block error for the AI block are defined above.
Process Alarm detection is based on the OUT value. The alarm limits of the following
standard alarms can be configured:
High (HI_LIM)
High high (HI_HI_LIM)
Low (LO_LIM)
Low low (LO_LO_LIM)
In order to avoid alarm chattering when the variable is oscillating around the alarm limit,
an alarm hysteresis in percent of the PV span can be set using the ALARM_HYS
parameter. The priority of each alarm is set in the following parameters:
HI_PRI
HI_HI_PRI
LO_PRI
LO_LO_PRI
3–6Foundation FieldbusRosemount Analytical
Page 41
Analog Input Function Block
Alarms are grouped into five levels of priority:
Table 3-3. Alarm Priorities
PriorityPriority Description Number
0The priority of an alarm condition changes to 0 after the condition that caused the alarm is corrected.
1An alarm condition with a priority of 1 is recognized by the system, but is not reported to the operator.
3.7
2An alarm condition with a priority of 2 is reported to the operator, but does not require operator attention (such as
3-7Alarm conditions of priority 3 to 7 are advisory alarms of increasing priority.
8-15Alarm conditions of priority 8 to 15 are critical alarms of increasing priority.
S
diagnostics and system alerts).
TATUS HANDLING
Normally, the status of the PV reflects the status of the measurement value, the
operating condition of the I/O card, and any active alarm condition. In Auto mode, OUT
reflects the value and status quality of the PV. In Man mode, the OUT status constant
limit is set to indicate that the value is a constant and the OUT status is Good.
The Uncertain - EU range violation status is always set, and the PV status is set highor low-limited if the sensor limits for conversion are exceeded.
In the STATUS_OPTS parameter, select from the following options to control the status
handling:
BAD if Limited – sets the OUT status quality to Bad when the value is higher or lower
than the sensor limits.
Uncertain if Limited – sets the OUT status quality to Uncertain when the value is
higher or lower than the sensor limits.
Uncertain if in Manual mode – The status of the Output is set to Uncertain when the
mode is set to Manual.
NOTES:
The instrument must be in Manual or Out of Service mode to set the status option.
The AI block only supports the BAD if Limited option. Unsupported options are not
grayed out; they appear on the screen in the same manner as supported options.
DVANCED FEATURES
3.8
A
The AI function block provided with Fisher-Rosemount Fieldbus devices provides
added capability through the addition of the following parameters:
ALARM_TYPE – Allows one or more of the process alarm conditions detected by the
AI function block to be used in setting its OUT_D parameter.
OUT_D – Discrete output of the AI function block based on the detection of process
alarm condition(s). This parameter may be linked to other function blocks that require a
discrete input based on the detected alarm condition.
Rosemount AnalyticalFoundation Fieldbus3–7
Page 42
Analog Input Function Block
VAR_SCAN – Time period in seconds over which the variability index (VAR_INDEX) is
computed.
VAR_INDEX – Process variability index measured as the integral of average absolute
error between PV and its mean value over the previous evaluation period. This index is
calculated as a percent of OUT span and is updated at the end of the time period
defined by VAR_SCAN.
PPLICATION INFORMATION
3.9
A
The configuration of the AI function block and its associated output channels depends
on the specific application. A typical configuration for the AI block involves the following
parameters:
CHANNELIf the device supports more than one measurement, verify that the
selected channel contains the appropriate measurement or derived
value.
L_TYPESelect Direct when the measurement is already in the engineering units
that are desired for the block output.
Select Indirect when it is desired to convert the measured variable into
another, for example, pressure into level or flow into energy.
Select Indirect Square Root when the block I/O parameter value
represents a flow measurement made using differential pressure, and
when square root extraction is not performed by the transducer.
SCALINGXD_SCALE provides the range and units of the measurement and
OUT_SCALE provides the range and engineering units of the output.
3.9.1 Application Example 1
Temperature Transmitter
Situation
A temperature transmitter with a range of –200 to 450 °C.
Solution
The table below lists the appropriate configuration settings, and the figure illustrates the
correct function block configuration.
Temperature
Measurement
ParameterConfigured Values
L_TYPEDirect
XD_SCALENot Used
OUT_SCALENot Used
3–8Foundation FieldbusRosemount Analytical
AI Function Block
OUT_D
OUT
To Another
Function Block
Page 43
Analog Input Function Block
3.9.2 Application Example 2
Pressure Transmitter used to Measure Level in Open Tank
Situation #1
The level of an open tank is to be measured using a pressure tap at the bottom of the
tank. The level measurement will be used to control the level of liquid in the tank. The
maximum level at the tank is 16 ft. The liquid in the tank has a density that makes the
level correspond to a pressure of 7.0 psi at the pressure tap (see diagram below).
Full Tank
16 ft
7.0 psi measured at
the transmitter
Situation #1 Diagram
Solution to Situation #1
The table below lists the appropriate configuration settings, and the figure illustrates the
correct function block configuration.
ParameterConfigured Values
L_TYPEIndirect
XD_SCALE0 to 7 psi
OUT_SCALE0 to 16 ft
Analog
Measurement
PID
Block
OUT_D
OUT
OUTCAS_IN
BKCAL_OUT
AO
Function
Block
AI
Function
Block
BKCAL_IN
Function
CAS_IN
Function Block Diagram for a Pressure Transmitter used in Level Measurement
Rosemount AnalyticalFoundation Fieldbus3–9
Page 44
Analog Input Function Block
Situation #2
The transmitter in situation #1 is installed below the tank in a position where the liquid
column is in the impulse line, when the tank is empty, is equivalent to 2.0 psi.
16 ft
ParameterConfigured Values
L_TYPEIndirect
XD_SCALE2 to 9 psi
OUT_SCALE0 to 16 ft
0 ft
Empty Tank
2.0 psi measured at
the transmitter
Situation #2 Diagram
3.9.3 Application Example 3
Differential Pressure Transmitter used to Measure Flow
Situation
The liquid flow in a line is to be measured using the differential pressure across an
orifice plate in the line, and the flow measurement will be used in a flow control loop.
Based on the orifice specification sheet, the differential pressure transmitter was
calibrated for 0 to 20 in H2 0 for a flow of 0 to 800 gal/min, and the transducer was not
configured to take the square root of the differential pressure.
Solution
The table below lists the appropriate configuration settings, and the figure illustrates the
correct function block configuration.
ParameterConfigured Values
L_TYPEIndirect Square Root
XD_SCALE0 to 20 in
OUT_SCALE0 to 800 gal/min
Analog
Measurement
BKCAL_INBKCAL_OUT
AI
Function
Block
OUT_D
OUT
IN
PID
Function
Block
AO
Function
Block
Function Block Diagram for Differential Pressure Transmitter in Flow Measurement
3–10Foundation FieldbusRosemount Analytical
Page 45
Analog Input Function Block
ROUBLESHOOTING
3.10
Table 3-4. Troubleshooting AI Block
Mode will not leave
OOS
T
SymptomPossible CausesCorrective Action
1. Target mode not set.1. Set target mode to something other than OOS.
2. Configuration error2. BLOCK_ERR will show the configuration error bit set. The
following are parameters that must be set before the block is
allowed out of OOS:
a. CHANNEL must be set to a valid value and cannot be left at
initial value of 0.
b.
XD_SCALE.UNITS_INDX must match the units in the
transducer block channel value.
Process and/or block
alarms will not work.
Value of output does
not make sense
Cannot set
HI_LIMIT,
HI_HI_LIMIT,
LO_LIMIT, or
. LO_LO_LIMIT
Values
c.
L_TYPE must be set to Direct,
and cannot be left at initial value of 0.
3. Resource block3. The actual mode of the Resource block is OOS. See Resource Block
4. Schedule4. Block is not scheduled and therefore cannot execute to go to Target
1. Features1. FEATURES_SEL does not have Alerts enabled. Enable the Alerts bit.
2. Notification2. LIM_NOTIFY is not high enough. Set equal to MAX_NOTIFY.
3. Status Options3. STATUS_OPTS has Propagate Fault Forward bit set. This should be
1. Linearization Type1. L_TYPE must be set to Direct, Indirect, or Indirect Square Root and
2. Scaling2. Scaling parameters are set incorrectly:
1. Scaling1. Limit values are outside the OUT_SCALE.EU0 and OUT_SCALE.EU100
Diagnostics for corrective action.
Mode. Schedule the block to execute.
cleared to cause an alarm to occur.
cannot be left at initial value of 0.
a. XD_SCALE.EU0 and EU100 should match that of the transducer
block channel value.
b. OUT_SCALE.EU0 and EU100 are not set properly.
values. Change OUT_SCALE or set values within range.
Indirect, or Indirect Square Root
Rosemount AnalyticalFoundation Fieldbus3–11
Page 46
Page 47
4 A
NALOG OUTPUT
(AO) F
UNCTION BLOCK
CAS_IN
AO
BKCAL_OUT
OUT
CAS_IN= The remote point value from another function block.
BKCAL_OUT= The value and status required by the BKCAL_IN input of
another block to prevent reset windup and to provide
bumpless transfer to closed loop control.
OUT= The block output and status.
The Analog Output (AO) function block assigns an output value to a field device
through a specified I/O channel. The block supports mode control, signal status
calculation, and simulation. Figure 3-1 illustrates the internal components of the AO
function block, and Table 3-1 lists the definitions of the system parameters.
Table 4-1. Analog Output Function Block System Parameters.
ParametersUnitsDescription
BKCAL_OUTEU of
BLOCK_ERRNoneThe summary of active error conditions associated with the block. The block errors for the
CAS_INEU of
IO_OPTSNoneAllows you to select how the I/O signals are processed. The supported I/O options for the
CHANNELNoneDefines the output that drives the field device.
MODENoneEnumerated attribute used to request and show the source of the setpoint and/or output
OUTEU of
PVEU of
PV_SCALENoneThe high and low scale values, the engineering units code, and the number of digits to the
READBACK
SIMULATEEU of XD_SCALEEnables simulation and allows you to enter an input value and status.
SPEU of PV_SCALEThe target block output value (setpoint).
SP_HI_LIMEU of PV_SCALEThe highest setpoint value allowed.
SP_LO_LIMEU of PV_SCALEThe lowest setpoint value allowed.
SP_RATE_DNEU of PV_SCALE
SP_RATE_UPEU of PV_SCALE
SP_WRKEU of PV_SCALEThe working setpoint of the block. It is the result of setpoint rate-of-change limiting. The value is
PV_SCALE
PV_SCALE
XD_SCALE
PV_SCALE
EU of XD_SCALEThe measured or implied actuator position associated with the OUT value.
per second
per second
The value and status required by the BKCAL_IN input of another block to prevent reset
windup and to provide bumpless transfer to closed loop control.
Analog Output block are Simulate Active, Input Failure/Process Variable has
Status, Output Failure, Read back Failed
The remote setpoint value from another function block.
AO function block are
BKCAL_OUT
used by the block.
The primary value and status calculated by the block in Auto mode. OUT may be set
manually in Man mode.
The process variable used in block execution. This value is converted from READBACK to
show the actuator position in the same units as the setpoint value.
right of the decimal point
Ramp rate for downward setpoint changes. When the ramp rate is set to zero, the setpoint is used
immediately.
Ramp rate for upward setpoint changes. When the ramp rate is set to zero, the setpoint is used
immediately.
converted to percent to obtain the block’s OUT value.
SP_PV Track in Man, Increase to Close
.
associated with the PV.
Out of Service
, and
.
, and
Use PV for
Bad
Rosemount AnalyticalFoundation Fieldbus4–1
Page 48
Analog Output Function Block
ETTING THE OUTPUT
4.1
S
To set the output for the AO block, you must first set the mode to define the manner in
which the block determines its setpoint. In Manual mode the value of the output
attribute (OUT) must be set manually by the user, and is independent of the setpoint. In
Automatic mode, OUT is set automatically based on the value specified by the setpoint
(SP) in engineering units and the I/O options attribute (IO_OPTS). In addition, you can
limit the SP value and the rate at which a change in the SP is passed to OUT.
In Cascade mode, the cascade input connection (CAS_IN) is used to update the SP.
The back calculation output (BKCAL_OUT) is wired to the back calculation input
(BKCAL_IN) of the upstream block that provides CAS_IN. This provides bumpless
transfer on mode changes and windup protection in the upstream block. The OUT
attribute or an analog readback value, such as valve position, is shown by the process
value (PV) attribute in engineering units.
To support testing, you can enable simulation, which allows you to manually set the
channel feedback. There is no alarm detection in the AO function block.
To select the manner of processing the SP and the channel output value configure the
setpoint limiting options, the tracking options, and the conversion and status
calculations.
CAS_IN
Operator
Setpoint
RCAS_IN
SP
HI/LO
Limit
SP_LO_LIM
SP_HI_LIM
MODE
Shed
Mode
RCAS_OUT
SP_RATE_DN
SP_RATE_UP
SP
Rate
Limit
SP_WRK
SIMULATE
Access
PV_SCALE
Analog
Input
READ_BACK
Convert
and Status
Calculation
IO_OPTS
Access
Analog
Output
BKCAL_OUT
PV
OUT
CHANNEL
Position
Feedback
Analog
Output
Figure 4-1. Analog Output Function Block Schematic
4–2Foundation FieldbusRosemount Analytical
Page 49
Analog Output Function Block
OUT (Mode in CAS)
SP_RATE_DN
Time
4.2
OUT (Mode in AUTO)
OUT (Mode in MAN)
SP
1 second
Figure 4-2. Analog Output Function Block Timing Diagram
ETPOINT SELECTION AND LIMITING
S
SP_RATE_UP
1 second
To select the source of the SP value use the MODE attribute. In Automatic (Auto)
mode, the local, manually-entered SP is used. In Cascade (Cas) mode, the SP comes
from another block through the CAS_IN input connector. In RemoteCascade (RCas)
mode, the SP comes from a host computer that writes to RCAS_IN. The range and
units of the SP are defined by the PV_SCALE attribute.
In Manual (Man) mode the SP automatically tracks the PV value when you select the
SP-PV Track in Man I/O option. The SP value is set equal to the PV value when the
block is in manual mode, and is enabled (True) as a default. You can disable this option
in Man or O/S mode only.
The SP value is limited to the range defined by the setpoint high limit attribute
(SP_HI_LIM) and the setpoint low limit attribute (SP_LO_LIM).
In Auto mode, the rate at which a change in the SP is passed to OUT is limited by the
values of the setpoint upward rate limit attribute (SP_RATE_UP) and the setpoint
downward rate limit attribute (SP_RATE_DN). A limit of zero prevents rate limiting,
even in Auto mode.
ONVERSION AND STATUS CALCULATION
4.3
C
The working setpoint (SP_WRK) is the setpoint value after limiting. You can choose to
reverse the conversion range, which will reverse the range of PV_SCALE to calculate
the OUT attribute, by selecting the Increase to Close I/O option. This will invert the
OUT value with respect to the setpoint based on the PV_SCALE and XD_SCALE.
In Auto mode, the converted SP value is stored in the OUT attribute. In Man mode, the
OUT attribute is set manually, and is used to set the analog output defined by the
CHANNEL parameter.
Rosemount AnalyticalFoundation Fieldbus4–3
Page 50
Analog Output Function Block
You can access the actuator position associated with the output channel through the
READBACK parameter (in OUT units) and in the PV attribute (in engineering units). If
the actuator does not support position feedback, the PV and READBACK values are
based on the OUT attribute.
The working setpoint (SP_WRK) is the value normally used for the BKCAL_OUT
attribute. However, for those cases where the READBACK signal directly (linearly)
reflects the OUT channel, you can choose to allow the PV to be used for BKCAL_OUT
by selecting the Use PV for BKCAL_OUT I/O option.
NOTE:SP_PV Track in Man, Increase to Close, and Use PV for BKCAL_OUT are
the only I/O options that the AO block supports. You can set I/O options in Manual or
Out of Service mode only.
IMULATION
4.4
S
When simulation is enabled, the last value of OUT is maintained and reflected in the
field value of the SIMULATE attribute. In this case, the PV and READBACK values
and statuses are based on the SIMULATE value and the status that you enter.
CTION ON FAULT DETECTION
4.5
4.6
A
To define the state to which you wish the valve to enter when the CAS_IN input detects
a bad status and the block is in CAS mode, configure the following parameters:
FSTATE_TIME: The length of time that the AO block will wait to position the OUT
value to the FSTATE_VAL value upon the detection of a fault condition. When
the block has a target mode of CAS, a fault condition will be detected if the
CAS_IN has a BAD status or an Initiate Fault State substatus is received from
the upstream block.
FSTATE_VAL: The value to which the OUT value transitions after FSTATE_TIME
elapses and the fault condition has not cleared. You can configure the channel to
hold the value at the start of the failure action condition or to go to the failure
action value (FAIL_ACTION_VAL).
LOCK ERRORS
B
The following conditions are reported in the BLOCK_ERR attribute:
Input failure/process variable has Bad status – The hardware is bad, the Device
Signal Tag (DST) does not exist, or a BAD status is being simulated.
Out of service – The block is in Out of Service (O/S) mode.
Output failure – The output hardware is bad.
Readback failed – The readback failed.
Simulate active – Simulation is enabled and the block is using a simulated value in
its execution.
4–4Foundation FieldbusRosemount Analytical
Page 51
Analog Output Function Block
ODES
4.7
M
The Analog Output function block supports the following modes:
Manual (Man) – You can manually set the output to the I/O channel through the
OUT attribute. This mode is used primarily for maintenance and troubleshooting.
Automatic (Auto) – The block output (OUT) reflects the target operating point
specified by the setpoint (SP) attribute.
Cascade (Cas) – The SP attribute is set by another function block through a
connection to CAS_IN. The SP value is used to set the OUT attribute
automatically.
RemoteCascade (RCas) – The SP is set by a host computer by writing to the
RCAS_IN parameter. The SP value is used to set the OUT attribute automatically.
Out of Service (O/S) – The block is not processed. The output channel is
maintained at the last value and the status of OUT is set to Bad: Out of Service. The
BLOCK_ERR attribute shows Out of Service.
Initialization Manual (Iman) – The path to the output hardware is broken and the
output will remain at the last position.
Local Override (LO) – The output of the block is not responding to OUT because
the resource block has been placed into LO mode or fault state action is active.
The target mode of the block may be restricted to one or more of the following modes:
Man, Auto, Cas, RCas, or O/S.
TATUS HANDLING
4.8
S
Output or readback fault detection are reflected in the status of PV, OUT, and
BKCAL_OUT. A limited SP condition is reflected in the BKCAL_OUT status. When
simulation is enabled through the SIMULATE attribute, you can set the value and status
for PV and READBACK.
When the block is in Cas mode and the CAS_IN input goes bad, the block sheds mode
to the next permitted mode.
Rosemount AnalyticalFoundation Fieldbus4–5
Page 52
Page 53
5 I
NPUT SELECTOR
(ISEL) F
IN_1
IN_2
IN_3
IN_4
UNCTION BLOCK
OUT
DISABLE_1
DISABLE_2
DISABLE_3
DISABLE_4
OP_SELECT
ISEL
SELECTED
IN (1-4)= Input used in the selection algorithm.
DISABLE (1-4) = Discrete input used to enable or disable the
associated input channel.
OP_SELECT= Input used to override algorithm.
TRK_VAL= The value after scaling applied to OUT in Local
Override mode.
SELECTED= The selected channel number.
OUT= The block output and status.
The Input Selector (ISEL) function block can be used to select the first good, Hot
Backup, maximum, minimum, or average of as many as four input values and place it
at the output. The block supports signal status propagation. There is no process alarm
detection in the Input Selector function block. Figure 5-1 illustrates the internal
components of the ISEL function block. Table 5-1 lists the ISEL block parameters and
their descriptions, units of measure, and index numbers.
Table 5-1. Input Selector Function Block System Parameters
ParameterIndex
Number
ALERT_KEY04NoneThe identification number of the plant unit. This information may be used in the
BLOCK_ALM24NoneThe block alarm is used for all configuration, hardware, connection failure, or
BLOCK_ERR06NoneThis parameter reflects the error status associated with the hardware or
DISABLE_115NoneA Connection from another block that disables the associated input from the
DISABLE_216None
Rosemount AnalyticalFoundation Fieldbus5–1
UnitsDescription
host for sorting alarms, etc.
system problems in the block. The cause of the alert is entered in the subcode
field. The first alert to become active will set the Active status in the Status
parameter. As soon as the Unreported status is cleared by the alert reporting
task, another block alert may be reported without clearing the Active status, if
the subcode has changed.
software components associated with a block. It is a bit string, so that multiple
errors may be shown.
selection.
A Connection from another block that disables the associated input from the
selection.
Page 54
Input Selector Function Block
ParameterIndex
Number
DISABLE_317NoneA Connection from another block that disables the associated input from the
DISABLE_418None
GRANT_DENY09NoneOptions for controlling access of host computers and local control panels to
IN_111Determined by
IN_212Determined by
IN_313Determined by
IN_414Determined by
MIN_GOOD20NoneThe minimum number of good inputs
MODE_BLK05NoneThe actual, target, permitted, and normal modes of the block.
OP_SELECT22NoneOverrides the algorithm to select 1 of the 4 inputs regardless of the selection
OUT07EU of INThe block output value and status.
OUT_UNITS08NoneThe engineering units of the output. Typically, all inputs have the same units
SELECTED21NoneThe selected input number (1–4).
SELECT_TYPE19NoneSpecifies selection method (see Block Execution)
STATUS_OPTS10NoneAllows selection of options for status handling and processing. The supported
STRATEGY03NoneThe strategy field can be used to identify grouping of blocks. This data is not
ST_REV01NoneThe revision level of the static data associated with the function block. The
TAG_DESC02NoneThe user description of the intended application of the block.
UPDATE_EVT23NoneThis alert is generated by any change to the static data.
UnitsDescription
selection.
A Connection from another block that disables the associated input from the
selection.
operating, tuning, and alarm parameters of the block. Not used by device.
The connection input from another block. One of the inputs to be selected from.
source
The connection input from another block. One of the inputs to be selected from.
source
The connection input from another block. One of the inputs to be selected from.
source
The connection input from another block. One of the inputs to be selected from.
source
Target: The mode to “go to”
Actual: The mode the “block is currently in”
Permitted: Allowed modes that target may take on
Normal: Most common mode for target
type.
and the value is also the same.
status option for the PID block is Target to Manual if Bad IN.
checked or processed by the block.
revision value will be incremented each time a static parameter value in the
block is changed.
5–2Foundation FieldbusRosemount Analytical
Page 55
IN_1
IN_2
IN_3
IN_4
DISABLE_1
DISABLE_2
DISABLE_3
DISABLE_4
Input Selector Function Block
Selection
Algorithm
AUTO
MAN
SEL_TYPE
OUT
SELECTED
OP_SELECT
MIN_GOOD
Figure 5-1. Input Selector Function Block Schematic
LOCK ERRORS
5.1
B
Table C-2 lists conditions reported in the BLOCK_ERR parameter. Conditions in italics
are inactive for the ISEL block and are given here only for reference.
Table 5-2. Block Error Conditions
Condition
Number
0Other:
1Block Configuration Error
2Link Configuration Error
3Simulate Active
4Local Override
5Device Fault State Set
6Device Needs Maintenance Soon
7Input Failure/Process Variable has Bad Status:
8Output Failure:
9Memory Failure:
10Lost Static Data
11Lost NV Data
12Readback Check Failed
13Device Needs Maintenance Now
14Power Up:
15Out of Service:
Condition Name and Description
The output has a quality of uncertain.
: The actual mode is LO.
One of the inputs is Bad or not connected.
The output has the quality of Bad.
A memory failure has occurred in FLASH, RAM, or EEROM memory.
The device was just powered-up.
The actual mode is out of service.
Rosemount AnalyticalFoundation Fieldbus5–3
Page 56
Input Selector Function Block
ODES
5.2
5.3
M
The ISEL function block supports three modes of operation as defined by the
MODE_BLK parameter:
Manual (Man) The block output (OUT) may be set manually.
Automatic (Auto) OUT reflects the selected value.
Out of Service (O/S) The block is not processed. The BLOCK_ERR parameter
shows Out of Service. In this mode, changes caNn be made to all configurable
parameters. The target mode of a block may be restricted to one or more of the
supported modes.
LARM DETECTION
A
A block alarm will be generated whenever the BLOCK_ERR has an error bit set. The
types of block error for the ISEL block are defined above.
Alarms are grouped into five levels of priority:
Table 5-3. Alarm Priorities
PriorityPriority Description Number
0The priority of an alarm condition changes to 0 after the condition that caused the alarm is corrected.
1An alarm condition with a priority of 1 is recognized by the system, but is not reported to the operator.
2An alarm condition with a priority of 2 is reported to the operator, but does not require operator attention (such as
3-7Alarm conditions of priority 3 to 7 are advisory alarms of increasing priority.
8-15Alarm conditions of priority 8 to 15 are critical alarms of increasing priority.
5.4
B
The ISEL function block reads the values and statuses of as many as four inputs. To
specify which of the six available methods (algorithms) is used to select the output,
configure the selector type parameter (SEL_TYPE) as follows:
diagnostics and system alerts).
LOCK EXECUTION
max selects the maximum value of the inputs.
min selects the minimum value of the inputs.
avg calculates the average value of the inputs.
mid calculates the middle of three inputs or the average of the middle two
inputs if four inputs are defined.
1st Good selects the first available good input.
Hot Backup latches on the selected input and continues to use it until it is bad.
If the DISABLE_N is active, the associated input is not used in the selection algorithm.
5–4Foundation FieldbusRosemount Analytical
Page 57
Input Selector Function Block
If the OP_SELECT is set to a value between 1 and 4, the selection type logic is
overridden and the output value and status is set to the value and status of the input
selected by OP_SELECT.
SELECTED will have the number of the selected input unless the SEL_TYPE is
average, in which case it will have the number of inputs used to calculate its value.
TATUS HANDLING
5.5
S
In Auto mode, OUT reflects the value and status quality of the selected input. If the
number of inputs with Good status is less than MIN_GOOD, the output status will be
Bad.
In Man mode, the OUT status high and low limits are set to indicate that the value is a
constant and the OUT status is always Good.
In the STATUS_OPTS parameter, the following options can be selected from to control
the status handling:
Use Uncertain as Good: sets the OUT status quality to Good when the
selected input status is Uncertain.
Uncertain if in Manual mode: The status of the Output is set to Uncertain
when the mode is set to manual.
NOTE:
The instrument must be in Manual or Out of Service mode to set the status option.
PPLICATION INFORMATION
5.6
A
The ISEL function block can be used to select the maximum temperature input from
four inputs and send it to a PID function block to control a process water chiller (see
first diagram below) or it can use the block to calculate the average temperature of the
four inputs (see second diagram below).
IN1 = 126 °F
IN2 = 104 °F
IN3 = 112 °F
IN4 = 130 °F
Input Selector
(ISEL) Function
Block
SEL_TYPE = max
OUT = 130 °F
To Another
Function Block
Input Selector Function Block Application Example (SEL_TYPE = max).
Rosemount AnalyticalFoundation Fieldbus5–5
Page 58
Input Selector Function Block
IN1 = 126 °F
Input Selector
IN2 = 104 °F
IN3 = 112 °F
IN4 = 130 °F
(ISEL) Function
Block
SEL_TYPE = avg
OUT = 118 °F
To Another
Function Block
Input Selector Function Block Application Example (SEL_TYPE = avg).
IN1 = 126 °F
IN2 = 104 °F
IN3 = 112 °F
IN4 = 130 °F
Input Selector
(ISEL) Function
Block
SEL_TYPE = Hot Backup
Input Selector Function Block Application Example (SEL_TYPE = Hot Backup).
Time
T
T
T
0
1
2
IN1IN2OutSelected
ValueStatusValueStatusValueStatusValueStatus
Good20Good21Good20Good1
Bad20Good21Good21Good2
Good20Good21Good21Good2
5–6Foundation FieldbusRosemount Analytical
Page 59
Input Selector Function Block
ROUBLESHOOTING
5.7
Table 5-4. Troubleshooting ISEL Block.
Mode will not leave
OOS
bad.
work
T
SymptomPossible CausesCorrective Action
1. Target mode not set.1. Set target mode to something other than OOS.
2. Configuration error2. BLOCK_ERR will show the configuration error bit set.
SELECT_TYPE must be set to a valid value and cannot be left at
0.
3. Resource block3. The actual mode of the Resource block is OOS. See Resource Block
Diagnostics for corrective action.
4. Schedule4. Block is not scheduled and therefore cannot execute to go to Target
Mode. Schedule the block to execute.
1. Inputs1. All inputs have Bad status.Status of output is
2. OP selected2. OP_SELECT is not set to 0 (or it is linked to an input that is not 0), and it
points to an input that is Bad.
3. Min good3. The number of Good inputs is less than MIN_GOOD.
1. Features1. FEATURES_SEL does not have Alerts enabled. Enable Alerts bit..Block alarms will not
2. Notification2. LIM_NOTIFY is not high enough. Set equal to MAX_NOTIFY.
1. Status Options1. STATUS_OPTS has Propagate Fault Forward bit set. This should be
cleared to cause an alarm to occur.
Rosemount AnalyticalFoundation Fieldbus5–7
Page 60
Page 61
6 P
B
ROPORTIONAL
LOCK
NTEGRAL
/ I
ERIVATIVE
/ D
(PID) F
UNCTION
BKCAL_IN
CAS_IN
FF_VAL
IN
TRK_IN_D
TRK_VAL
BKCAL_IN= The analog input value and status from
another block’s BKCAL_OUT output that is
used for backward output tracking for
bumpless transfer and to pass limit status.
CAS_IN= The remote setpoint value from another
function block.
FF_VAL= The feedforward control input value and status.
IN= The connection for the process variable from
another function block.
PID
TRK_IN_D= Initiates the external tracking function.
TRK_VAL= The value after scaling applied to OUT in Local
BKCAL_OUT = The value and status required by the
OUT= The block output and status.
BKCAL_OUT
OUT
Override mode.
BKCAL_IN input of another function block to
prevent reset windup and to provide bumpless
transfer to closed loop control.
The PID function block combines all of the necessary logic to perform proportional /
integral / derivative (PID) control. The block supports mode control, signal scaling and
limiting, feedforward control, override tracking, alarm limit detection, and signal status
propagation.
The block supports two forms of the PID equation: Standard and Series. Choose the
appropriate equation using the FORM parameter. The Standard ISA PID equation is
the default selection.
xexGAINOutdardtanS
xexGAINOutSeries
1
+=
1
+=
1
τ
+τ
s
r
1
+
s
r
τ
+
x
+τ
s
d
x
+τα
s
d
s
d
F
+
+τα
11
s
d
1
F
+
1
Where
GAIN: Proportional gain value.
:Integral action time constant (RESET parameter) in seconds.
τ
r
s:Laplace operator
:Derivative action time constant (RATE parameter).
τ
d
α:Fixed smoothing factor of 0.1 applied to RATE.
F:Feedforward control contribution from the feedforward input (FF_VAL parameter).
e:Error between setpoint and process variable.
Rosemount AnalyticalFoundation Fieldbus6–1
Page 62
PID Function Block
To further customize the block for use in an application, it is possible to configure
filtering, feedforward inputs, tracking inputs, setpoint and output limiting, PID equation
structures, and block output action. Table 6-1 lists the PID block parameters and their
descriptions, units of measure, and index numbers, and Figure 6-1 illustrates the
internal components of the PID function block.
Table 6-1. PID Function Block System Parameters
ParameterIndex
Number
ACK_OPTION46NoneUsed to set auto acknowledgment of alarms.
ALARM_HYS47PercentThe amount the alarm value must return to within the alarm limit before the
ALARM_SUM45NoneThe summary alarm is used for all process alarms in the block. The cause of
ALERT_KEY04NoneThe identification number of the plant unit. This information may be used in the
ALG_TYPE74NoneSelects filtering algorithm as Backward or Bilinear.
BAL_TIME25SecondsThe specified time for the internal working value of bias to return to the operator
BIAS66EU of OUT_SCALEThe bias value used to calculate output for a PD type controller.
BKCAL_HYS30PercentThe amount the output value must change away from the its output limit before
BKCAL_IN27EU of OUT_SCALEThe analog input value and status from another block’s BKCAL_OUT output
BKCAL_OUT31EU of PV_SCALEThe value and status required by the BKCAL_IN input of another block to
BLOCK_ALM44NoneThe block alarm is used for all configuration, hardware, connection failure, or
BLOCK_ERR06NoneThis parameter reflects the error status associated with the hardware or
BYPASS17NoneUsed to override the calculation of the block. When enabled, the SP is sent
CAS_IN18EU of PV_SCALEThe remote setpoint value from another block.
CONTROL_OPTS13NoneAllows definition of control strategy options. The supported control options for
DV_HI_ALM64NoneThe DV HI alarm data, which includes a value of the alarm, a timestamp of
DV_HI_LIM57EU of PV_SCALEThe setting for the alarm limit used to detect the deviation high alarm condition.
DV_HI_PRI56NoneThe priority of the deviation high alarm.
DV_LO_ALM65NoneThe DV LO alarm data, which includes a value of the alarm, a timestamp of
DV_LO_LIM59EU of PV_SCALEThe setting for the alarm limit use to detect the deviation low alarm condition.
DV_LO_PRI58NoneThe priority of the deviation low alarm.
UnitsDescription
associated active alarm condition clears.
the alert is entered in the subcode field. The first alert to become active will set
the Active status in the Status parameter. As soon as the Unreported status is
cleared by the alert reporting task, another block alert may be reported without
clearing the Active status, if the subcode has changed.
host for sorting alarms, etc.
set bias. Also used to specify the time constant at which the integral term will
move to obtain balance when the output is limited and the mode is AUTO,
CAS, or RCAS.
limit status is turned off.
that is used for backward output tracking for bumpless transfer and to pass limit
status.
prevent reset windup and to provide bumpless transfer of closed loop control.
system problems in the block. The cause of the alert is entered in the subcode
field. The first alert to become active will set the active status in the status
parameter. As soon as the Unreported status is cleared by the alert reporting
task, and other block alert may be reported without clearing the Active status, if
the subcode has changed.
software components associated with a block. It is a bit string so that multiple
errors may be shown.
directly to the output.
the PID block are Track enable, Track in Manual, SP-PV Track in Man, SP-PV
Track in LO or IMAN, Use PV for BKCAL OUT, and Direct Acting
occurrence, and the state of the alarm.
occurrence, and the state of the alarm.
6–2Foundation FieldbusRosemount Analytical
Page 63
PID Function Block
ParameterIndex
Number
ERROR67EU of PV_SCALEThe error (SP-PV) used to determine the control action.
FF_ENABLE70NoneEnables the use of feedforward calculations
FF_GAIN42NoneThe feedforward gain value. FF_VAL is multiplied by FF_GAIN before it is
FF_SCALE41NoneThe high and low scale values, engineering units code, and number of digits to
FF_VAL40EU of FF_SCALEThe feedforward control input value and status.
GAIN23NoneThe proportional gain value. This value cannot = 0.
GRANT_DENY12NoneOptions for controlling access of host computers and local control panels to
HI_ALM61NoneThe HI alarm data, which includes a value of the alarm, a timestamp of
HI_HI_ALM60NoneThe HI HI alarm data, which includes a value of the alarm, a timestamp of
HI_HI-LIM49EU of PV_SCALEThe setting for the alarm limit used to detect the HI HI alarm condition.
HI_HI_PRI48NoneThe priority of the HI HI Alarm.
HI_LIM51EU of PV_SCALEThe setting for the alarm limit used to detect the HI alarm condition.
HI_PRI50NoneThe priority of the HI alarm.
IN15EU of PV_SCALEThe connection for the PV input from another block.
LO_ALM62NoneThe LO alarm data, which includes a value of the alarm, a timestamp of
LO_LIM53EU of PV_SCALEThe setting for the alarm limit used to detect the LO alarm condition.
LO_LO_ALM63NoneThe LO LO alarm data, which includes a value of the alarm, a timestamp of
LO_LO_LIM55EU of PV_SCALEThe setting for the alarm limit used to detect the LO LO alarm condition.
LO_LO_PRI54NoneThe priority of the LO LO alarm.
LO_PRI52NoneThe priority of the LO alarm.
MATH_FORM73NoneSelects equation form (series or standard).
MODE_BLK05NoneThe actual, target, permitted, and normal modes of the block.
OUT09EU of OUT SCALEThe block input value and status.
OUT_HI_LIM28EU of OUT_SCALEThe maximum output value allowed.
OUT-LO_LIM29EU of OUT_SCALEThe minimum output value allowed
OUT_SCALE11NoneThe high and low scale values, engineering units code, and number of digits to
PV07EU of PV_SCALEThe process variable used in block execution.
PV_FTIME16SecondsThe time constant of the first-order PV filter. It is the time required for a 63
PV_SCALE10NoneThe high and low scale values, engineering units code, and number of digits to
RATE26SecondsThe derivative action time constant.
RCAS_IN32EU of PV_SCALETarget setpoint and status that is provided by a supervisory host. Used when
RCAS_OUT35EU of PV_SCALEBlock setpoint and status after ramping, filtering, and limiting that is provided to
RESET24Seconds per repeatThe integral action time constant.
UnitsDescription
added to the calculated control output.
the right of the decimal point associated with the feedforward value (FF_VAL).
operating, tuning, and alarm parameters of the block. Not used by the device.
occurrence, and the state of the alarm.
occurrence, and the state of the alarm.
occurrence, and the state of the alarm.
occurrence, and the state of the alarm.
Target: The mode to “go to”
Actual: The mode the “block is currently in” Permitted: Allowed modes that
target may take on Normal: Most common mode for target.
the right of the decimal point associated with OUT.
percent change in the IN value.
the right of the decimal point associated with PV.
mode is RCAS.
a supervisory host for back calculation to allow action to be taken under limiting
conditions or mode change. Used when mode is RCAS.
Rosemount AnalyticalFoundation Fieldbus6–3
Page 64
PID Function Block
ParameterIndex
ROUT_IN33EU of OUT_SCALETarget output and status that is provided by a supervisory host. Used when
ROUT_OUT36EU of OUT_SCALEBlock output that is provided to a supervisory host for a back calculation to
SHED_OPT34NoneDefines action to be taken on remote control device timeout.
SP08EU of PV_SCALEThe target block setpoint value. It is the result of setpoint limiting and setpoint
SP_FTIME69SecondsThe time constant of the first-order SP filter. It is the time required for a 63
SP_HI_LIM21EU of PV_SCALEThe highest SP value allowed.
SP_LO_LIM22EU of PV_SCALEThe lowest SP value allowed.
SP_RATE_DN19EU of PV_SCALE
SP-RATE_UP20EU of PV_SCALE
SP_WORK68EU of PV_SCALEThe working setpoint of the block after limiting and filtering is applied.
STATUS_OPTS14NoneAllows selection of options for status handling and processing. The supported
STRATEGY03NoneThe strategy field can be used to identify grouping of blocks. This data is not
ST_REV01NoneThe revision level of the static data associated with the function block. The
STRUCTURE.
CONFIG
TAG_DESC02NoneThe user description of the intended application of the block.
TRK_IN_D38NoneDiscrete input that initiates external tracking.
TRK_SCALE37NoneThe high and low scale values, engineering units code, and number of digits to
TRK_VAL39EU of TRK SCALEThe value (after scaling from TRK_SCALE to OUT_SCALE) applied to OUT in
UBETA72PercentUsed to set disturbance rejection vs. tracking response action for a 2.0 degree
UGAMMA71PercentUsed to set disturbance rejection vs. tracking response action for a 2.0 degree
UPDATE_EVT43NoneThis alert is generated by any changes to the static data.
Number
75NoneDefines PID equation structure to apply controller action.
UnitsDescription
mode is ROUT.
allow action to be taken under limiting conditions or mode change. Used when
mode is RCAS.
rate of change limiting.
percent change in the IN value.
per second
per second
Ramp rate for downward SP changes. When the ramp rate is set to zero, the
SP is used immediately.
Ramp rate for upward SP changes. When the ramp rate is set to zero, the SP
is used immediately.
status option for the PID block is Target to Manual if Bad IN.
checked or processed by the block.
revision value will be incremented each time a static parameter value in the
block is changed.
the right of the decimal point associated with the external tracking value
(TRK_VAL).
The setpoint of the PID block is determined by the mode. The SP_HI_LIM and
SP_LO_LIM parameters can be configured to limit the setpoint. In Cascade orRemoteCascade mode, the setpoint is adjusted by another function block or by a host
computer, and the output is computed based on the setpoint.
In Automatic mode, the setpoint is entered manually by the operator, and the output is
computed based on the setpoint. In Auto mode, it is also possible adjust the setpoint
limit and the setpoint rate of change using the SP_RATE_UP and SP_RATE_DN
parameters.
In Manual mode the output is entered manually by the operator, and is independent of
the setpoint. In RemoteOutput mode, the output is entered by a host computer, and is
independent of the setpoint.
Figure 6-2 illustrates the method for setpoint selection.
Rosemount AnalyticalFoundation Fieldbus6–5
Page 66
Operator
Setpoint
PID Function Block
SP_HI_LIM
SP_LO_LIM
SP_RATE_UP
SP_RATE_DN
Auto
Man
Cas
6.2
ILTERING
F
Auto
Man
Cas
Figure 6-2. PID Function Block Setpoint Selection
Setpoint
Limiting
Rate
Limiting
The filtering feature changes the response time of the device to smooth variations in
output readings caused by rapid changes in input. The filtering feature can be
configured with the FILTER_TYPE parameter, and the filter time constant (in seconds)
can be adjusted using the PV_FTIME or SP_FTIME parameters. Set the filter time
constant to zero to disable the filter feature.
EEDFORWARD CALCULATION
6.3
F
The feedforward value (FF_VAL) is scaled (FF_SCALE) to a common range for
compatibility with the output scale (OUT_SCALE). A gain value (FF_GAIN) is applied to
achieve the total feedforward contribution.
RACKING
6.4
T
Output tracking is enabled through the control options. Control options can be set in
Manual or Out of Service mode only.
The Track Enable control option must be set to True for the track function to operate.
When the Track in Manual control option is set to True, tracking can be activated and
maintained only when the block is in Manual mode. When Track in Manual is False,
the operator can override the tracking function when the block is in Manual mode.
Activating the track function causes the block’s actual mode to revert to LocalOverride.
The TRK_VAL parameter specifies the value to be converted and tracked into the
output when the track function is operating. The TRK_SCALE parameter specifies the
range of TRK_VAL.
When the TRK_IN_D parameter is True and the Track Enable control option is True,
the TRK_VAL input is converted to the appropriate value and output in units of
OUT_SCALE.
UTPUT SELECTION AND LIMITING
6.5
O
Output selection is determined by the mode and the setpoint. In Automatic, Cascade,
or RemoteCascade mode, the output is computed by the PID control equation. In
Manual and RemoteOutput mode, the output may be entered manually (see also
Setpoint Selection and Limiting). The output can be limited by configuring the
OUT_HI_LIM and OUT_LO_LIM parameters.
6–6Foundation FieldbusRosemount Analytical
Page 67
PID Function Block
UMPLESS TRANSFER AND SETPOINT TRACKING
6.6
B
The method for can be configured tracking the setpoint by configuring the following
control options (CONTROL_OPTS):
SP-PV Track in Man — Permits the SP to track the PV when the target mode of the
block is Man.
SP-PV Track in LO or IMan — Permits the SP to track the PV when the actual mode
of the block is Local Override (LO) or Initialization Manual (IMan).
When one of these options is set, the SP value is set to the PV value while in the
specified mode.
The value that a master controller uses can be selected for tracking by configuring the
Use PV for BKCAL_OUT control option. The BKCAL_OUT value tracks the PV value.
BKCAL_IN on a master controller connected to BKCAL_OUT on the PID block in an
open cascade strategy forces its OUT to match BKCAL_IN, thus tracking the PV from
the slave PID block into its cascade input connection (CAS_IN). If the Use PV forBKCAL_OUT option is not selected, the working setpoint (SP_WRK) is used for
BKCAL_OUT.
Control options can be set in Manual or Out of Service mode only. When the mode is
set to Auto, the SP will remain at the last value (it will no longer follow the PV.
6.7
PID E
Configure the STRUCTURE parameter to select the PID equation structure. Select one
of the following choices:
PI Action on Error, D Action on PV
PID Action on Error
I Action on Error, PD Action on PV
Set RESET to zero to configure the PID block to perform integral only control
regardless of the STRUCTURE parameter selection. When RESET equals zero, the
equation reduces to an integrator equation with a gain value applied to the error:
QUATION STRUCTURES
)s(exGAIN
s
Where
GAIN:Proportional gain value.
e:Error.
s:Laplace operator.
EVERSE AND DIRECT ACTION
6.8
Rosemount AnalyticalFoundation Fieldbus6–7
R
To configure the block output action, enable the Direct Acting control option. This
option defines the relationship between a change in PV and the corresponding change
in output. With Direct Acting enabled (True), an increase in PV results in an increase
in the output.
Page 68
PID Function Block
Control options can be set in Manual or Out of Service mode only.
NOTE:
Track Enable, Track in Manual, SP-PV Track in Man, SP-PV Track in LO or IMan, Use
PV for BKCAL_OUT, and Direct Acting are the only control options supported by the
PID function block. Unsupported options are not grayed out; they appear on the screen
in the same manner as supported options.
ESET LIMITING
6.9
R
The PID function block provides a modified version of feedback reset limiting that
prevents windup when output or input limits are encountered, and provides the proper
behavior in selector applications.
LOCK ERRORS
6.10
B
Table D-2 lists conditions reported in the BLOCK_ERR parameter. Conditions in italics
are inactive for the PID block and are given here only for your reference.
Table 6-2. Block Error Conditions
Condition
Number
0
1Block Configuration Error:
2Link Configuration Error
3Simulate Active
4Local Override
5Device Fault State Set
6Device Needs Maintenance Soon
7Input Failure/Process Variable has Bad Status:
8Output Failure
9Memory Failure
10Lost Static Data
11Lost NV Data
12Readback Check Failed
13Device Needs Maintenance Now
14Power Up
15Out of Service:
Condition Name and Description
:
Other
less than the SP_LO_LIM, or the OUT_HI_LIM is less than the OUT_LO_LIM.
: The actual mode is LO.
The actual mode is out of service.
The BY_PASS parameter is not configured and is set to 0, the SP_HI_LIM is
The parameter linked to IN is indicating a Bad status.
ODES
6.11
M
The PID function block supports the following modes:
Manual (Man)—The block output (OUT) may be set manually.
6–8Foundation FieldbusRosemount Analytical
Page 69
PID Function Block
Automatic (Auto)—The SP may be set manually and the block algorithm calculates
OUT.
Cascade (Cas)—The SP is calculated in another block and is provided to the PID block
through the CAS_IN connection.
RemoteCascade (RCas)—The SP is provided by a host computer that writes to the
RCAS_IN parameter.
RemoteOutput (Rout)—The OUT is provided by a host computer that writes to the
ROUT_IN parameter
Local Override (LO)—The track function is active. OUT is set by TRK_VAL. The
BLOCK_ERR parameter shows Local override.
Initialization Manual (IMan)—The output path is not complete (for example, the
cascade-to-slave path might not be open). In IMan mode, OUT tracks BKCAL_IN.
Out of Service (O/S)—The block is not processed. The OUT status is set to Bad: Out
of Service. The BLOCK_ERR parameter shows Out of service.
The Man, Auto, Cas, and O/S modes can be configured as permitted modes for
operator entry.
LARM DETECTION
6.12
A
A block alarm will be generated whenever the BLOCK_ERR has an error bit set. The
types of block error for the AI block are defined above.
Process alarm detection is based on the PV value. The alarm limits of the following
standard alarms can be configured:
High (HI_LIM)
High high (HI_HI_LIM)
Low (LO_LIM)
Low low (LO_LO_LIM)
Additional process alarm detection is based on the difference between SP and PV
values and can be configured via the following parameters:
Deviation high (DV_HI_LIM)
Deviation low (DV_LO_LIM)
Rosemount AnalyticalFoundation Fieldbus6–9
Page 70
PID Function Block
In order to avoid alarm chattering when the variable is oscillating around the alarm limit,
an alarm hysteresis in percent of the PV span can be set using the ALARM_HYS
parameter. The priority of each alarm is set in the following parameters:
HI_PRI
HI_HI_PRI
LO_PRI
LO_LO_PRI
DV_HI_PRI
DV_LO_PRI
Alarms are grouped into five levels of priority:
Table 6-3. Alarm Priorities
PriorityPriority Description Number
0The priority of an alarm condition changes to 0 after the condition that caused the alarm is corrected.
1An alarm condition with a priority of 1 is recognized by the system, but is not reported to the operator.
2An alarm condition with a priority of 2 is reported to the operator, but does not require operator attention (such as
3-7Alarm conditions of priority 3 to 7 are advisory alarms of increasing priority.
8-15Alarm conditions of priority 8 to 15 are critical alarms of increasing priority.
diagnostics and system alerts).
TATUS HANDLING
6.13
6.14
6.15
S
If the input status on the PID block is Bad, the mode of the block reverts to Manual. In
addition, the Target to Manual if Bad IN status option can be selected to direct the
target mode to revert to manual. The status option can be set in Manual or Out of
Service mode only.
NOTE:
Target to Manual if Bad IN is the only status option supported by the PID function block.
Unsupported options are not grayed out; they appear on the screen in the same
manner as supported options.
PPLICATION INFORMATION
A
The PID function block is a powerful, flexible control algorithm that is designed to work
in a variety of control strategies. The PID block is configured differently for different
applications. The following examples describe the use of the PID block for closed-loop
control (basic PID loop), feedforward control, cascade control with master and slave,
and complex cascade control with override.
LOSED LOOP CONTROL
C
To implement basic closed loop control, compute the error difference between the
process variable (PV) and setpoint (SP) values and calculate a control output signal
using a PID (Proportional Integral Derivative) function block.
6–10Foundation FieldbusRosemount Analytical
Page 71
PID Function Block
The proportional control function responds immediately and directly to a change in the
PV or SP. The proportional term GAIN applies a change in the loop output based on
the current magnitude of the error multiplied by a gain value.
The integral control function reduces the process error by moving the output in the
appropriate direction. The integral term RESET applies a correction based on the
magnitude and duration of the error. Set the RESET parameter to zero for integral-only
control. To reduce reset action, configure the RESET parameter to be a large value.
The derivative term RATE applies a correction based on the anticipated change in
error. Derivative control is typically used in temperature control where large
measurement lags exist.
The MODE parameter is a switch that indicates the target and actual mode of
operation. Mode selection has a large impact on the operation of the PID block:
Manual mode allows the operator to set the value of the loop output signal
directly.
Automatic mode allows the operator to select a setpoint for automatic
correction of error using the GAIN, RESET, and RATE tuning values.
Cascade and Remote Cascade modes use a setpoint from another block in a
cascaded configuration.
Remote Out mode is similar to Manual mode except that the block output is
supplied by an external program rather than by the operator.
Initialization Manual is a non-target mode used with cascade configurations
while transitioning from manual operation to automatic operation.
Local Override is a non-target mode that instructs the block to revert to Local
Override when the tracking or fail-safe control options are activated.
Out of Service mode disables the block for maintenance.
Abrupt changes in the quality of the input signal can result in unexpected loop behavior.
To prevent the output from changing abruptly and upsetting the process, select the SP-PV Track in Man I/O option. This option automatically sets the loop to Manual if a Bad
input status is detected. While in manual mode, the operator can manage control
manually until a Good input status is reestablished.
Rosemount AnalyticalFoundation Fieldbus6–11
Page 72
PID Function Block
6.15.1 Application Example 1
Basic PID Block for Steam Heater Control
Situation
A PID block is used with an AI block and an AO block to control the flow steam used to
heat a process fluid in a heat exchanger. The diagram below illustrates the process
instrumentation.
TCV
101
Steam Supply
TT
100
Steam Heater
Condensate
TC
101
TT
101
PID Function Block Steam Heater Control Example
Solution
The PID loop uses TT101 as an input and provides a signal to the analog output
TCV101. The BKCAL_OUT of the AO block and the BKCAL_IN of the PID block
communicate the status and quality of information being passed between the blocks.
The status indication shows that communications is functioning and the I/O is working
properly. The diagram below illustrates the correct function block configuration.
Outlet
Temperature
Input
BKCAL_INBKCAL_OUT
AI
Function
Block
TT101
OUTIN
PID
Function
Block
TC101
CAS_IN
OUT
AO
Function
Block
TCV101
OUT
PID Function Block Diagram for Steam Heater Control Example
6–12Foundation FieldbusRosemount Analytical
Page 73
PID Function Block
6.15.2 Application Example 2
Feedforward Control
Situation
In the previous example, control problems can arise because of a time delay caused by
thermal inertia between the two flow streams (TT100 and TT101). Variations in the inlet
temperature (TT100) take an excessive amount of time to be sensed in the outlet
(TT101). This delay causes the product to be out of the desired temperature range.
Solution
Feedforward control is added to improve the response time of the basic PID control.
The temperature of the inlet process fluid (TT100) is input to an AI function block and is
connected to the FF_VAL connector on the PID block. Feedforward control is then
enabled (FF_ENABLE), the feedforward value is scaled (FF_SCALE), and a gain
(FF_GAIN) is determined. The diagrams below illustrate the process instrumentation,
and the correct function block configuration.
Outlet
Temperature
Input
Function
Inlet
Temperature
Input
AI
Block
TT101
Steam Supply
100
PID Function Block Feedforward Control Example
TT
OUTIN
FF_VAL
TCV
101
Steam Heater
Condensate
BKCAL_INBKCAL_OUT
PID
Function
Block
TC101
FF
CAS_IN
OUT
TC
101
TT
101
AO
Function
Block
TCV101
OUT
AI
Function
Block
OUT
PID Function Block Diagram for Feedforward Control Example
Rosemount AnalyticalFoundation Fieldbus6–13
Page 74
PID Function Block
pply
6.15.3 Application Example 3
Cascade Control with Master and Slave Loops
Situation
A slave loop is added to a basic PID control configuration to measure and control
steam flow to the steam heater. Variations in the steam pressure cause the
temperature in the heat exchanger to change. The temperature variation will later be
sensed by TT101. The temperature controller will modify the valve position to
compensate for the steam pressure change. The process is slow and causes variations
in the product temperature. The diagram below illustrates the process instrumentation.
Steam
Su
FT
101
FC
101
TCV
101
TT
100
Steam Heater
Condensate
TC
101
TT
101
PID Function Block Cascade Control Example
Solution
If the flow is controlled, steam pressure variations will be compensated before they
significantly affect the heat exchanger temperature. The output from the master
temperature loop is used as the setpoint for the slave steam flow loop. The BKCAL_IN
and BKCAL_OUT connections on the PID blocks are used to prevent controller windup
on the master loop when the slave loop is in Manual or Automatic mode, or it has
reached an output constraint. The diagram below illustrates the correct function block
configuration.
6–14Foundation FieldbusRosemount Analytical
Page 75
Outlet
Temperature
Input
PID Function Block
BKCAL_INBKCAL_OUT
PID
Function
Block
TC101
PID
Function
Block
OUT
OUT
IN
AO
Function
Block
TCV101
Steam
Flow
Input
AI
Function
Block
TT101
AI
Function
Block
OUTIN
CAS_IN
OUT
IN
PID Function Block Diagram for Cascade Control Example
6.15.4 Application Example 4
Cascade Control with Override
The PID function block can be used with other function blocks for complex control
strategies. The diagram below illustrates the function block diagram for cascade control
with override.
When configured for cascade control with override, if one of the PID function blocks
connected to the selector inputs is deselected, that PID block filters the integral value to
the selected value (the value at its BKCAL_IN). The selected PID block behaves
normally and the deselected controller never winds up. At steady state, the deselected
PID block offsets its OUT value from the selected value by the proportional term. When
the selected block becomes output-limited, it prevents the integral term from winding
further into the limited region.
When the cascade between the slave PID block and the Control Selector block is open,
the open cascade status is passed to the Control Selector block and through to the PID
blocks supplying input to it. The Control Selector block and the upstream (master) PID
blocks have an actual mode of IMan.
If the instrument connected to the AI block fails, the AI block can be placed in Manual
mode and set the output to some nominal value for use in the Integrator function block.
In this case, IN at the slave PID block is constant and prevents the integral term from
increasing or decreasing.
Rosemount AnalyticalFoundation Fieldbus6–15
Page 76
PID Function Block
Master Controller
PID
Function
Block
Master Controller
PID
Function
Block
BKCAL_IN
CAS_IN
IN
OUT
Configured for High Selection
SEL_1
SEL_2
OUT
Control
Selector
Function
Block
Slave Controller
PID
Function
Block
TC101
BCAL_SEL_1
OUT
BCAL_SEL_2
OUT
CAS_IN
IN_1
BKCAL_OUT
AO
Function
Block
PID
Function
Block
AI
Function
Block
PID Function Block Diagram for Cascade Control with Override
ROUBLESHOOTING
6.16
Table 6-4. Troubleshooting for PID
OOS
Mode will not leave
IMAN
T
SymptomPossible CausesCorrective Action
1. Target mode not set.1. Set target mode to something other than OOS.Mode will not leave
2. Configuration error2. BLOCK_ERR will show the configuration error bit set. The following are
parameters that must be set before the block is allowed out of OOS:
a. BYPASS must be off or on and cannot be left at initial value of 0.
b. OUT_HI_LIM must be less than or equal to OUT_LO_LIM.
c. SP_HI_LIM must be less than or equal to SP_LO_LIM.
3. Resource block3. The actual mode of the Resource block is OOS. See Resource Block
Diagnostics for corrective action.
4. Schedule4. Block is not scheduled and therefore cannot execute to go to Target
Mode. Schedule the block to execute.
1. Back Calculation1. BKCAL_IN
a. The link is not configured (the status would show “Not Connected”).
Configure the BKCAL_IN link to the downstream block.
b. The downstream block is sending back a Quality of “Bad” or a Status
of “Not Invited”. See the appropriate downstream block diagnostics for
corrective action.
6–16Foundation FieldbusRosemount Analytical
Page 77
PID Function Block
SymptomPossible CausesCorrective Action
to AUTO
to CAS
Mode sheds from
RCAS to AUTO
Mode sheds from
ROUT to MAN
Process and/or block
alarms will not work.
1. Target mode not set.1. Set target mode to something other than OOS.Mode will not change
2. Input2. IN
a. The link is not configured (the status would show “Not Connected”).
Configure the IN link to the block.
b. The upstream block is sending back a Quality of “Bad” or a Status of
“Not Invited”. See the appropriate upstream block diagnostics for
corrective action.
1.Target mode not set.1. Set target mode to something other than OOS.Mode will not change
2. Cascade input2. CAS_IN
a. The link is not configured (the status would show “Not Connected”).
Configure the CAS_IN link to the block.
b. The upstream block is sending back a Quality of “Bad” or a Status of
“Not Invited”. See the appropriate up stream block diagnostics for
corrective action.
1. Remote Cascade Value1. Host system is not writing RCAS_IN with a quality and status of “good
cascade” within shed time (see 2 below).
2. Shed Timer2. The mode shed timer, SHED_RCAS in the resource block is set too low.
Increase the value.
1. Remote output value1. Host system is not writing ROUT_IN with a quality and status of “good
cascade” within shed time (see 2 below).
2. Shed timer2. The mode shed timer, SHED_RCAS, in the resource block is set too low.
Increase the value.
1. Features1. FEATURES_SEL does not have Alerts enabled. Enable the Alerts bit.
2. Notification2. LIM_NOTIFY is not high enough. Set equal to MAX_NOTIFY.
3. Status Options3. STATUS_OPTS has Propagate Fault Forward bit set. This should be
cleared to cause an alarm to occur.
Rosemount AnalyticalFoundation Fieldbus6–17
Page 78
Foundation
WORLD HEADQUARTERS
ROSEMOUNT ANAL YTICAL EUROPE
Emerson Process Management
GmbH & Co. OHG
Industriestrasse 1
63594 Hasselroth
Germany
T 49 6055 884 0
F 49 6055 884209
Emerson Process Management
Rosemount Analytical Inc.
6565 P Davis Industrial Parkway
Solon, OH 44139 USA
T 440.914.1261
Toll Free in US and Canada 800.433.6076
F 440.914.1271
e-mail: gas.csc@EmersonProcess.com
www.raihome.com
GAS CHROMAT OGRAPHY CENTER
AND LATIN AMERICA
Emerson Process Management
Rosemount Analytical Inc.
11100 Brittmoore Park Drive
Houston, TX 77041
T 713 467 6000
F 713 827 3329
TM
Fieldbus 100 Series
Instruction Manual
ETC 00624
12/2001
EUROPE, MIDDLE EAST AND AFRICA
Emerson Process Management
Shared Services Limited
Heath Place
Bognor Regis
West Sussex PO22 9SH
England
T 44 1243 863121
F 44 1243 845354
ASIA-PACIFIC
Emerson Process Management
Asia Pacific Private Limited
1 Pandan Crescent
Singapore 128461
Republic of Singapore
T 65 6 777 8211
F 65 6 777 0947
e-mail: analytical@ap.emersonprocess.com