Manual MLT 1 MLT 2 Cat 200 Foundation Fieldbus Communication Software 3rd Ed Rosemount en 69940
Manual MLT 1 MLT 2 Cat 200 Foundation Fieldbus Communication Software 3rd Ed Rosemount en 69940
Manual MLT 1 MLT 2 Cat 200 Foundation Fieldbus Communication Software 3rd Ed Rosemount en 69940
ETC01184
10/2003
Instruction Manual
FoundationTM Fieldbus
Communication Option for
MLT 1, MLT 2 and CAT 200
www.EmersonProcess.com
Foundation Fieldbus for MLT 1, MLT 2 & CAT 200 Instruction Manual
ETC01184
10/2003
ESSENTIAL INSTRUCTIONS
READ THIS PAGE BEFORE PROCEEDING!
• 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.
• To 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 WARRANTY. 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.
PREFACE
Definitions
NOTE
Highlights an essential operating
procedure, condition or statement.
P-1
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
IMPORTANT
SAFETY INSTRUCTIONS
SAFETY SUMMARY
If this equipment is used in a manner not specified in the related instructions, protective
systems may be impaired.
AUTHORIZED PERSONNEL
To avoid loss of life, personal injury and damage to this equipment and on-site property,
do not operate or service this instrument before reading and understanding all related
instruction manuals and receiving appropriate training. Save these instructions.
EXPLOSION HAZARD
In principle FOUNDATION TM Fieldbus signals as described in this manual are
NOT INTRINSICALLY SAFE
according to national and international standards for explosion protection for
equipment to be used in hazardous areas, except stated on the equipment’s
nameplate label!
Do not connect NON INTRINSICALLY SAFE circuits to INTRINSICALLY SAFE ciruits!
Connecting NON INTRINSICALLY SAFE circuits to INTRINSICALLY SAFE ciruits
voids the safety of the whole equipment and could result in injury, death, or long-
term health hazards of personnel and/or damage to or destruction of equipment!
P-2
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
TABLE OF CONTENTS
PREFACE P-1
Definitions .......................................................................................................................... P-1
Safety Instructions .............................................................................................................. P-2
SECTION 1
FOUNDATIONTM Fieldbus Technology 1-1
1-1 Overview .................................................................................................................... 1-1
1-2 Introduction ............................................................................................................... 1-1
1-2-1 Function Blocks ................................................................................................... 1-2
1-2-2 Device Descriptions ............................................................................................. 1-3
1-3 Instrument Specific Function Blocks ...................................................................... 1-4
1-3-1 Resource Blocks .................................................................................................. 1-4
1-3-2 Transducer Blocks ............................................................................................... 1-4
1-3-3 Alerts ..................................................................................................................... 1-4
1-4 Network Communication ......................................................................................... 1-5
1-4-1 Link Active Scheduler (LAS) ................................................................................ 1-5
1-4-2 Device Addressing ............................................................................................... 1-6
1-4-3 Scheduled Transfers ............................................................................................ 1-6
1-4-4 Unscheduled Transfers ....................................................................................... 1-8
1-4-5 Function Block Scheduling ................................................................................. 1-9
1-5 References .............................................................................................................. 1-10
1-5-1 Fieldbus Foundation .......................................................................................... 1-10
1-6 Implemented Function Blocks ............................................................................... 1-11
SECTION 2
Transducer Block 2-1
2-1 List of Transducer Block Parameters ..................................................................... 2-2
2-2 Transducer Block Parameter Descriptions ............................................................ 2-5
2-3 Transducer Block Parameter Attribute Definitions ................................................ 2-7
2-4 Transducer Block Enumerations ............................................................................ 2-9
2-4-1 Gas Control State ................................................................................................. 2-9
2-4-2 Calibration States ................................................................................................. 2-9
2-4-3 Calibration Step Control .................................................................................... 2-10
2-4-4 Measurement Options ........................................................................................ 2-11
2-4-5 Calibration Options ............................................................................................ 2-11
2-4-6 Sensor Options ................................................................................................... 2-12
2-4-7 Analyzer Options ................................................................................................ 2-12
2-4-8 Access Mode Control ......................................................................................... 2-13
T-1
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
Table of Contents
T-2
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
Table of Contents
SECTION 5
Analog Output (AO) Function Block 5-1
5-1 Setting the Output ..................................................................................................... 5-2
5-2 Setpoint Selection and Limiting .............................................................................. 5-3
5-3 Conversion and Status Calculation ........................................................................ 5-3
5-4 Simulation ................................................................................................................. 5-4
5-5 Action on Fault Detection......................................................................................... 5-4
5-6 Block Errors .............................................................................................................. 5-5
5-7 Modes ........................................................................................................................ 5-5
5-8 Status Handling ........................................................................................................ 5-5
SECTION 6
Input Selector (ISEL) Function Block 6-1
6-1 Block Errors .............................................................................................................. 6-3
6-2 Modes ........................................................................................................................ 6-4
6-3 Alarm Detection ........................................................................................................ 6-4
6-4 Block Execution........................................................................................................ 6-4
6-5 Status Handling ........................................................................................................ 6-5
6-6 Application Information ............................................................................................ 6-5
6-7 Troubleshooting ....................................................................................................... 6-7
SECTION 7
Arithmetic (ARTHM) Function Block 7-1
7-1 Block Errors .............................................................................................................. 7-4
7-2 Modes ........................................................................................................................ 7-4
7-3 Alarm Detection ........................................................................................................ 7-5
7-4 Block Execution........................................................................................................ 7-5
7-5 Status Handling ........................................................................................................ 7-6
7-6 Application Information ............................................................................................ 7-6
SECTION 8
Proportional / Integral / Derivative (PID) Function Block 8-1
8-1 Setpoint Selection and Limiting .............................................................................. 8-4
8-2 Filtering ...................................................................................................................... 8-5
8-3 Feedforward Calculation .......................................................................................... 8-5
8-4 Tracking ..................................................................................................................... 8-5
8-5 Output Selection and Limiting ................................................................................. 8-6
8-6 Bumpless Transfer and Setpoint Tracking ............................................................. 8-6
8-7 PID Equation Structures .......................................................................................... 8-6
8-8 Reverse and Direct Action ....................................................................................... 8-7
T-3
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
Table of Contents
T-4
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
SECTION 1
FOUNDATION TM
Fieldbus Technology
1-1 Overview
FOUNDATIONTM Fieldbus is an all digital, serial, devices on one set of wires.
two-way communication system that • Increased selection of suppliers
interconnects field equipment such as sensors, due to interoperability.
actuators, and controllers. Fieldbus is a Local • Reduced loading on control room
Area Network (LAN) for instruments used in equipment with the distribution of
both process and manufacturing automation some control and input/output
with built-in capacity to distribute the control functions to field devices.
application across the network. It is the ability • Speed options for process control
to distribute control among intelligent field and manufacturing applications.
devices on the plant floor and digitally
communicate that information at high speed NOTE: The following descriptions and
that makes FOUNDATIONTM Fieldbus an enabling definitions are not intended as a training guide
technology. for Foundation Fieldbus technology but are
Emerson offers a full range of products from presented as an overview for those not familiar
field devices to the DeltaV scalable control with Fieldbus and to define device specific
system to allow an easy transition to Fieldbus attributes for the Fieldbus system engineer.
technology. Anyone attempting to implement Fieldbus
The Fieldbus retains the features of the communications and control with this analyzer
4-20 mA analog system, including must be well versed in Fieldbus technology and
standardized physical interface to the wire, bus protocol and must be competent in
powered devices on a single wire, and intrinsic programming using available tools such as
safety options, and enables additional DeltaV. See „References“ below for additional
capabilities such as: sources for Fieldbus technology and
• Increased capabilities due to full methodology.
digital communications.
• Reduced wiring and wire
terminations due to multiple
1-2 Introduction
A Fieldbus system is a distributed system a collection of physical devices interconnected
composed of field devices and control and by a Fieldbus network. One of the ways that
monitoring equipment integrated into the the physical devices are used is to perform their
physical environment of a plant or factory. portion of the total system operation by
Fieldbus devices work together to provide I/O implementing one or more function blocks.
and control for automated processes and
operations. The Fieldbus Foundation provides
a framework for describing these systems as
1-1
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
1-2-1 Function Blocks
Input Parameter
Input Processing Output Output
Status Status
Fig. 1-1
Function Block Internal Structure
1-2
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
1-2-2 Device Descriptions
Once the inputs are snapped, the algorithm A block is a tagged logical processing unit. The
operates on them, generating outputs as it tag is the name of the block. System
progresses. Algorithm executions are management services locate a block by its tag.
controlled through the setting of contained Thus the service personnel need only know the
parameters. Contained parameters are tag of the block to access or change the
internal to function blocks and do not appear appropriate block parameters.
as normal input and output parameters. Function blocks are also capable of performing
However, they may be accessed and modified short-term data collection and storage for
remotely, as specified by the function block. reviewing their behavior.
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.
1-3
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
1-3 Instrument Specific Function Blocks
1-3-3 Alerts
When an alert occurs, execution control sends Two types of alerts are defined for the block,
an event notification and waits a specified events and alarms. Events are used to report
period of time for an acknowledgment to be a status change when a block leaves a
received. This occurs even if the condition that particular state, such as when a parameter
caused the alert no longer exists. If the crosses a threshold. Alarms not only report a
acknowledgment is not received within the pre- status change when a block leaves a particular
specified time-out period, the event notification state, but also report when it returns back to
is retransmitted. This assures that alert that state.
messages are not lost.
1-4
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
1-4 Network Communication
Fieldbus Link
LAS
(Link Active Scheduler)
Link Master
Fig. 1-2
Single Link Fieldbus Network Basic Devices and/or LinkMaster Devices
1-5
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
1-4-2 Device Addressing
1-6
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
1-4-3 Scheduled Transfers
Fig. 1-3 diagrams the method of scheduled that need to be cyclically transmitted. When it
data transfer. Scheduled data transfers are is time for a device to publish data, the LAS
typically used for the regular cyclic transfer of issues a Compel Data (CD) message to the
process loop data between devices on the device. Upon receipt of the CD, the device
Fieldbus. Scheduled transfers use publisher/ broadcasts or „publishes“ the data to all
subscriber type of reporting for data transfer. devices on the Fieldbus. Any device that is
The Link Active Scheduler maintains a list of configured to receive the data is called a
transmit times for all publishers in all devices „subscriber.“
LAS
Schedule
X
DT(A)
Y
Z
A B C A D A
CD(X,A)
P S P S P S
1-7
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
1-4-4 Inscheduled Transfers
LAS
PT(Z)
Schedule
X DT(M)
Y
Z
A B C A D A
M M
P S P S P S
1-8
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
1-4-5 Function Block Scheduling
Unscheduled
Communication
Macrocycle
Fig. 1-5
Example of Link Schedule
(Showing scheduled and unscheduled communication)
To support synchronization of schedules, Function Block schedules on a link and for the
periodically Link Scheduling (LS) time is LAS link-wide schedule. This permits function
distributed. The beginning of the macrocycle block executions and their corresponding data
represents a common starting time for all transfers to be synchronized in time.
1-9
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
1-5 References
1-5 References
The following Fieldbus FOUNDATION documents Fieldbus, and are referenced wherever
should be used to gain an understanding of appropriate in the document:
Document Number Document Title
FF-890 Fieldbus Foundation™ Fieldbus Specification —
Function Block Application Process – Part 1
FF-891 Fieldbus Foundation™ Fieldbus Specification —
Function Block Application Process – Part 2
FF-902 Fieldbus Foundation™ Fieldbus Specification —
Transducer Block Application Process – Part 1
FF-903 Fieldbus Foundation™ Fieldbus Specification —
Transducer Block Application Process – Part 2
Tab. 1-1
Fieldbus Foundation Documents
1-10
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
1-6 Implemented Function Blocks
Tab. 1-2
Implemented Function Blocks
1-11
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
1-12
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
SECTION 2
Transducer Block
The Transducer Block part was designed to The transmitter specific detailed status and its
provide the information necessary to interface relationship to standard Fieldbus block alarms
the MLT to the Fieldbus. The data structures and errors are shown in a table in the Detailed
should be used for transferring Fieldbus Status section of the document. The I/O channel
information between the MLT’s Object assignments and their status values are shown
Dictionary and other hosts and devices on in the Channel Assignments section.
Fieldbus. Finally the default values for parameters are
Three tables are used to describe the MLT defined. These are the parameters which will
parameters. The List of Parameters table be loaded into the Fieldbus Interface Board’s
defines the relative index value used to database before any communication to the
reference the parameter in the MLT Transducer transducer itself is performed.
Block Object Dictionary and the mnemonic Dynamic parameter default values are
used to reference the parameter, as well as the specified to aid in configuring static simulations
View(s )in which the parameter is contained. of the transducer block. For example, when
The Parameter Descriptions table gives a brief creating a placeholder for this device in a host
description of the behavior of each of the application’s database.
parameters. The Parameter Attributes table
describes the key attributes of each of the
parameters.
2-1
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
2-1 List of Transducer Block Parameters
Tab. 2-1
Transducer Block Parameters
2-2
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
2-1 List of Transducer Block Parameters
Relative Param eter Mnem onic VIEW_1 VIEW_2 VIEW_3 VIEW_3 VIEW_4 VIEW_4 VIEW_4 VIEW_4
Index 1st 2nd 1st 2nd 3rd 4th
41 SENSOR_NOISE_LEVEL_1 4
42 SENSOR_NOISE_TUNE_1 4
43 SENSOR_ZTEMPERATURE_1 4
44 SENSOR_STEMPERATURE_1 4
45 SENSOR_TEMP_OFFSET_1 4
46 SENSOR_CROSS_INTF_OFFSET_1 4
47 SENSOR_TEMP_FACTOR_1 4
48 SENSOR_PRESSURE_1 5 5
49 SENSOR_PRESSURE_FACTOR_1 4
50 SENSOR_FLOW_1 5 5
51 SENSOR_OPTS_1 4
52 PRIMARY_VALUE_TYPE_2 2
53 PRIMARY_VALUE_2 5 5
54 PRIMARY_VALUE_RANGE_2 11
55 CAL_POINT_HI_2 4
56 CAL_POINT_LO_2 4
57 CAL_MIN_SPAN_2 4
58 CAL_UNIT_2 2
59 CAL_GAS_TIME_2 2
60 CAL_ZERO_TOLERANCE_2 4
61 CAL_SPAN_TOLERANCE_2 4
62 CAL_SLOPE_2 4
63 CAL_CONSTANT_2 4
64 CAL_ZERO_INTERVAL_2 2
65 CAL_ZERO_DATE_2 7
66 CAL_SPAN_INTERVAL_2 2
67 CAL_SPAN_DATE_2 7
68 CAL_ ZERO_SPAN_INTERVAL_2 2
69 CAL_ ZERO_SPAN_DATE_2 7
70 SPAN_CAL_DATE_2 7
71 ZERO_CAL_DATE_2 7
72 SENSOR_TYPE_2 2
73 SENSOR_RANGE_2 11
74 SENSOR_ID_2 30
75 SENSOR_FILTER_VALUE_2 4
76 SENSOR_RAW_CONCENTRATION_2 4
77 SENSOR_AVG_CYCLES_2 2
78 SENSOR_AVG_METHOD_2 1
79 SENSOR_NOISE_REFVAL_2 4
80 SENSOR_NOISE_LEVEL_2 4
2-3
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
2-1 List of Transducer Block Parameters
Relative Param eter Mnem onic VIEW_1 VIEW_2 VIEW_3 VIEW_3 VIEW_4 VIEW_4 VIEW_4 VIEW_4
Index 1st 2nd 1st 2nd 3rd 4th
81 SENSOR_NOISE_TUNE_2 4
82 SENSOR_ZTEMPERATURE_2 4
83 SENSOR_STEMPERATURE_2 4
84 SENSOR_TEMP_OFFSET_2 4
85 SENSOR_CROSS_INTF_OFFSET_2 4
86 SENSOR_TEMP_FACTOR_2 4
87 SENSOR_PRESSURE_2 5 5
88 SENSOR_PRESSURE_FACTOR_2 4
89 SENSOR_FLOW_2 5 5
90 SENSOR_OPTS_2 4
91 ANALYZER_OPTS 1
92 MEASUREMENT_OPTS 2
93 GAS_CTRL_STATE 2 2
94 CAL_STATE 2 2
95 CAL_STEP 1
96 CAL_OPTS 1
97 FUNCTION_CALL 1
98 DETAILED_FAILURE 4
99 DETAILED_MAINTENANCE 4
100 DETAILED_STATUS 4
101 SIM_DETAILED_FAILURE 4
102 SIM_DETAILED_MAINTENANCE 4
103 SIM_DETAILED_STATUS 4
104 DEVICE_TIME 7
105 MODULE_SN 20
106 MANUFACTURING_DATE 30
107 ANALYZER_HW_VERSION 30
108 ANALYZER_SW_VERSION 30
109 ACCESS_MODE 1
110 STATS_ATTEMPTS 4
111 STATS_TIMEOUTS 4
Totals 45 24 86 116 72 110 83 83
2-4
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
2-2 Transducer Block Parameter Descriptions
Tab. 2-2
Transducer Block Parameter Descriptions
2-5
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
2-1 List of Transducer Block Parameters
2-6
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
2-3 Transducer Block Parameter Attribute Definitions
Tab. 2-3
Transducer Block Parameter Attribute Definitions
2-7
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
2-3 Transducer Block Parameter Attribute Definitions
Tab. 2-3
Transducer Block Parameter Attribute Definitions
Note 5-1: Writable only if PRES_REMOTE bit of SENSOR_OPTS_n is set, otherwise is only
Readable.
Note 5-2: This parameter is Read Only if the “local parameter access active ” bit or the "parameter
access via serial service interface active" bit is on in the DETAILED_STATUS word.
Note 5-3: Range check is only done if in SENSOR_OPTS_n the bit PRES_CORR is set.
Note 5-4: This parameter is similar to Note 5-2 and additionally Read Only if VALVES_INST of
SENSOR_OPTS_n is cleared.
Note 5-5: Writable only if Simulation-bit of DETAILED_STATUS is set otherwise Read Only.
2-8
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
2-4 Transducer Block Enumerations
Tab. 2-4
Gas Control State
Tab. 2-5
Calibration States
2-9
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
2-4 Transducer Block Enumerations
Tab. 2-6
Calibration Control Enumerations
To start a calibration procedure of a sensor is If we do not want to wait for finishing the already
only allowed if there is no procedure already running procedure we have first to cancel it
running on the same sensor (seeTable 2-5). before starting the new procedure.
2-10
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
2-4 Transducer Block Enumerations
V alue of
Bit Num be r Pne um onic De s cription
MEAS UREMENT_O PTS
15 0x8000 XCMP_1 Cross-Compensation Enabled f or Snsr1
14 0x4000 SPLINE_1 Multiple Splines Linearization Enabled f or Snsr1
13 0x2000 POLY NOM_1 4th Order Polynomial Linearization Enabled f or Snsr1
12 0x1000 reserved
11 0x0800 reserved
10 0x0400 reserved
9 0x0200 reserved
8 0x0100 reserved
7 0x0080 XCMP_2 Cross-Compensation Enabled f or Snsr2
6 0x0040 SPLINE_2 Multiple Splines Linearization Enabled f or Snsr2
5 0x0020 POLY NOM_2 4th Order Polynomial Linearization Enabled f or Snsr2
Tab. 2-7
Measurement Options
Tab. 2-8
Calibration Options
2-11
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
2-4 Transducer Block Enumerations
Value of
Bit Num ber Pneum onic Description
SENSOR_O PTS_n
31 0x80000000 not usable
30 0x40000000 MUX1_ZTEMP Multiplexer1 input is used for temperature zero correction
29 0x20000000 MUX2_ZTEMP Multiplexer2 input is used for temperature zero correction
28 0x10000000 OTHER_ZTEMP other sensor is used for temperature zero correction
27 0x08000000 reserved
26 0x04000000 MUX1_STEMP Multiplexer1 input is used for temperature span correction
25 0x02000000 MUX2_STEMP Multiplexer2 input is used for temperature span correction
24 0x01000000 OTHER_STEMP other sensor is used for temperature span correction of sensor
23 0x00800000 PRES_SENSOR pressure sensor installed
22 0x00400000 PRES_MANMEAS manual pressure input is used for pressure measurement
21 0x00200000 PRES_SNSMEAS built-in pressure sensor is used for pressure measurement
20 0x00100000 PRES_CORR pressure measurement is used for span correction
19 0x00080000 PRES_REMOTE remote pressure measurement is used for pressure measurement
18 0x00040000 reserved
17 0x00020000 reserved
16 0x00010000 reserved
15 0x00008000 FLOW_SENSOR flow sensor installed
14 0x00004000 PUMP_INST pump installed
13 0x00002000 VALVES_INST valves installed
12 0x00001000 HEATER_INST heater installed
Tab. 2-9
Sensor Options
Tab. 2-10
Analyzer Options
2-12
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
2-4 Transducer Block Enumerations
Tab. 2-11
Parameter Access Mode Enumerations (ACCESS_MODE)
Tab. 2-12
Detailed Maintenance
2-13
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
2-4 Transducer Block Enumerations
Tab. 2-13
Detailed Failure
2-14
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
2-4 Transducer Block Enumerations
Tab. 2-14
DetailedStatus
2-15
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
2-4 Transducer Block Enumerations
Tab. 2-15
Function Call Enumerations (FUNCTION_CALL)
2-16
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
2-5 Transducer Block Channel Assignments
Tab. 2-16
I/O Channel Assignments for AI-Blocks
Tab. 2-17
I/O Channel Assignments for AI-Blocks
2-17
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
2-6 Simulation of TBlk States
2-18
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
SECTION 3
Resource Block
Tab. 3-1
MLT PWA Mapping - Advice
Tab. 3-2
MLT PWA Mapping - Maintenance
3-1
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
3-1 Mapping of the PlantWeb Alerts
Temperature Sensor This detects an out The af fected PV quality DETAILED_FAILURE SENSOR_ZTEMPERATURE_1
Malfunction of range status w ill go to BAD 6 Sensor of temp. corr. failed for sensor 1 SENSOR_STEMPERATURE_1
10 11
temperature sensor. 22 Sensor of temp. corr. failed for sensor 2 SENSOR_ZTEMPERATURE_2
SENSOR_STEMPERATURE_2
Pressure The sensor w hich is The af fected PV quality DETAILED_FAILURE SENSOR_PRESSURE_1:value
Compensation used for pressure status w ill go to BAD 7 Pressure measurement for pressure SENSOR_PRESSURE_1:status
Malfunction compensation correction failed for Snsr1 SENSOR_PRESSURE_2:value
10 12
calculations is out of 23 Pressure measurement for pressure SENSOR_PRESSURE_2:status
order. correction failed for Snsr2 SENSOR_OPTS_1: PRES_REMOTE
SENSOR_OPTS_2: PRES_REMOTE
Interf ering Gas It notif ies a failure in The af fected PV quality DETAILED_FAILURE PRIMARY_VALUE_2:value
Compensation Failure interfering gas status w ill go to BAD 8 interfering meas. onto Snsr1 f ailed PRIMARY_VALUE_2:status
10 13
measurements. 24 interfering meas. onto Snsr2 f ailed PRIMARY_VALUE_1:value
PRIMARY_VALUE_1:status
Temperature out of This detects an out The af fected PV quality DETAILED_FAILURE SENSOR_ZTEMPERATURE_1
Range of range status w ill go to BAD 5 Heater control failed for Snsr1 SENSOR_STEMPERATURE_1
temperature inside 21 Heater control failed for Snsr2 SENSOR_ZTEMPERATURE_2
10 14
the device. 10 over temperature shut dow n for Snsr1 SENSOR_STEMPERATURE_2
26 over temperature shut dow n for Snsr2 SENSOR_OPTS_1: HEATER_INST
SENSOR_OPTS_2: HEATER_INST
Sensor Engine Various faults w ill output w ill not be valid DETAILED_FAILURE
Hardw are Failure cause the analysis or analyzer w ill not 1 Chopper motor failure Snsr1
to be bad includig operate 17 Chopper motor failure Snsr2
failure in chopper 2 A/D converter out of range for Snsr1
motor, light source 18 A/D converter out of range for Snsr2
10 16
or the detector 3 Source light failed for Snsr1
component 19 Source light failed for Snsr2
4 Detector component failed for Snsr1
20 Detector component failed for Snsr2
28 Sensor Communication failed
Output Board NV The non-volatile RB.BLOCK_ERR
Memory Failure parameter storage 0 Other
on the CPU board 11 Lost NV Data
10 22
has become
unreliable RB.DETAILED_STATUS
4 NV Integrity error
Sensor Board This occurs w hen Data w ill be unusable, RB.BLOCK_ERR DETAILED_FAILURE
Electronics Failure the electronics of bad quality alarm w ill 0 Other 29 No communication to transducer device
the sensor can not be sent to the operator 13 Device Needs
reliably send data to and the analyzer w ill be Maintenance Now
the Fieldbus Output taken out of service. 15 Out of service 10 23
Electronics Board.
RB.DETAILED_STATUS
1 Sensor transducer error
Tab. 3-3
MLT PWA Mapping - Failed
3-2
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
3-2 PWA_Simulate
3-2 PWA_SIMULATE
Having PWA_SIMULATE == ON allows There are some bits of DETAILED_STATUS
simulating the RBlk-parameters of the RBlk (not TBlk!) which are mapped to
FAILED_ACTIVE, MAINT_ACTIVE and FAILED_ACTIVE („Electronics Failure“ and
ADVISE_ACTIVE. „NV memory failure“).
„Allow simulating“ means that these parameters We also allow simulating them in this state.
get write permission and the host’s written value Hereby is used a wired-OR logic of these
is the only one which is used for parameter’s DETAILED_STATUS bits and of the
read back value. The data which come via appropriate FAILED_ACTIVE bits.
1451-protocol from the MLT itself is not used
in this case (also no wired-OR).
3-3
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
3-4
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
SECTION 4
Analog Input (AI) Function Block
The Analog Input (AI) function block processes In Automatic mode, the block’s output
field device measurements and makes them parameter (OUT) reflects the process variable
available to other function blocks. The output (PV) value and status. In Manual mode, OUT
value from the AI block is in engineering units may be set manually. The Manual mode is
and contains a status indicating the quality of reflected on the output status. A discrete output
the measurement. The measuring device may (OUT_D) is provided to indicate whether a
have several measurements or derived values selected alarm condition is active. Alarm
available in different channels. Use the channel detection is based on the OUT value and user
number to define the variable that the AI block specified alarm limits. Figure 3-2 on page 3–3
processes. illustrates the internal components of the AI
The AI block supports alarming, signal scaling, function block while table 3-1 lists the AI block
signal filtering, signal status calculation, mode parameters and their units of measure,
control, and simulation. descriptions and index numbers.
Index
Param eter Units Description
Num ber
ACK_OPTION 23 None Used to set auto acknow ledgment of alarms.
ALARM_HYS 24 Percent The amount the alarm value must return w ithin the alarm limit before the associated active
alarm condition clears.
ALARM_SEL 38 None Used to select the process alarm conditions that w ill cause the OUT_D parameter to be
set.
ALARM_SUM 22 None The summary alarm is used for all process alarms in the block. The cause of the alert is
entered in the subcode field. The first alert to become active w ill 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 w ithout clearing the Active status, if the
subcode has changed.
ALERT_KEY 4 None The identification number of the plant unit. This information may be used in the host for
sorting alarms, etc.
BLOCK_ALM 21 None The block alarm is used for all configuration, hardw are, connection failure or system
problems in the block. The cause of the alert is entered in the subcode field. The first alert
to become active w ill 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 w ithout clearing the Active status, if the subcode has changed.
Tab. 4-1
Definitions of Analog Input Function Block System Parameters
4-1
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
4 Analog Input (AI) Function Block
Index
Param eter Units Description
Num ber
BLOCK_ERR 6 None This parameter reflects the error status associated w ith the hardw are or softw are
components associated w ith a block. It is a bit string, so that multiple errors may be
show n.
CHANNEL 15 None The CHANNEL value is used to select the measurement value. Refer to the 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.
FIELD_VAL 19 Percent The value and status from the transducer block or from the simulated input w hen
simulation is enabled.
GRANT_DENY 12 None Options for controlling access of host computers and local control panels to operating,
tuning, and alarm parameters of the block. Not used by device.
HI_ALM 34 None The HI alarm data, w hich includes a value of the alarm, a timestamp of occurrence and
the state of the alarm.
HI_HI_ALM 33 None The HI HI alarm data, w hich includes a value of the alarm, a timestamp of occurrence and
the state of the alarm.
HI_HI_LIM 26 EU of The setting for the alarm limit used to detect the HI HI alarm condition.
PV_SCALE
HI_HI_PRI 25 None The priority of the HI HI alarm.
HI_LIM 28 EU of The setting for the alarm limit used to detect the HI alarm condition.
PV_SCALE
HI_PRI 27 None The priority of the HI alarm.
IO_OPTS 13 None Allow s the selection of input/output options used to alter the PV. Low cutoff enabled is
the only selectable option.
L_TYPE 16 None Linearization type. Determines w hether the field value is used directly (Direct), is
converted linearly (Indirect), or is converted w ith the square root (Indirect Square Root).
LO_ALM 35 None The LO alarm data, w hich includes a value of the alarm, a timestamp of occurrence and
the state of the alarm.
LO_LIM 30 EU of The setting for the alarm limit used to detect the LO alarm condition.
PV_SCALE
LO_LO_ALM 36 None The LO LO alarm data, w hich includes a value of the alarm, a timestamp of occurrence
and the state of the alarm.
LO_LO_LIM 32 EU of The setting for the alarm limit used to detect the LO LO alarm condition.
PV_SCALE
LO_LO_PRI 31 None The priority of the LO LO alarm.
LO_PRI 29 None The priority of the LO alarm.
LOW_CUT 17 % If percentage value of transducer input fails below this, PV = 0.
MODE_BLK 5 None The actual, target, permitted, and normal modes of the block.
Target: The mode to “go to”
Actual: The mode the “block is currently in”
Permitted: Allow ed modes that target may take on
Normal: Most common mode for target
OUT 8 EU of The block output value and status.
OUT_SCALE
OUT_D 37 None Discrete output to indicate a selected alarm condition.
OUT_SCALE 11 None The high and low scale values, engineering units code, and number of digits to the right
of the decimal point associated w ith OUT.
PV 7 EU of The process variable used in block execution.
XD_SCALE
PV_FTIME 18 Seconds The time constant of the first-order PV filter. It is the time required for a 63% change in
the IN value.
SIMULATE 9 None A group of data that contains the current transducer value and status, the simulated
transducer value and status, and the enable/disable bit.
STRATEGY 3 None The strategy field can be used to identify grouping of blocks. This data is not checked or
processed by the block.
ST_REV 1 None The revision level of the static data associated w ith the function block. The revision value
w ill be incremented each time a static parameter value in the block is changed.
4-2
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
4-1 Simulation
Index
Param eter Units Description
Num ber
TAG_DESC 2 None The user description of the intended application of the block.
UPDATE_EVT 20 None This alert is generated by any change to the static data.
VAR_INDEX 39 % of OUT The average absolute error betw een the PV and its previous mean value over that
Range evaluation time defined by VAR_SCAN.
VAR_SCAN 40 Seconds The time over w hich the VAR_INDEX is evaluated.
XD_SCALE 10 None The high and low scale values, engineering units code, and number of digits to the right
of the decimal point associated w ith 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 w ill not transition to MAN or AUTO.
4-1 Simulation
To support testing, either change the mode of All Fieldbus instruments have a
the block to manual and adjust the output value, simulation jumper. As a safety
or enable simulation through the configuration measure, the jumper has to be
tool and manually enter a value for the reset every time there is a power
measurement value and its status. In both interruption. This measure is to
cases, the ENABLE jumper on the field device prevent devices that went
must first be set. through simulation in the
With simulation enabled, the actual staging process from being
measurement value has no impact on the OUT installed with simulation
value or the status. enabled.
Analog
Measurement
ALARM_TYPE
Access HI_HI_LIM
Analog HI_LIM
Meas. LO_LO_LIM Alarm
LO_LIM Detection OUT_D
ALARM_HYS
CHANNEL
LOW_CUT
SIMULATE
OUT = The block output value and status
L_TYPE
PV_FTIME MODE OUT_D= Discrete output that signals a
selected alarm condition
FIELD_VAL
IO_OPTS
STATUS_OPTS
OUT_SCALE
XD_SCALE
Fig. 4-2
Analog Input Function Block Schematic
4-3
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
4-2 Filtering
PV
63% of Change
FIELD_VAL
Time (seconds)
PV_FTIME
Fig. 4-3
Analog Input Function Block Timing Diagram
4-2 Filtering
The filtering feature changes the response time The filter time constant (in seconds) can be
of the device to smooth variations in output adjusted using the PV_FTIME parameter. Set
readings caused by rapid changes in input. the filter time constant to zero to disable the
filter feature.
4-4
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
4-3 Signal Conversion
• Indirect
Indirect signal conversion converts the simulation is enabled) from its specified
signal linearly to the accessed channel range (XD_SCALE) to the range and units
input value (or the simulated value when of the PV and OUT parameters
(OUT_SCALE).
FIELD _ VAL
PV = x (EU * * @100% − EU * * @ 0% ) + EI * * @ 0%
100
*OUT_SCALE values
FIELD _ VAL
PV = x (EU * *@100% − EU * *@ 0% ) + eu * *@ 0%
100
*OUT_SCALE values
4-5
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
4-4 Block Errors
Tab. 4-2
Block Error Conditions
4-5 Modes
The AI Function Block supports three modes
of operation as defined by the MODE_BLK
parameter:
• Manual (Man) The block output (OUT) • Out of Service (O/S) The block is not
may be set manually processed. FIELD_VAL and PV are not
• Automatic (Auto) OUT reflects the ana- updated and the OUT status is set to Bad:
log input measurement or the simulated Out of Service. The BLOCK_ERR
value when simulation is enabled. 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.
4-6
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
4-6 Alarm Detection
Tab. 4-3
Alarm Priorities
4-7
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
4-7 Status Handling
4-8
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
4-9 Applicatin Information
4-9
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
4-9 Application Information
Situation #1
The level of an open tank is to be measured
using a pressure tap at the bottom of the tank. Full 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 li- 16 ft 7.0 psi measured at
quid in the tank has a density that makes the the transmitter
Fig. 4-5
Situation #1 Diagram
Solution to Situation #1
The table below lists the appropriate
configuration settings, and the figure illustrates
the correct function block configuration.
Analog
Measurement
AI OUT_D
Param eter Configured Function
OUT
Block
Values
L_TYPE Indirect BKCAL_IN BKCAL_OUT
Fig. 4-6
Function Block Diagram for a Pressure Transmitter
used in Level Measurement
4-10
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
4-9 Application Information
Situation #2
The transmitter in situation #2 is installed below 16 ft
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.
Empty Tank
Fig. 4-7
Stuation #2 Diagram
AI OUT_D PID AO
Function Function Function
Block OUT IN Block Block
Fig. 4-8
Function Block Diagram for Differential Pressure Transmitter in Flow Measurement
4-11
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
4-10 Troubleshooting
4-10 Troubleshooting
Mode w ill not 1. Target mode not set. 1. Set target mode to something other than OOS.
leave OOS
2. Configuration error 2. 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.
c. L_TYPE must be set to Direct, Indirect, or Indirect Square Root and cannot be lef t at initial value of 0.
3. Resource block 3. The actual mode of the Resource block is OOS. See Resource Block Diagnostics for corrective action.
4. Schedule 4. Block is not scheduled and therefore cannot execute to go to Target Mode. Schedule the block to execute.
Process and/or 1. Features 1. FEATURES_SEL does not have Alerts enabled. Enable the Alerts bit.
2. Notification 2. LIM_NOTIFY is not high enough. Set equal to MAX_NOTIFY.
3. Status Options 3. STATUS_OPTS has Propagate Fault Forw ard bit set. This should be cleared to cause an alarm to occur.
Value of output 1. Linearization Type 1. L_TYPE must be set to Direct, Indirect, or Indirect Square Root and cannot be left at initial value of 0.
2. Scaling 2. Scaling parameters are set incorrectly:
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.
Cannot set 1. Scaling 1. Limit values are outside the OUT_SCALE.EU0 and OUT_SCALE.EU100 values. Change OUT_SCALE or set
HI_LIMIT, values w ithin range.
HI_HI_LIMIT,
LO_LIMIT, or
. LO_LO_LIMIT
Values
Tab. 4-4
Troubleshooting AI Block
4-12
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
SECTION 5
Analog Output (AO) Function Block
BKCAL_OUT
CAS_IN
AO OUT
The Analog Output (AO) function block assigns The block supports mode control, signal status
an output value to a field device through a calculation, and simulation. Figure 5-2
specified I/O channel. illustrates the internal components of the AO
function block, and Table 5-1 lists the definitions
of the system parameters.
Param eters Units Description
BKCAL_OUT EU of PV_SCALE The value and status required by the BKCAL_IN input of another block to
prevent reset w indup and to provide bumpless transfer to closed loop
control.
BLOCK_ERR None The summary of active error conditions associated w ith the block. The
block errors for the Analog Output block are Sim ulate Active, Input
Failure/Process Variable has Bad Status, Output Failure, Read
back Failed, and Out of Service.
CAS_IN EU of PV_SCALE The remote setpoint value from another function block.
IO_OPTS None Allow s you to select how the I/O signals are processed. The supported
I/O options for the AO function block are SP_PV Track in Man,
Increase to Close, and Use PV for BKCAL_OUT.
CHANNEL None Defines the output that drives the field device.
MODE None Enumerated attribute used to request and show the source of the
setpoint and/or output used by the block.
OUT EU of XD_SCALE The primary value and status calculated by the block in Auto mode. OUT
may be set manually in Man mode.
PV EU of PV_SCALE 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.
PV_SCALE None The high and low scale values, the engineering units code, and the
number of digits to the right of the decimal point associated with the PV.
READBACK EU of XD_SCALE The measured or implied actuator position associated w ith the OUT value.
SIMULATE EU of XD_SCALE Enables simulation and allow s you to enter an input value and status.
SP EU of PV_SCALE The target block output value (setpoint).
SP_HI_LIM EU of PV_SCALE The highest setpoint value allow ed.
SP_LO_LIM EU of PV_SCALE The low est setpoint value allow ed.
SP_RATE_DN EU of PV_SCALE Ramp rate for dow nw ard setpoint changes. When the ramp rate is set to
per second zero, the setpoint is used immediately.
SP_RATE_UP EU of PV_SCALE Ramp rate for upw ard setpoint changes. When the ramp rate is set to
per second zero, the setpoint is used immediately.
SP_WRK EU of PV_SCALE The w orking setpoint of the block. It is the result of setpoint rate-of-
change limiting. The value is converted to percent to obtain the block’s
OUT value.
Tab. 5-1
Analog Output Function Block System Parameters
5-1
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
5-1 Setting the Output
SP SP Convert
HI/LO Rate and Status
Limit Limit Calculation OUT
CAS_IN
SP_WRK
SP_LO_LIM PV_SCALE
SP_HI_LIM
IO_OPTS
MODE
SIMULATE
Shed
Mode
Access Access
Analog Analog CHANNEL
Input Output
5-2
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
5-2 Setpoint Selection and Limiting
SP_RATE_DN
OUT (Mode in AUTO) SP_RATE_UP
SP
Time
1 second 1 second
Fig. 5-3
Analog Output Function Block Timing Diagram
5-3
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
5-4 Simulation
associated with the output channel through the the OUT channel, you can choose to allow the
READBACK parameter (in OUT units) and in PV to be used for BKCAL_OUT by selecting
the PV attribute (in engineering units). If the the Use PV for BKCAL_OUT I/O option.
actuator does not support position feedback, NOTE: SP_PV Track in Man, Increase to
the PV and READBACK values are based on Close, and Use PV for BKCAL_OUT are the
the OUT attribute. only I/O options that the AO block supports. You
The working setpoint (SP_WRK) is the value can set I/O options in Manual or Out of Ser-
normally used for the BKCAL_OUT attribute. vice mode only.
However, for those cases where the
READBACK signal directly (linearly) reflects
5-4 Simulation
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.
5-4
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
5-6 Block Errors
5-7 Modes
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.
5-5
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
5-6
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
SECTION 6
Input Selector (ISEL) Function Block
The Input Selector (ISEL) function block can be Figure 5-2 illustrates the internal components
used to select the first good, Hot Backup, of the ISEL function block. Table 5-1 lists the
maximum, minimum, or average of as many ISEL block parameters and their descriptions,
as four input values and place it at the output. units of measure, and index numbers.
The block supports signal status propagation.
There is no process alarm detection in the In-
put Selector function block.
Tab. 6-1
Input Selector Function Block System Parameters
6-1
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
6 Input Selector (ISEL) Function Block
IN_1 11 Determined by The connection input from another block. One of the inputs to be selected
source from.
IN_2 12 Determined by The connection input from another block. One of the inputs to be selected
source from.
IN_3 13 Determined by The connection input from another block. One of the inputs to be selected
source from.
IN_4 14 Determined by The connection input from another block. One of the inputs to be selected
source from.
MIN_GOOD 20 None The minimum number of good inputs
MODE_BLK 5 None The actual, target, permitted, and normal modes of the block.
Target: The mode to “go to”
Actual: The mode the “block is currently in”
Permitted: Allow ed modes that target may take on
Normal: Most common mode for target
OP_SELECT 22 None Overrides the algorithm to select 1 of the 4 inputs regardless of the
selection type.
OUT 7 EU of IN The block output value and status.
OUT_UNITS 8 None The engineering units of the output. Typically, all inputs have the same units
and the value is also the same.
SELECTED 21 None The selected input number (1–4).
SELECT_TYPE 19 None Specifies selection method (see Block Execution)
STATUS_OPTS 10 None Allow s selection of options for status handling and processing. The
supported status option for the PID block is Target to Manual if Bad IN.
STRATEGY 3 None The strategy field can be used to identify grouping of blocks. This data is
not checked or processed by the block.
ST_REV 1 None The revision level of the static data associated w ith the function block. The
revision value w ill be incremented each time a static parameter value in the
block is changed.
TAG_DESC 2 None The user description of the intended application of the block.
UPDATE_EVT 23 None This alert is generated by any change to the static data.
6-2
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
6 Input Selector (ISEL) Function Block
IN_1
Selection AUTO
IN_2
OUT
IN_3
Algorithm
MAN
IN_4
DISABLE_1
DISABLE_2 SELECTED
DISABLE_3
DISABLE_4 SEL_TYPE
OP_SELECT MIN_GOOD
Fig. 6-2
Input Selector Function Block Schematic
6-3
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
6-2 Modes
6-2 Modes
The ISEL function block supports three modes • Out of Service (O/S) The block is not
of operation as defined by the MODE_BLK processed. The BLOCK_ERR parameter
parameter: shows Out of Service. In this mode,
• Manual (Man) The block output (OUT) changes caNn be made to all configurable
may be set manually. parameters. The target mode of a block
• Automatic (Auto) OUT reflects the may be restricted to one or more of the
selected value. supported modes.
Tab. 5-3
Alarm Priorities
6-4
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
6-5 Status Handling
IN1 = 126 °F
Input Selector
IN2 = 104 °F (ISEL) Function
Block To Another
Function Block
IN3 = 112 °F OUT = 130 °F
IN4 = 130 °F
SEL_TYPE = max
Fig. 6-3
Input Selector Function Block Application Example (SEL_TYPE = max).
6-5
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
6-6 Application Information
IN1 = 126 °F
Input Selector
IN2 = 104 °F (ISEL) Function
Block To Another
Function Block
IN3 = 112 °F OUT = 118 °F
IN4 = 130 °F
SEL_TYPE = avg
Fig. 6-4
Input Selector Function Block Application Example (SEL_TYPE = avg.).
IN1 = 126 °F
Input Selector
IN2 = 104 °F (ISEL) Function
Block
IN3 = 112 °F
IN4 = 130 °F
SEL_TYPE = Hot Backup
Fig. 6-5
Input Selector Function Block Application Example (SEL_TYPE = Hot Back-
up).
Tab. 6-4
Input Selector Function Blocks
6-6
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
6-7 Troubleshooting
6-7 Troubleshooting
Tab. 6-5
Troubleshooting ISEL Block
6-7
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
6-8
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
SECTION 7
Arithmetic (ARTHM) Function Block
IN OUT
IN_LO
IN_1 ARTHM
IN_2
IN_3
The Arithmetic function block provides the ability The nine (9) arithmetic functions are Flow
to configure a range extension function for a Compensation Linear, Flow Compensation
primary input and applies the nine (9) different Square Root, Flow Compensation
arithmetic types as compensation to or Approximate, BTU Flow, Traditional Multiply
augmentation of the range extended input. All and Divide, Average, Summer, Fourth Order
operations are selected by parameter and Polynomial, and Simple HTG Compensate
input connection. Level.
This Arithmetic function block supports mode
control (Auto, Manual, Out of Service). There
is no standard alarm detection in this block.
7-1
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
7 Arithmetic (ARTHM) Function Block
Index
Parameter Units Description
Number
4 ALERT_KEY None The identification number of the plant unit. This information may be used in the
host fro sorting alarms, etc.
29 ARITH_TYPE None The set of 9 arithmetic functions applied as compensation to or augmentation
of the range extended input.
30 BAL_TIME Seconds Specifies the time for a block value to match an input, output, or calculated
value or the time for dissipation of the internal balancing bias.
31 BIAS None The bias value
21 BIAS_IN_1 None The bias value for IN_1.
23 BIAS_IN_2 None The bias value for IN_2.
25 BIAS_IN_3 None The bias value for IN_3.
36 BLOCK_ALM None This block alarm is used for all configuration, hardware, connection failure, or
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.
6 BLOCK_ERR None The summary of active error conditions associated with the block. The
possible block errors are Block configuration error, Simulate active, Local
override, Input failure/process variable has Bad status, Output failure,
Readback failed, Out of service, and Other. Each function block reports none
or a subset of these error conditions.
27 COMP_HI_LIM EU of PV Determines the high limit of the compensation input.
28 COMP_LO_LIM EU of PV Determines the low limit of the compensation input.
32 GAIN None The proportional gain (multiplier) value.
22 GAIN_IN_1 None The proportional gain (multiplier) value for IN_1
24 GAIN_IN_2 None The proportional gain (multiplier) value for IN_2
26 GAIN_IN_3 None The proportional gain (multiplier) value for IN_3
12 GRANT_DENY None Options for controlling access of host computers and local control panels to
operating, tuning, and alarm parameters of the block. Not used by the device.
14 IN Determined by source or The analog input value and status. The number of inputs is an extensible
EU of PV_SCALE parameter in some function blocks.
16 IN_1 Determined by supplying The first analog input value and status.
block or source.
17 IN_2 Determined by supplying The second analog input value and status.
block or source.
18 IN_3 Determined by supplying The third analog input value and status.
block or source.
15 IN_LO None The value used for the input whenever IN is below range.
13 INPUT_OPTS None Sets the options for using IN, IN_LO, IN_1, IN_2 and IN_3 when any are either
Bad or Uncertain.
5 MODE_BLK None The mode record of the block. MODE contains the actual, target, permitted,
and normal modes. In some function blocks, this parameter is used to request
and show the source of the setpoint, the source of the output, and/or the block
operating state.
8 OUT EU of OUT_SCALE or The analog output value and status. The number of outputs is an extensible
Percent or EU of IN parameter in some blocks.
33 OUT_HI_LIM EU of OUT_SCALE or The maximum output value allowed.
Supplied by IN
Tab. 7-1
Arithmetic Block Parameters
7-2
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
7 Arithmetic (ARTHM) Function Block
Index
Parameter Units Description
Number
34 OUT_LO_LIM EU of OUT_RANGE or The minimum output value allowed.
Supplied by IN
11 OUT_RANGE None Range of the output
9 PRE_OUT EU of OUT The pre-trip limit from SP or zero.
7 PV EU of OUT or EU of The process variable used in block execution and alarm limit detection.
PV_SCALE
10 PV_SCALE None The high and low scale values, engineering units code, and number of digits to
the right of the decimal point associated with OUT.
19 RANGE_HI None The high limit for IN.
20 RANGE_LO None The low limit for IN. If IN is less than RANGE_LO, then IN_LO is used.
3 STRATEGY None The strategy field can be used to identify grouping of blocks. This data is not
checked or processed by the block.
1 ST_REV None The revision level of the static data associated with the function block. The
revision value will be incremented each time a static parameter value in the
block is changed.
2 TAG_DESC None The user description of the intended application of the block.
35 UPDATE_EVT None This alert is generated by any changes to the static data.
Fig. 7-2
Arithmetic Function Block Schematic
7-3
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
7-1 Block Errors
Tab. 7-2
BLOCK_ERR parameters
7-2 Modes
The ARTHM block supports the following
modes:
• Manual (Man) – The block output (OUT) • Out of Service (O/S) – The block is not
may be set manually. processed. FIELD_VAL and PV are not
• Automatic (Auto) – OUT reflects the ana- updated and the OUT status is set to Bad:
log input measurement or the simulated Out of Service. The BLOCK_ERR
value when simulation is enabled. parameter shows Out of Service. In this
mode, you can make changes to all
configurable parameters.
The target mode of a block bay be restricted
to one or more of the supported modes.
7-4
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
7-3 Alarm Detection
Tab. 7-3
Alarm Level Priorities
7-5
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
7-5 Status Handling
Fig. 7-3
Relative Temperature Effects on Level
7-6
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
7-6 Application Information
The calculation is done by applying the level This allows a ratio to be set up that increases
signal to the IN connector, the liquid the level indication at block output for an
temperature to the IN_1 connector, and the increase in the tank temperature relative to
ambient air temperature to the IN_2 connector. ambient temperature.
Select the Arithmetic type (ARITH_TYPE) of
Flow Compensation - Linear.
Fig. 7-4
Arithmetic Function Block Diagram Example
7-7
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
7-7 Advanced Topics
Arithmetic Types
The parameter ARITH_TYPE determines how
PV and the compensation terms (t) are
combined. User may select from nine (9)
commonly used math functions, depicted below.
COMP_HI and COMP_LO are compensation
limits.
If there is a divide by zero and the numerator is The square root of a negative value will equal
positive, f is set to COMP_HI; if the numerator the negative of the square root of the absolute
is negative, then f is set to COMP_LO. value. Imaginary roots are not supported.
If there is a divide by zero and numerator is COMP_LO. Compensation inputs which are
positive, f will be limited to COMP_HI; if the not usable are not included in the calculation.
numerator is negative, f will be limited to PV is always included.
7-8
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FOUNDATIONTM Fieldbus
7-8 Troubleshooting
7-8 TROUBLESHOOTING
Refer to Table 6-4 to troubleshoot any problems
that you encounter.
Symptom Possible Causes Corrective Action
Model will not leave OOS Target model not set Set target mode to something other than OOS
Configuration error BLOCK_ERR will show the configuration error set. ARITH_TYPE must be set to a
valid value and cannot be left at 0.
Resource Block The actual mode of the Resource block is OOS. See Resource block diagnostics
for corrective action.
Schedule Block is not scheduled and therefore cannot execute to go to the target mode.
Typically, BLOCK_ERR will show “Power-Up” for all blocks that are not scheduled.
Schedule the block to execute.
Status of outputs is BAD Inputs Input has BAD status.
Block alarms will not work Features FEATURES_SEL does not have Alerts enabled. Enable the Alert bit.
Notification LIM_NOTIFY is not high enough. Set equal to MAX_NOTIFY.
Status Options STATUS_OPTS has the Propagate Fault Forward bit set. This must be cleared to
cause the alarm to occur.
Tab. 7-4
Troubleshooting
7-9
FOUNDATIONTM Fieldbus Communication Instruction Manual
ETC01184
FOUNDATIONTM Fieldbus 10/2003
7-10
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FoundationTM Fieldbus
SECTION 8
Proportional / Integral / Derivative (PID) Function Block
BKCAL_IN = The analog input value and status from another block’s TRK_VAL = The value after scaling applied to OUT in Local
BKCAL_OUT output that is used forbackward output Override mode.
tracking for bumpless transfer and to pass limit status. BKCAL_OUT= The value and status required by the BKCAL_IN
CAS_IN = The remote setpoint value from another function block. input of another function block to prevent reset
FF_VAL = The feedforward control input value and status. windup and to provide bumpless transfer to closed
IN = The connection for the process variable from another loop control.
function block. OUT = The block output and status.
TRK_IN_D = Initiates the external tracking function.
The PID function block combines all of the The block supports two forms of the PID
necessary logic to perform proportional / inte- equation: Standard and Series. Choose the
gral / derivative (PID) control. The block appropriate equation using the FORM
supports mode control, signal scaling and parameter. The Standard ISA PID equation is
limiting, feedforward control, override tracking, the default selection.
alarm limit detection, and signal status
propagation.
1 τds
Standard Out = GAIN x e x 1 + + + F
τ r s +1 α x τ d s +1
1 τ d s +1
Series Out = GAIN x e x 1 + + + F
τ r s α x τ d s + 1
Where
GAIN: Proportional gain value.
tr: Integral action time constant (RESET parameter) in seconds.
s: Laplace operator
td: Derivative action time constant (RATE parameter).
a: 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.
8-1
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
FoundationTM Fieldbus 10/2003
8 PID Function Block
To further customize the block for use in an Table 8-1 lists the PID block parameters and
application, it is possible to configure filtering, their descriptions, units of measure, and index
feedforward inputs, tracking inputs, setpoint numbers, and fig. 8-1 illustrates the internal
and output limiting, PID equation structures, and components of the PID function block.
block output action.
Index Description
Param eter Units
Num ber
ACK_OPTION 46 None Used to set auto acknow ledgment of alarms.
ALARM_HYS 47 Percent The amount the alarm value must return to w ithin the alarm limit before the associated active alarm condition
clears.
The summary alarm is used for all process alarms in the block. The cause of the alert is entered in the subcode
field. The first alert to become active w ill set the Active status in the Status parameter. As soon as the
ALARM_SUM 45 None
Unreported status is cleared by the alert reporting task, another block alert may be reported w ithout clearing the
Active status, if the subcode has changed.
ALERT_KEY 4 None The identification number of the plant unit. This information may be used in the host for sorting alarms, etc.
ALG_TYPE 74 None Selects filtering algorithm as Backw ard or Bilinear.
BAL_TIME 25 Seconds The specified time for the internal w orking value of bias to return to the operator set bias. Also used to specify
the time constant at w hich the integral term w ill move to obtain balance w hen the output is limited and the mode
is AUTO, CAS, or RCAS.
BIAS 66 EU of OUT_SCALE The bias value used to calculate output for a PD type controller.
BKCAL_HYS 30 Percent The amount the output value must change aw ay from the its output limit before limit status is turned off.
BKCAL_IN 27 EU of OUT_SCALE The analog input value and status from another block’s BKCAL_OUT output that is used for backw ard output
tracking for bumpless transfer and to pass limit status.
BKCAL_OUT 31 EU of PV_SCALE The value and status required by the BKCAL_IN input of another block to prevent reset w indup and to provide
bumpless transfer of closed loop control.
The block alarm is used for all configuration, hardw are, connection failure, or system problems in the block. The
cause of the alert is entered in the subcode field. The first alert to become active w ill set the active status in the
BLOCK_ALM 44 None
status parameter. As soon as the Unreported status is cleared by the alert reporting task, and other block alert
may be reported w ithout clearing the Active status, if the subcode has changed.
This parameter reflects the error status associated w ith the hardw are or softw are components associated w ith
BLOCK_ERR 6 None
a block. It is a bit string so that multiple errors may be show n.
BYPASS 17 None Used to override the calculation of the block. When enabled, the SP is sent directly to the output.
CAS_IN 18 EU of PV_SCALE The remote setpoint value from another block.
CONTROL_OPTS 13 None Allow s definition of control strategy options. The supported control options for 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
DV_HI_ALM 64 None The DV HI alarm data, w hich includes a value of the alarm, a timestamp of occurrence, and the state of the
alarm.
DV_HI_LIM 57 EU of PV_SCALE The setting for the alarm limit used to detect the deviation high alarm condition.
DV_HI_PRI 56 None The priority of the deviation high alarm.
DV_LO_ALM 65 None The DV LO alarm data, w hich includes a value of the alarm, a timestamp of occurrence, and the state of the
alarm.
DV_LO_LIM 59 EU of PV_SCALE The setting for the alarm limit use to detect the deviation low alarm condition.
DV_LO_PRI 58 None The priority of the deviation low alarm.
ERROR 67 EU of PV_SCALE The error (SP-PV) used to determine the control action.
FF_ENABLE 70 None Enables the use of feedforw ard calculations
FF_GAIN 42 None The feedforw ard gain value. FF_VAL is multiplied by FF_GAIN before it is added to the calculated control output.
FF_SCALE 41 None The high and low scale values, engineering units code, and number of digits to the right of the decimal point
associated w ith the feedforw ard value (FF_VAL).
FF_VAL 40 EU of FF_SCALE The feedforw ard control input value and status.
GAIN 23 None The proportional gain value. This value cannot = 0.
GRANT_DENY 12 None Options for controlling access of host computers and local control panels to operating, tuning, and alarm
parameters of the block. Not used by the device.
HI_ALM 61 None The HI alarm data, w hich includes a value of the alarm, a timestamp of occurrence, and the state of the alarm.
HI_HI_ALM 60 None The HI HI alarm data, w hich includes a value of the alarm, a timestamp of occurrence, and the state of the alarm.
HI_HI-LIM 49 EU of PV_SCALE The setting for the alarm limit used to detect the HI HI alarm condition.
HI_HI_PRI 48 None The priority of the HI HI Alarm.
HI_LIM 51 EU of PV_SCALE The setting for the alarm limit used to detect the HI alarm condition.
HI_PRI 50 None The priority of the HI alarm.
IN 15 EU of PV_SCALE The connection for the PV input from another block.
LO_ALM 62 None The LO alarm data, w hich includes a value of the alarm, a timestamp of occurrence, and the state of the alarm.
Tab. 8-1
PID Function Block System Parameters
8-2
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FoundationTM Fieldbus
8 PID Function Block
Index Description
Param eter Units
Num ber
LO_LIM 53 EU of PV_SCALE The setting for the alarm limit used to detect the LO alarm condition.
LO_LO_ALM 63 None The LO LO alarm data, w hich includes a value of the alarm, a timestamp of occurrence, and the state of the
alarm.
LO_LO_LIM 55 EU of PV_SCALE The setting for the alarm limit used to detect the LO LO alarm condition.
LO_LO_PRI 54 None The priority of the LO LO alarm.
LO_PRI 52 None The priority of the LO alarm.
MATH_FORM 73 None Selects equation f orm (series or standard).
The actual, target, permitted, and normal modes of the block.
Target: The mode to “go to”
MODE_BLK 5 None
Actual: The mode the “block is currently in” Permitted: Allow ed modes that target may take on Normal: Most
common mode for target.
OUT 9 EU of OUT SCALE The block input value and status.
OUT_HI_LIM 28 EU of OUT_SCALE The maximum output value allow ed.
OUT-LO_LIM 29 EU of OUT_SCALE The minimum output value allow ed
OUT_SCALE 11 None The high and low scale values, engineering units code, and number of digits to the right of the decimal point
associated w ith OUT.
PV 7 EU of PV_SCALE The process variable used in block execution.
PV_FTIME 16 Seconds The time constant of the first-order PV filter. It is the time required f or a 63 percent change in the IN value.
PV_SCALE 10 None The high and low scale values, engineering units code, and number of digits to the right of the decimal point
associated w ith PV.
RATE 26 Seconds The derivative action time constant.
RCAS_IN 32 EU of PV_SCALE Target setpoint and status that is provided by a supervisory host. Used w hen mode is RCAS.
RCAS_OUT 35 EU of PV_SCALE Block setpoint and status after ramping, f iltering, and limiting that is provided to a supervisory host for back
calculation to allow action to be taken under limiting conditions or mode change. Used w hen mode is RCAS.
RESET 24 Seconds per repeat The integral action time constant.
ROUT_IN 33 EU of OUT_SCALE Target output and status that is provided by a supervisory host. Used w hen mode is ROUT.
ROUT_OUT 36 EU of OUT_SCALE Block output that is provided to a supervisory host for a back calculation to allow action to be taken under limiting
conditions or mode change.
Used w hen mode is RCAS.
SHED_OPT 34 None Def ines action to be taken on remote control device timeout.
SP 8 EU of PV_SCALE The target block setpoint value. It is the result of setpoint limiting and setpoint rate of change limiting.
SP_FTIME 69 Seconds The time constant of the first-order SP filter. It is the time required f or a 63 percent change in the IN value.
SP_HI_LIM 21 EU of PV_SCALE The highest SP value allow ed.
SP_LO_LIM 22 EU of PV_SCALE The low est SP value allow ed.
SP_RATE_DN 19 EU of PV_SCALE Ramp rate for dow nw ard SP changes. When the ramp rate is set to zero, the SP is used immediately.
per second
SP-RATE_UP 20 EU of PV_SCALE Ramp rate for upw ard SP changes. When the ramp rate is set to zero, the SP is used immediately.
per second
SP_WORK 68 EU of PV_SCALE The w orking setpoint of the block af ter limiting and filtering is applied.
STATUS_OPTS 14 None Allow s selection of options for status handling and processing. The supported status option for the PID block is
Target to Manual if Bad IN.
STRATEGY 3 None The strategy field can be used to identify grouping of blocks. This data is not checked or processed by the
block.
ST_REV 1 None The revision level of the static data associated w ith the f unction block. The revision value w ill be incremented
each time a static parameter value in the block is changed.
STRUCTURE. CONFIG 75 None Def ines PID equation structure to apply controller action.
TAG_DESC 2 None The user description of the intended application of the block.
TRK_IN_D 38 None Discrete input that initiates external tracking.
TRK_SCALE 37 None The high and low scale values, engineering units code, and number of digits to the right of the decimal point
associated w ith the external tracking value (TRK_VAL).
TRK_VAL 39 EU of The value (af ter scaling from TRK_SCALE to OUT_SCALE) applied to OUT in LO mode.
TRK SCALE
UBETA 72 Percent Used to set disturbance rejection vs. tracking response action f or a 2.0 degree of freedom PID.
UGAMMA 71 Percent Used to set disturbance rejection vs. tracking response action f or a 2.0 degree of freedom PID.
UPDATE_EVT 43 None This alert is generated by any changes to the static data.
8-3
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
FoundationTM Fieldbus 10/2003
8-1 Setpoint Selection And Limiting
FF_GAIN
FF_SCALE
FF_VAL Feedforward
Calculation
BKCAL_IN
MODE
TRK_IN_D BKCAL_OUT
RCAS_OUT
ROUT_OUT
ROUT_IN
RCAS_IN
Setpoint
Limiting
And PID
CAS_IN Filtering Equation Output OUT
Limiting
Operator
Setpoint SP_HI_LIM GAIN
SP_LO_LIM RATE OUT_HI_LIM
SP_RATE_DN RESET OUT_LO_LIM
SP_RATE_UP OUT_SCALE
SP_FTIME Alarm
Detection Operator
Output
Scaling
IN and
Filtering HI_HI_LIM
HI_LIM
DV_HI_LIM
DV_LO_LIM
PV_SCALE
LO_LIM
PV_FTIME
LO_LO_LIM
TRK_VAL Convert
TRK_SCALE
OUT_SCALE
Fig. 8-1
PID Function Block Schematic
8-4
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FoundationTM Fieldbus
8-2 Filtering
Operator
Setpoint
SP_HI_LIM SP_RATE_UP
SP_LO_LIM SP_RATE_DN
Auto Auto
Man Setpoint Rate Man
Limiting Limiting
Cas Cas
Fig. 8-2
PID Function Block Setpoint Selection
8-2 Filtering
The filtering feature changes the response time The filtering feature can be configured with the
of the device to smooth variations in output FILTER_TYPE parameter, and the filter time
readings caused by rapid changes in input. 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.
8-4 Tracking
Output tracking is enabled through the control causes the block’s actual mode to revert to
options. Control options can be set in Manual Local Override.
or Out of Service mode only. The TRK_VAL parameter specifies the value
The Track Enable control option must be set to be converted and tracked into the output
to True for the track function to operate. When when the track function is operating. The
the Track in Manual control option is set to True, TRK_SCALE parameter specifies the range
tracking can be activated and maintained only of TRK_VAL.
when the block is in Manual mode. When When the TRK_IN_D parameter is True and
Track in Manual is False, the operator can the Track Enable control option is True, the
override the tracking function when the block TRK_VAL input is converted to the appropriate
is in Manual mode. Activating the track function value and output in units of OUT_SCALE.
8-5
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
FoundationTM Fieldbus 10/2003
8-5 Output Selection And Limiting
8-6
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FoundationTM Fieldbus
8-8 Reverse and Direct Action
Tab. 8-2
Block Error Conditions
8-7
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
FoundationTM Fieldbus 10/2003
8-11 Modes
8-11 Modes
The PID function block supports the following Local Override (LO)—The track function is
modes: active. OUT is set by TRK_VAL. The
Manual (Man)—The block output (OUT) may BLOCK_ERR parameter shows Local
be set manually. override.
Automatic (Auto)—The SP may be set Initialization Manual (IMan)—The output path
manually and the block algorithm is not complete (for example, the cascade-
calculates OUT. to-slave path might not be open). In IMan
Cascade (Cas)—The SP is calculated in mode, OUT tracks BKCAL_IN.
another block and is provided to the PID Out of Service (O/S)—The block is not
block through the CAS_IN connection. processed. The OUT status is set to Bad:
RemoteCascade (RCas)—The SP is Out of Service. The BLOCK_ERR
provided by a host computer that writes to parameter shows Out of service.
the RCAS_IN parameter. The Man, Auto, Cas, and O/S modes can be
RemoteOutput (Rout)—The OUT is provided configured as permitted modes for operator
by a host computer that writes to the entry.
ROUT_IN parameter
8-8
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FoundationTM Fieldbus
8-13 Status Handling
Tab. 8-3
Alarm Priorities
8-9
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
FoundationTM Fieldbus 10/2003
8-15 Closed Loop Control
Remote Out mode is similar to Manual mode Out of Service mode disables the block for
except that the block output is supplied by maintenance.
an external program rather than by the Abrupt changes in the quality of the input signal
operator. can result in unexpected loop behavior. To
Initialization Manual is a non-target mode prevent the output from changing abruptly and
used with cascade configurations while upsetting the process, select the SP-PV Track
transitioning from manual operation to in Man I/O option. This option automatically
automatic operation. sets the loop to Manual if a Bad input status is
Local Override is a non-target mode that detected. While in manual mode, the operator
instructs the block to revert to Local can manage control manually until a Good input
Override when the tracking or fail-safe status is reestablished.
control options are activated.
8-10
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FoundationTM Fieldbus
8-15 Application Information
TCV TC
101 101
Steam Supply
TT TT
100 101
Steam Heater
Condensate
Fig. 8-2
PID Function Block Steam Heater Control Example
Situation Solution
A PID block is used with an AI block and an AO The PID loop uses TT101 as an input and
block to control the flow steam used to heat a provides a signal to the analog output TCV101.
process fluid in a heat exchanger. The diagram The BKCAL_OUT of the AO block and the
below illustrates the process instrumentation. 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_IN BKCAL_OUT
AI PID CAS_IN AO
Function Function Function
Block Block OUT Block OUT
OUT IN
Fig. 8-3
PID Function Block Diagram for Steam Heater Control Example
8-11
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
FoundationTM Fieldbus 10/2003
8-15 Application Information
TCV FF TC
101 101
Steam Supply
TT TT
100 101
Steam Heater
Condensate
Fig. 8-4
PID Function Block Feedforward Control Example
Outlet
Temperature BKCAL_IN BKCAL_OUT
Input
AI PID CAS_IN AO
OUT IN Function
Function Function
FF_VAL Block OUT
Block Block OUT
AI
Function
Block OUT
Fig. 8-5
PID Function Block Diagram for Feedforward Control Example
8-12
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FoundationTM Fieldbus
8-15 Application Information
FT
101
TCV
101
Steam
Supply
TT TT
100 101
Steam Heater
Condensate
Fig. 8-6
PID Function Block Cascade Control Example
Outlet
Temperature
Input BKCAL_IN BKCAL_OUT
AI PID
Function Function
Block Block
OUT IN OUT
AI PID AO
Function Function Function
Block CAS_IN Block IN Block
OUT
OUT
IN
TCV101
Fig. 8-7
PID Function Block Diagram for Cascade Control Example
8-13
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
FoundationTM Fieldbus 10/2003
8-15 Application Information
BKCAL_IN BKCAL_OUT
Slave Controller
PID
CAS_IN Function OUT
Master Controller Block
IN
TC101 AO
PID OUT
Function Function
Block CAS_IN Block
BCAL_SEL_1
IN_1 PID
Control Function
SEL_1 Selector OUT
Block
Function
SEL_2
Block BCAL_SEL_2
Master Controller
PID AI
Function Function
Block OUT Block
Fig. 8-8
PID Function Block Diagram for Cascade Control with Override
8-14
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FoundationTM Fieldbus
8-16 Troubleshooting
8-16 Troubleshooting
Mode w ill not 1. Target mode not set. 1. Set target mode to something other than OOS.
change to 2. Input 2. IN
AUTO a. The link is not configured (the status w ould 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.
Mode w ill not 1.Target mode not set. 1. Set target mode to something other than OOS.
change to CAS 2. Cascade input 2. CAS_IN
a. The link is not configured (the status w ould 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.
Mode sheds 1. Remote Cascade Value 1. Host system is not w riting RCAS_IN w ith a quality and status of “good cascade” w ithin shed time (see 2 below ).
from RCAS to
AUTO 2. Shed Timer 2. The mode shed timer, SHED_RCAS in the resource block is set too low . Increase the value.
Mode sheds 1. Remote output value 1. Host system is not w riting ROUT_IN w ith a quality and status of “good cascade” w ithin shed time (see 2 below ).
from ROUT to
MAN 2. Shed timer 2. The mode shed timer, SHED_RCAS, in the resource block is set too low . Increase the value.
Process and/or 1. Features 1. FEATURES_SEL does not have Alerts enabled. Enable the Alerts bit.
block alarms 2. Notification 2. LIM_NOTIFY is not high enough. Set equal to MAX_NOTIFY.
w ill not w ork. 3. Status Options 3. STATUS_OPTS has Propagate Fault Forw ard bit set. This should be cleared to cause an alarm to occur.
Tab. 8-4
Troubleshooting for PID
8-15
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
FoundationTM Fieldbus 10/2003
8-16
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
10/2003 FoundationTM Fieldbus
APPENDIX
Operation with EMERSON™ Process Management DeltaV™
The following steps have to be performed to The files probably will be on a floppy disk
install a new device onto a DeltaVTM system: or a CD-ROM that accompanies your
• From the start menu select DeltaV > device. On CD-ROMs delivered together
Engineering > DeltaV Explorer with Emerson Process Management
• Select/Expand „Library“ (right below analyzers the files are located in the
DeltaV_System) directory \Fieldbus. Dependent on the
• Select „Fieldbus Devices“, using right existent system use the files of the
mouse button. Click on „Fieldbus appropriate subdirectory.
Devices“. This will bring up a list of options • After answering „yes“ to the first prompt,
• From the list, select „Add Device Definiti- DeltaV will start the installation.
on...“ This should give you a „Browse for Fig. A-1 shows the „Exploring DeltaV“ screen
folder“ selection box. for reference.
Browse to the directory that contains the 7
files needed to „register“ a new device with
DeltaV. These file will consist of 3 *.dll files,
*.sym, *.ffo, *.fhx and *.reg file.
A-1
FoundationTM Fieldbus Communication Instruction Manual
ETC01184
FoundationTM Fieldbus 10/2003
Fig. A-1
DeltaV Explorer
A-2
Instruction Manual
ETC01184
10/2003 FoundationTM Fieldbus MLT 1-2 & CAT 200
Instruction Manual
TM ETC01184
Foundation Fieldbus MLT 1-2 & CAT 200 10/2003
WORLD HEADQUARTERS
ROSEMOUNT ANALYTICAL EUROPE
Emerson Process Management
GmbH & Co. OHG
Industriestrasse 1
63594 Hasselroth
Germany
T 49 6055 884 0
F 49 6055 884209
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