Model 3201
Hydrostatic Interface Unit
Modbus™ Protocol
Product Manual
Model 3201
Hydrostatic Interface Unit
Modbus
Read this manual before working with the product. For personal and system
safety, and for optimum product performance, make sure you thoroughly
understand the contents before installing, using, or maintaining this product.
Within the United States, Rosemount Inc. has two toll-free assistance numbers.
Customer Central: 1-800-999-9307 (
North American1-800-654-7768 (
Response Center: Equipment service needs.
Forequipment service or support needs outside the United States, contact your
local Rosemount representative.
™
Protocol
NOTICE
7:00 a.m. to 7:00 p.m. CST)
Technical support, quoting, and order-related questions.
The products described in this document are NOT designed for nuclearqualified applications.
Using non-nuclear qualified products in applications that require nuclearqualified hardware or products may cause inaccurate readings.
For information on Rosemount nuclear-qualified products, contact your local
Rosemount Sales Representative.
SNF-0004
Rosemount, the Rosemount logotype, and SMARTFAMILY are registered trademarks of Rosemount Inc.
HART is a registered trademark of the HARTCommunication Foundation.
Modbus is a trademark of Modicon Inc.
Princo is a trademark of Princo Intruments Inc.
Cover Photo:
T
N
I
E
D
R
P
IN
U.
A.
S.
3201-001AB
Fisher-Rosemount satisfies all obligations coming from legislation
to harmonize product requirements in the European Union.
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Table of Contents
SECTION 1
Overview of the
HIU-MODBUS
Implementation
This Protocol Guide explains the operation of the
Rosemount
Protocol per Modicon
B (1985) implemented in the Model 3201
Hydrostatic Interface Unit (HIU). This Protocol
Guide supplements the Model 3201 Hydrostatic
Interface Unit (HIU) Product Manual. For detailed
instructions on operating the HIU, consult the HIU
Product Manual, MAN 4640.
®
implementation of the Modbus™
®
document PI-MBUS-300 Rev
MODBUS IMPLEMENTATION
A Rosemount implementation of the Modbus
protocol provides a standard form of digital
communications for the Hydrostatic Tank Gauging
(HTG) application. An effort has been made to
parallel the PLC implementation to the greatest
extent possible, so that the HIU communicates with
existing Modbus hosts.
Check compatibility carefully to ensure that the
HIU is properly configured for the data format
expected by the Host. Exceptions made because of
the unique requirements of the HTG application
have been noted. However, this is no guarantee that
the interpretation made here will be the same as
that followed by the Modbus host.
A Rosemount implementation of the Modbus
protocol provides for the passing of measured and
calculated variables, configuration information, and
diagnostics in data registers. Data is sent in these
registers as floating-point values, integer values,
numeric codes relating to configuration lists, status
summary words (packed bits), or individual status
flags (single bits).
The Modbus Communication and Power (MCAP)
output from the HIU is transmitted to the Model
3402 Application Interface Module (AIM) where it is
converted to a standard RS-485 or RS-232 Modbus
signal.
Table 1-1 lists the Modbus functions implemented
in the HIU:.
TABLE 1-1. Modbus Functions Implemented in the HIU.
Function
Code
01ReadBitsRead output status (logic coils)
02ReadBitsRead input status (discrete inputs)
03ReadInteger, Code, Status word, Floating PointRead output registers(holding registers)
04ReadInteger, Code, Status word, Floating PointRead input registers
05WriteBitsForce single coil
06WriteInteger, Code, Status word, Floating PointPresetsingle register
08N/ARepeat of “loopback” messageLoopback test
15WriteBitsForce multiple coils
16WriteInteger, Code, Status word, Floating PointPresetmultiple registers
17ReadCodeReturn Slave ID
Exception:
Because the HIU does not distinguish between inputs and outputs, function codes 01 and 02 as they apply to bits, and function codes 03 and 04 as
they applytonumeric values refertothe same data registers.For example, eitherfunctioncode 03 or function code04can be used to readthe integer
form of the true mass variable at data address 0053.
FunctionInformation TypeModbus Nomenclature
1-1
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
1-2
SECTION
2Modbus Functions
and Data Format
INTRODUCTION
The Modbus data in the HIU is arranged in
integer registers, floating-point registers, and status
bits. The assignments for these registers are found
in Sections 5, 6, and 7.
Function codes 03, 04, 06, and 16 are used with
integer registers and floating point registers.
Function codes 01, 02, 05, and 15 are used with
status bits.
Both integer and floating-point registers have
space reserved to reorder the registers for maximum
communication throughput.
A complete description of all the preceding
commands, except floating point, can be found in
“Modicon Modbus Protocol Reference Guide”
(document number PI-MBUS-300 Rev B).
NOTE
When reading or writing data to the HIU and using
commands 03, 04, or 16, the maximum allowable
registers to read and write to with a single command
is 125 (as defined by Gould Modicon).
User-assignable Registers
The data written or returned in the first fifty
integer or twenty five floating-point registers can be
assigned by the user. This provides a means of
arranging non-consecutive register information in a
sequential order so that it can efficiently be accessed
with a multiple-register read or write command.
Registers 0 through 49 in the integer map contain
the assigned data for either integer or floating-point
registers. Integer registers 200 through 249 contain
the register assignments for the integer and
floating-point map. The registers containing data
assignments are codes representing the register
number of the associated data. In addition to the
configuration of the data register assignments via
Modbus, the register assignments may be configured
via a HART-based communicator.
Integer Registers
Modbus Message Glossary
This table defines terminology used in the communication examples.
Address: user-assigned address of the slave device.
Function Code: the function the slave is to perform.
Start Reg.HO: high-orderdata addressbyte ofthe firstregisterto read
or write.
Start Reg. LO:low-orderdata address byteofthe first register to read
or write.
#ofReg.HO:high-order byte of the number of registers to read or
write.
#ofReg.LO:low-order byte of the first register to read or write.
Byte Count: number of data bytes.
Data MSB: data register's most significant byte.
Data LSB: data register's least significant byte.
Status Bit HO: high-order data address byte of the first bit to read or
write.
Status Bit LO: low-order data address byte of the first bit to read or
write.
Error Check: message checksum LRC (Longitudinal Redundancy
Check) in ASCII mode, or CRC (Cyclical Redundancy Check) in RTU
mode.
Integer registers are the most commonly used type
of Modbus data and are supported by most Modbus
hosts. In the HIU Implementation, the Modbus
registers are arranged in one of the following four
formats:
1. Integer Data - a scaled number from 0 to the
maximum Modbus integer
2. Character Data - 2 ASCII characters per 16 bit
register (ex. date, password)
3. Coded Data - Multiple choice configuration
data chosen from a coded list
4. Packed Bits - Register form of 16 pac ked single
bits
The integer, character, and coded data registers
contain all of the information needed to configure
and read process data. Any Integer register may be
read with function code 03 or function code 04. These
same registers may be written one at a time with
function code 06 or multiple registers can be written
with function code 16.
2-1
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
The HIU rejects the entire message if an attempt
is made to write a register with data that is out-ofbounds or not considered to be of legal value. Out-ofbounds data includes coded data values outside of
the values listed in each coded data table, integer
values larger than the maximum Modbus integer
and reserved registers with values other than zero.
This rejection scheme has been chosen to add
security by helping to prevent the accidental writing
of data to incorrect registers.
Integer Data
The integer data is a whole number between 0 and
the maximum Modbus integer (inclusive). The
maximum Modbus integer is a user-configurable
variable that is a whole number between 0 and
65,535 (inclusive). The integer data must also be
scaled for each data type by entering the desired
units, a zero point, and a full scale point. For the
integer value to be correctly interpreted, these
scaling factors must match the format expected by
the host system. Scaling of the integer parameters is
accomplished through floating-point registers or by
using a HART-based interface. Table 2-1 shows an
example of integer data written to the HIU.
The following communication example shows
the request for one register starting at register 56
(0038 Hex).
1 In all communicationexamples, the error checkvalue is dependent on
Function
Code
010300380001XX
Function
0103024124XX
the mode of transmission.
Code
Start
Reg HO
Count
Byte
Start
Reg LO
#ofRegHO#ofRegLOError
Data
MSB
Data
LSB
Check
1
Error
Check
1
If a variable goes out-of-bounds (outside the zero
or full scale points), a value equal to the maximum
Modbus integer +1 is returned. When writing to any
register that contains a variable that is a dynamic
output from the HIU, the value will be written over
on the next system update.
Character Data
Character data, such as dates or passwords, are
returned in registers in ASCII data format. Each
Modbus register represents two ASCII characters.
Table 2-2 shows an example of character data
written to the HIU.
TABLE 2-2. Integer Data.
Maximum Modbus Integer = 65,534
The data returned for data address 56 is 16,676
(4124 Hex). This value must be scaled using the
following formula to give it meaning.
Coded Data represents a table look-up value. Data
written to these registers must be a valid table entry
or the entire message is rejected. Table 2-3 shows an
example coded data at data address 88 (0058 Hex)
representing pressure units. The value 11 (000B
Hex) returned from the HIU corresponds to KPa in
the pressure unit look-up table.
TABLE 2-3. Coded Data.
Host Request
Address
HIU Response
Address
Coded Data
Hexadecimal Representation:000B (decimal 11)
Pressure Units Table Representation:kPA
Function
Code
010300580001XX
Function
Code
010302000BXX
Start
Reg HO
Byte
Count
Start
Reg LO
Data
MSB
#ofRegHO#ofReg
Data
LSB
LO
Error
Check
Error
Check
Packed Bits
Packed bits represent 16 individual status bits
packed into one register. The status bits have been
packed this way for systems that prefer handling
only register information. These bits may also be
read or written individually using a bit command.
The bits within the packed registers are grouped by
data or function type. T able 2-4 shows an example of
packed bits with alarm status information at data
address 76 (004C Hex) returned by the HIU.
TABLE 2-4. Packed Bits.
Host Request
Address
HIU Response
Address
Packed Bit Data
Binary Representation (bits 16-0):0000 0000 0001 0010
Bit #1 is on indicating Lo Alarm
Bit #4 is on indicating an Unathorized Mass Movement
Function
Code
0103004C0001XX
Function
Code
0103020012XX
Start
Reg HO
Byte
Count
Start
Reg LO
Data
MSB
#ofRegHO#ofReg
LO
Data
LSB
Error
Check
Error
Check
FLOATING-POINT REGISTERS
Although not specifically addressed by the Modbus
protocol specification, floating-point numbers have
been implemented per IEEE 754. Floating point
numbers reduce the complexity required in scaling
integer values and provide a means to transmit
numbers used by the HIU that are not easily scaled,
such as the K0 through K4 configuration
parameters.
Floating-point Data
The HIU is capable of a two 16-bit registers
format. An example and description follow.
NOTE
Although this type of data does not require scaling,
it is important that the measurement unit selected
in the HIU be the same as that expected by the host.
In addition, where possible, data is available in both
integer and floating-point formats.
The Two 16-bit Registers Format
Function code 03 or 04 are used to read floatingpoint registers in this format. Function codes 06 or
16 are used to write floating-point registers in this
format. An example of reading a floating-point
register from the HIU is shown in Table 2-5.
TABLE 2-5. Reading a Two 16-bit Floating-point Register.
Floating-point registers that are defined as
reserved have 0 as their only legal value. A write
command to a reserved floating-point register with a
value other than zero will be rejected.
Section 6 lists floating-point register assignments
using the two 16-bit registers format.
#of
#of
Reg
Reg LO
HO
DataDataData
LSB
Error
Check
Error
Check
Status bits that are defined as reserved have 0 as
their only legal value. A write command that
contains a packed bit register with reserved bit of
value 1 will be rejected.
2-3
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
STATUS BITS
In the HIU Implementation, status bits contain
alarms, commands, and status information. The
state of a Modbus status bit is defined as either ON
(true) or OFF (false). The ON state is represented by
a “1.” The status bits may be read with function code
1 or 2. They may be written one at a time with
function code 5 or multiple bits may be written with
function code 15. Status bits that are defined as
reserved have zero as their only legal value. When
writing bits, the entire write message will be
rejected if reserved bits are not written with a value
of zero. This rejection scheme has been chosen to add
security by helping to prevent the accidental writing
of data to incorrect bits. An example of a read
message for bits 2 through 6 as returned by the HIU
is shown in Table 2-6.
TABLE 2-6. Status Bits.
Host Request
Address
HIU Response
Address
Status Bit Data
Binary Representation (bits): 1 0010
Bit #2: HI Alarm OFF
Bit #3: HI Alarm ON
Bit #4: Unauthorized Mass Movement Alarm OFF
Bit #5: Standard Density Alarm OFF
Bit #6: Critical Zone Alarm ON
Function
010200020004XX
Function
01020112XX
Start BitHOStart BitLO#ofBitHO#ofBit
Code
Code
Byte
Count
DataError
Check
LO
Error
Check
DATA OUT OF RANGE
When integer data calculated by the HIU is
outside the zero, and full scale points or is out of
range, the value of the maximum Modbus integer + 1
is returned. The “data out of range” convention does
not apply to the status bits, packed status bits,
character data, and coded data.
LOOPBACK TEST
Per the Modbus specification, function code 8
initiates a loopback test. The purpose of this test is
to check the communication system. It does not
affect the operation of the HIU. The HIU supports
only diagnostic code 00. This is a request to return
query data. Upon receiving a loopback message
containing this code, the HIU will echo the message
sent by the master . The entire message returned will
be identical to the message transmitted by the
master, field-per-field. An example of a loopback
message is shown in Table 2-8.
TABLE 2-8. Loopback Message.
Host Request
Address
Host Response
Address
Function
Code
01080000F326XX
Function
Code
01080000F326XX
CodeHOCode
LO
CodeHOCode
LO
DataData
DataData
Error
Check
Error
Check
EXCEPTION RESPONSES
The exception responses returned by the HIU are
listed in Table 2-7.
TABLE 2-7. Exception Responses.
ExceptionResponseReason
01
02
03
Messages that are received with a parity error,
checksum error or message format error will be
ignored. In addition, the HIU will reject any write
message that is sent containing a data register or bit
defined as reserved if it does not have a value of 0.
An entire block will be rejected if this convention is
not followed for every reserved register or bit within
the block.
2-4
Illegal Function
Illegal Data Address
Illegal Data Value
Message is not allowed
Data address (bit or register)
requested is not defined
Data value being written is
out of range
SECTION
3Modbus
Hardware Implementation
The Model 3201 HIU communicates and is
powered using the same pair of wires. The protocol is
Manchester-encoded Modbus (MCAP), whic h is then
converted to standard RS-485/232 Modbus via the
Model 3402 Application Interface Module (AIM).
The recommended wiring configurations are as
follows:
MCAP Signal Wiring
one twisted shielded pair, 18 AWG. Wiring
distance is approximately 5,000 feet with 14 HIUs
or SAMs in any combination with 2 HART devices
connected to the HIU. For specific details on
grounding and wiring connections, see the product
manual for the Model 3201 HIU, MAN 4640.
Modbus Host Signal Wiring
Modbus RS-485, one or two twisted shielded pair,
18 AWG. Wiring distance is approximately 5,000
feet. Modbus RS-232, standard serial
communication with RJ45 type connector and 25or 9-pin connector. Wiring distance is
approximately 50 feet. For specific details on
grounding and wiring connections, see the product
manual for the Model 3402 AIM, MAN 4641.
3-1
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
3-2
SECTION
4
Modbus Configuration
The Model 3201 HIU needs to be configured to
establish communications. The HART-based
communicator allows the user to set the HIU
Modbus port to match the Modbus host and Model
3402 AIM.
HIUs are addressed to provide a unique identifier
for the host. The HIU address is configurable
through a HART-based communicator. This address
may range from 1 to 247 and must be unique. Each
HIU only responds when a query has been sent to its
unique address by the host device.
In addition to the choice of transmission mode and
associated configuration parameters, the HIU must
be configured for a transmission speed or baud rate.
Allowable MCAP baud rate values for the Model
3201 HIU include: 38400 or 9600. These parameters
can also be configured using the HART-based
Communicator connected directly to the HIU. A
summary of the configuration information required
by the HIU in order to implement Modbus is given in
Table 4-1.
TABLE 4-1. Modbus Configuration Summary.
Configuration ItemValid Entries
Modbus Address1 to 247YesYes
Baud Rate38400, 9600YesYes
Maximum Integer
Size
Integer Scaling
Factors
Unit SelectionCoded ListYesYes
Whole Number
0-65,534
Floating Point #YesYes
Modbus
Configurable
YesYes
HART-based
Communicator
4-1
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Effective Mass00513005240052Integer
True Mass00523005340053Integer
Measured Density00533005440054Integer
Standard Density (variable)00543005540055Integer
Flow Rate00553005640056Integer
Product Level00563005740057Integer
Water Bottom Level(variable)00573005840058Integer
Product Volume00583005940059Integer
Standard Product Volume00593006040060Integer
Water Bottom Volume00603006140061Integer
Ullage Volume00613006240062Integer
Product Temperature (variable)00623006340063Integer
Ambient Temperature00633006440064Integer
T
B
T
M
T
T
VaporMass00673006840068Integer
VaporDensity00683006940069Integer
Roof Mass (variable)00693007040070Integer
P
Product Status Alarm Enables00743007540075Bit
0-Not Enough Ullage for Transfer Alarm
1-Not Enough Product for Transfer Alarm
2-High Flow Rate Alarm
3-Low Flow Rate Alarm
4-Transfer Complete Alarm
5-Transfer Near Completion (Warning) Alarm
6-Tank Fill Directional Alarm
7-Tank Empty Directional Alarm
8-Reserved
9-Reserved
10-Reserved
11-Reserved
12-Reserved
13-Reserved
14-Reserved
15-Reserved
Product Status Alarms00753007640076Bits
0-Not Enough Ullage for Transfer Alarm
1-Not Enough Product for Transfer Alarm
2-High Flow Rate Alarm
3-Low Flow Rate Alarm
4-Transfer Complete Alarm
5-Transfer Near Completion (Warning) Alarm
6-Tank FIll Directional Alarm
7-Tank Empty Directional Alarm
8-Reserved
9-Reserved
10-Reserved
11-Reserved
12-Reserved
13-Reserved
14-Water Bottom Levelin Manual
15-Standard Density in Manual
Alarm Status - Internal State00763007740077Bits
Bit #0 Low Critical Level Alarm
Bit #1 Low Advisory Level Alarm
Bit #2 High Advisory Level Alarm
Bit #3 High Critical Level Alarm
Bit #4 Unauthorized Mass Movement Alarm
Bit #5 Standard Density Alarm
Bit #6 Critical Zone Alarm
Bit #7 Low Temperature Alarm
Bit #8 High Temperature Alarm
Bit #9 Hardware Input 1 Alarm
Bit #10 Reserved
Bit #11 Reserved
Bit #12 Reserved
Bit #13 Low PTAlarm
Bit #14 High PTAlarm
Bit #15 Unauthorized Mass Movement Alarm Enabled
5-3
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Process Variables (Continued)
Data AddressRead OnlyRead/WriteData Type
Alarm Status Enables00773007840078Bits
Bit #0 Low Critical Level Alarm Enabled
Bit #1 Low Advisory Level Alarm Enabled
Bit #2 High Advisory Level Alarm Enabled
Bit #3 High Critical Level Alarm Enabled
Bit #4 Unauthorized Mass Movement Alarm Enabled
Bit #5 Standard Density Alarm Enabled
Bit #6 Critical Zone Alarm Enabled
Bit #7 Low Temperature Alarm Enabled
Bit #8 High Temperature Alarm Enabled
Bit #9 Reserved
Bit #10 Reserved
Bit #11 Reserved
Bit #12 Hardware Input 1 Alarm Enable
Bit #13 Low PTAlarm Enable
Bit #14 High PTAlarm Enable
Bit #15 Reserved
Alarm Output Control/State00783007940079Bits
Bit #0 MCAP Write Protect Switch
Bit #1 HART Write Protect Switch
Bit #2 Alarm Fail Hi/Lo Switch
Bit #3 Switch Input State
Bit #4 Reserved
Bit #5 Reserved
Bit #6 Reserved
Bit #7 Reserved
Bit #8 Reserved
Bit #9 Reserved
Bit #10 Reserved
Bit #11 Reserved
Bit #12 Reserved
Bit #13 Reserved
Bit #14 Reserved
Bit #15 Reserved
System Diagnostics00793008040080Bits
Bit #0 Top Transmitter Failure
Bit #1 Top Transmitter Communication Failure
Bit #2 Middle Transmitter Failure
Bit #3 Middle Transmitter Communication Failure
Bit #4 Bottom Transmitter Failure
Bit #5 Bottom Transmitter Communication Failure
Bit #6 Bad Product Temperature
Bit #7 RTD Out of Range
Bit #8 Water Bottom Device Failure
Bit #9 Water Bottom Device Communication Failure
Bit #10 PB£ P
Bit #11 PB£ P
Bit #12 PM£ P
Bit #13 PB£ P
Bit #14 PM£ P
Bit #15 Reserved
M
T
T
T
T
5-4
Integer Register Assignments
Process Variables (Continued)
Data AddressRead OnlyRead/WriteData Type
HIU Status00803008140081Bits
Bit #0 Reserved
Bit #1 Reserved
Bit #2 Not Calculating Density
Bit #3 Level Out of Strapping PointRange
Bit #4 RTD Not Immersed
Bit #5 Not Calculating
Bit #6 Constant Data Incomplete or Incorrect
Bit #7 Calculation Error (Overflow,divideby0.)
Bit #8 Reserved
Bit #9 Microprocessor Board Failure
Bit #10 Surface Mount Analog Board Failure
Bit #11 Reserved
Bit #12 Reserved
Bit #13 Reserved
Bit #14 Reserved
Bit #15 Reserved
HIU Commands00813008240082Bits
Bit #0 Reserved
Bit #1 Reserved
Bit #2 Reset HIU
Bit #3 Reserved
Bit #4 Tank Inactive
Bit #5 Reserved
Bit #6 Level in Manual
Bit #7 Temperature in Manual
Bit #8 Reserved
Bit #9 Reserved
Bit #10 Reserved
Bit #11 Reserved
Bit #12 Reserved
Bit #13 Reserved
Bit #14 Test HART Carrier
Bit #15 Fixed Current Mode
Process Variable Units
Data AddressRead OnlyRead/WriteData Type
Mass Units00823008340083Code
0metricton
1kg
2lb
3longton
4 short ton
Density Units00833008440084Code
3
0 kg/m
3
1lb/ft
2 lb/gal
3 specific gravity
4 °API
5 °Brix
6 °Baumé heavy
7 °Baumé light
8 °Brix
5-5
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Process Variable Units (Continued)
Data AddressRead OnlyRead/WriteData Type
Standard Density Units00843008540085Code
3
0 kg/m
3
1lb/ft
2 lb/gal
3 specific gravity
4 °API
5 °Brix
6 °Baumé heavy
7 °Baumé light
8 °Brix
1inHgat0°C
2ftH2Oat68°F
3 mmH2Oat68°F
4 mmHg at 0 °C
5 psi
6 bar
7 mbar
2
8g/cm
2
9 kg/cm
10 Pa
11 kPa
12 Torr at 0 °C
13 Atmospheres
Maximum Fill Height00893009040090Integer
Tank Capacity00903009140091Integer
PV Alarm Variables
Data AddressRead OnlyRead/WriteData Type
Mass Setpoint00913009240092Integer
Mass Deviation00923009340093Integer
Mass Deadband00933009440094Integer
Standard Density Setpoint00943009540095Integer
Standard Density Deviation00953009640096Integer
Standard Density Deadband00963009740097Integer
Low Critical Level Alarm Setpoint00973009840098Integer
Low Advisory Level Alarm Setpoint00983009940099Integer
High Advisory Level Alarm Setpoint00993010040100Integer
High Critical Level Alarm Setpoint01003010140101Integer
Low Temperature Alarm Setpoint01013010240102Integer
5-6
Integer Register Assignments
PV Alarm Variables (Continued)
Data AddressRead OnlyRead/WriteData Type
High Temperature Alarm Setpoint01023010340103Integer
Temperature Deadband01033010440104Integer
Solid Temperature Setpoint01043010540105Integer
Low PTSetpoint01053010640106Integer
High PTSetpoint01063010740107Integer
Installation Information
Data AddressRead OnlyRead/WriteData Type
HIU Tag01073010840108Character
HIU Tag01083010940109Character
HIU Tag01093011040110Character
HIU Tag01103011140111Character
HIU Tag01113011240112Character
HIU Tag01123011340113Character
HIU Tag01133011440114Character
HIU Tag01143011540115Character
HIU Serial Number01153011640116Character
HIU Serial Number01163011740117Character
HIU Serial Number01173011840118Character
HIU Serial Number01183011940119Character
HIU Serial Number01193012040120Character
HIU Serial Number01203012140121Character
HIU Serial Number01213012240122Character
HIU Serial Number01223012340123Character
HIU Manufacturing Date01233012440124Character
HIU Manufacturing Date01243012540125Character
HIU Manufacturing Date01253012640126Character
Date01263012740127
Date01273012840128
Date01283012940129
Reserved01293013040130
Reserved01303013140131
Reserved01313013240132
5-7
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Installation Information (Continued)
Data AddressRead OnlyRead/WriteData Type
Reserved01323013340133
Local Display Selection #101333013440134Bits
Bit #0 Level DisplayEnable
Bit #1 True Mass Display Enable
Bit #2 Effective Mass DisplayEnable
Bit #3 Standard VolumeDisplay Enable
Bit #4 Measured Volume DisplayEnable
Bit #5 Standard Density Display Enable
Bit #6 Measured Density Display Enable
Bit #7 Product Temperature Display Enable
Bit #8 Error Display Enable
Bit #9 Test All Display Enable
Bit #10 Test Blank Display Enable
Bit #11 Transfer Time
Bit #12 Flow Rate Display Enable
Bit #13 Standard Temperature Display Enable
Bit #14 PBDisplay Enable
Bit #15 PMDisplay Enable
PTType01343013540135Code
0-None
1-Reserved
2-Smart Standard
3-Smart Monitor
PMType01353013640136Code
0-None
1-Installed
PBType01363013740137Code
Temperature Device Type01373013840138Code
0-None
1-Calculate on Open
2-Calculate on Close
3-Calculate on Both
4-Monitor
H
BS
No. of Strapping Points01913019240192Integer
Software Version01913019240192Character
Software Version01913019240192Character
Software Version01913019240192Character
Software Version01913019240192Character
Local Display Selection #201913019240192Bits
Bit #0 Vapor True Mass Display Enable
Bit #1 Vapor Density DisplayEnable
Bit #2 Amount Transferred Display Enable
Bit #3 Amount Remaining Display Enable
Bit #4 Elapsed Time Display Enable
Bit #5 Reserved
Bit #6 Reserved
Bit #7 Reserved
Bit #8 Reserved
Bit #9 Reserved
Bit #10 Reserved
Bit #11 Reserved
Bit #12 Reserved
Bit #13 Reserved
Bit #14 Reserved
Bit #15 Reserved
VolumeCalculationMethod01983019940199Code
Local Display Selection #301993020040200Bits
Bit #0 PTDisplay Enable
Bit #1 Special 1 Display Enable
Bit #2 Special 2 Display Enable
Bit #3 Special 3 Display Enable
Bit #4 Special 4 Display Enable
Bit #5 Special 5 Display Enable
Bit #6 Roof Mass Display Enable
Bit #7 Tank Capacity Display Enable
Bit #8 Ullage Display Enable
Bit #9 Water Bottom Volume Display Enable
Bit #10 Water Bottom LevelDisplay Enable
Bit #11 AvailableProduct DisplayEnable
Bit #12 Tank Alarm Display Enable
Bit #13 Status Alarm Display Enable
Bit #14 Diagnostic Alarm Display Enable
Bit #15 Liquid True Mass Display Enable
01913019240192Integer
User Assignment For Integer Registers
Data AddressRead OnlyRead/WriteData Type
Assign User Register 002003020140201Integer
Assign User Register 102013020240202Integer
Assign User Register 202023020340203Integer
Assign User Register 302033020440204Integer
Assign User Register 402043020540205Integer
Assign User Register 502053020640206Integer
5-10
Integer Register Assignments
User Assignment For Integer Registers (Continued)
Data AddressRead OnlyRead/WriteData Type
Assign User Register 602063020740207Integer
Assign User Register 702073020840208Integer
Assign User Register 802083020940209Integer
Assign User Register 902093021040210Integer
Assign User Register 1002103021140211Integer
Assign User Register 1102113021240212Integer
Assign User Register 1202123021340213Integer
Assign User Register 1302133021440214Integer
Assign User Register 1402143021540215Integer
Assign User Register 1502153021640216Integer
Assign User Register 1602163021740217Integer
Assign User Register 1702173021840218Integer
Assign User Register 1802183021940219Integer
Assign User Register 1902193022040220Integer
Assign User Register 2002203022140221Integer
Assign User Register 2102213022240222Integer
Assign User Register 2202223022340223Integer
Assign User Register 2302233022440224Integer
Assign User Register 2402243022540225Integer
Assign User Register 2502253022640226Integer
Assign User Register 2602263022740227Integer
Assign User Register 2702273022840228Integer
Assign User Register 2802283022940229Integer
Assign User Register 2902293023040230Integer
Assign User Register 3002303023140231Integer
Assign User Register 3102313023240232Integer
Assign User Register 3202323023340233Integer
Assign User Register 3302333023440234Integer
Assign User Register 3402343023540235Integer
Assign User Register 3502353023640236Integer
Assign User Register 3602363023740237Integer
Assign User Register 3702373023840238Integer
Assign User Register 3802383023940239Integer
Assign User Register 3902393024040240Integer
Assign User Register 4002403024140241Integer
Assign User Register 4102413024240242Integer
Assign User Register 4202423024340243Integer
Assign User Register 4302433024440244Integer
Assign User Register 4402443024540245Integer
Assign User Register 4502453024640246Integer
Assign User Register 4602463024740247Integer
Assign User Register 4702473024840248Integer
Assign User Register 4802483024940249Integer
Assign User Register 4902493025040250Integer
5-11
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Installation Information (Continued)
Data AddressRead OnlyRead/WriteData Type
Tank Material02503025140251Code
0-Carbon Steel (.0000117)
1-Write Protect K Constants and Density Method
2-Write Protect Product Temperature
3-Write Protect Standard Density
4-Write Protect Standard Reference Temperature
5-Write Protect Water Bottom Level
6-Write Protect Level Alarms
7-Write Protect Density Alarms
8-Write Protect Mass Alarms
9-Write Protect PTAlarms
10-Write Protect Display Selects
11-Reserved
12-Reserved
13-Reserved
14-Reserved
15-Reserved
T
02543025540255Integer
5-12
Integer Register Assignments
Installation Information (Continued)
Data AddressRead OnlyRead/WriteData Type
MCAP Write Protection02613026240262
0-Write Protect V Constants
1-Write Protect K Constants and Density Method
2-Write Protect Product Temperature
3-Write Protect Standard Density
4-Write Protect Standard Reference Temperature
5-Write Protect Water Bottom Level
6-Write Protect Level Alarms
7-Write Protect Density Alarms
8-Write Protect Mass Alarms
9-Write Protect PTAlarms
10-Write Protect Display Selects
11-Reserved
12-Reserved
13-Reserved
14-Reserved
15-Reserved
Reserved02623026340263
Reserved02633026440264
Reserved02643026540265
Reserved02653026640266
Reserved02663026740267
Reserved02673026840268
Reserved02683026940269
Transfer Method02693027040270
0-Mass
1-Gross Volume
2-Standard Volume
3-Level
5-13
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Effective Mass03503035140351Float
True Mass03523035340353Float
Measured Density03543035540355Float
Standard Density (variable)03563035740357Float
Reserved03583035940359
Product Level03603036140361Float
Water Bottom Level(variable)03623036340363Float
Product Volume03643036540365Float
Standard Product Volume03663036740367Float
6-1
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Process Variables (Continued)
Data AddressRead OnlyRead/WriteData Type
Water Bottom Volume03683036940369Float
Ullage Volume03703037140371Float
Product Temperature (variable)03723037340373Float
Ambient Temperature03743037540375Float
T
B
T
M
T
T
Time to Complete03823038340383Float
Flow Rate03843038540385Float
Roof Mass (variable)03863038740387Float
P
Mass Setpoint04043040540405Float
Mass Deviation04063040740407Float
Mass Deadband04083040940409Float
Standard Density Setpoint04103041140411Float
Standard Density Deviation04123041340413Float
Standard Density Deadband04143041540415Float
Low Critical Level Alarm Setpoint04163041740417Float
Low Advisory Level Alarm Setpoint04183041940419Float
High Advisory Level Alarm Setpoint04203042140421Float
High Critical Level Alarm Setpoint04223042340423Float
Level Deadband04243042540425Float
Low Temperature Alarm Setpoint04263042740427Float
High Temperature Alarm Setpoint04283042940429Float
Temperature Deadband04303043140431Float
Solid Temperature Setpoint04323043340433Float
Transfer Setpoint04343043540435Float
Zero and Full Scale Variables for Integer Modbus
Data AddressRead OnlyRead/WriteData Type
Mass Zero Scaling04363043740437Float
Mass Full Scale Scaling04383043940439Float
Density Zero Scaling04403044140441Float
Density Full Scale Scaling04423044340443Float
Standard Density Zero Scaling04443044540445Float
Standard Density Full Scale Scaling04463044740447Float
6-2
Floating-point Register Assignments
Zero and Full Scale Variables for Integer Modbus (Continued)
Data AddressRead OnlyRead/WriteData Type
VolumeZeroScaling04483044940449Float
VolumeFullScaleScaling04503045140451Float
Temperature Zero Scaling04523045340453Float
Temperature Full Scale Scaling04543045540455Float
Level Zero Scaling04563045740457Float
Level Full Scale Scaling04583045940459Float
Pressure Zero Scaling04603046140461Float
Pressure Full Scale Scaling04623046340463Float
Flow Zero Scaling04643046540465Float
Flow Full Scale Scaling04663046740467Float
Transfer Setpoint Zero Scaling04683046940469Float
Transfer Setpoint Full Scale Scaling04703047140471Float
Correction Information
Data AddressRead OnlyRead/WriteData Type
K00 Density Correction Coefficient04723047340473Float
K01 Density Correction Coefficient04743047540475Float
K02 Density Correction Coefficient04763047740477Float
K03 Density Correction Coefficient04783047940479Float
K04 Density Correction Coefficient04803048140481Float
V00 Density Correction Coefficient04823048340483Float
V01 Density Correction Coefficient04843048540485Float
V02 Density Correction Coefficient04863048740487Float
V03 Density Correction Coefficient04883048940489Float
V04 Density Correction Coefficient04903049140491Float
Reserved04923049340493
Reserved04943049540495
Pressure Threshold04963049740497Float
Capacity04983049940499Float
Local Elevation05003050140501Float
Standard Density (constant)05023050340503Float
Standard Density Reference Temperature05043050540505Float
Water Bottom Level(constant)05063050740507Float
Roof Mass (constant)05083050940509Float
PT(constant)05103051140511Float
Product Temperature (constant)05123051340513Float
Installation Temperature05143051540515Float
Strapping Temperature05163051740517Float
Strapping Density05183051940519Float
H
B
H
BM
Height of RTD05243052540525Float
Height of Outlet05263052740527Float
H
BT
Pin Height05303053140531Float
Critical Zone Above Pin05323053340533Float
Thermal Expansion Coefficient05343053540535Float
05203052140521Float
05223052340523Float
05283052940529Float
6-3
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Reserved09383093940939
Reserved09403094140941
Tank Diameter09423094340943Float
Tank Height09443094540945Float
Lower Range V alue09463094740947Float
Upper Range Value09483094940949Float
Low PTSetpoint09503095140951Float
High PTSetpoint09523095340953Float
Pressure Deadband09543095540955Float
Maximum Fill Height09563095740957Float
Pressure Hysteresis09583095940959Float
Time Zero09603096140961Float
Time Full Scale09623096340963Float
Flow Calculation Period09643096540965Float
Transfer Warning Time09663096740967Float
Elapsed Time09683096940969Float
Amount Remaining09703097140971Float
Amount Transferred09723097340973Float
Transfer Setpoint Delta09743097540975Float
Low Flow Setpoint09763097740977Float
High Flow Setpoint09783097940979Float
Flow Deadband09803098140981Float
Special 109823098340983Float
Special 209843098540985Float
Special 309863098740987Float
Special 409883098940989Float
Special 509903099140991Float
HWB09923099340993Float
Mass Capacity09943099540995Float
Reserved09963099740997
Reserved09983099940999
09363093740937Float
6-8
SECTION
7Status Bit Assignments
Alarms Status - Internal State
Data AddressRead OnlyRead/WriteData Type
Low Critical Level Alarm00001000100001Bit
Low Advisory Level Alarm00011000200002Bit
High Advisory Level Alarm00021000300003Bit
High Critical Level Alarm00031000400004Bit
Unauthorized Mass Movement Alarm00041000500005Bit
Standard Density Alarm00051000600006Bit
Critical Zone Alarm00061000700007Bit
Low Temperature Alarm00071000800008Bit
High Temperature Alarm00081000900009Bit
Hardware Input 1 Alarm00091001000010Bit
Reserved00101001100011
Reserved00111001200012
Reserved00121001300013
Low PTAlarm00131001400014Bit
High PTAlarm00141001500015Bit
Mass Alarm Enable00151001600016Bit
Alarm Status Enables
Data AddressRead OnlyRead/WriteData Type
Low Critical Level Alarm Enabled00161001700017Bit
Low Advisory Level Alarm Enabled00171001800018Bit
High Advisory Level Alarm Enabled00181001900019Bit
High Critical Level Alarm Enabled00191002000020Bit
Unauthorized Mass Movement Alarm Enabled00201002100021Bit
Standard Density Alarm Enabled00211002200022Bit
Critical Zone Alarm Enabled00221002300023Bit
Low Temperature Alarm Enabled00231002400024Bit
High Temperature Alarm Enabled00241002500025Bit
Reserved00251002600026
Reserved00261002700027
Reserved00271002800028
Hardware Input 1 Alarm Enabled00281002900029Bit
Low PTAlarm Enable00291003000030Bit
High PTAlarm Enable00301003100031Bit
Reserved00311003200032
7-1
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Top Transmitter Failure00481004900049Bit
Top Transmitter Communication Failure00491005000050Bit
Middle Transmitter Failure00501005100051Bit
Middle Transmitter Communication Failure00511005200052Bit
Bottom Transmitter Failure00521005300053Bit
Bottom Transmitter Communication Failure00531005400054Bit
Bad Product Temperature00541005500055Bit
RTD Out of Range00551005600056Bit
Water Bottom Device Failure00561005700057Bit
Water Bottom Device CommunicationFailure00571005800058Bit
Reserved00641006500065
Reserved00651006600066
Not Calculating Density00661006700067Bit
Level Out of Strapping Point Range00671006800068Bit
RTD Not Immersed00681006900069Bit
Not Calculating00691007000070Bit
Constant Data Incomplete / Incorrect00701007100071Bit
Calculation Error (Overflow,divide by 0.)00711007200072Bit
Reserved00721007300073
7-2
Status Bit Assignments
HIU Status (Continued)
Data AddressRead OnlyRead/WriteData Type
Microprocessor Board Failure00731007400074Bit
Surface Mount Analog Board Failure00741007500075Bit
Reserved00751007600076
Reserved00761007700077
Reserved00771007800078
Reserved00781007900079
Reserved00791008000080
HIU Commands
Data AddressRead OnlyRead/WriteData Type
Reserved00801008100081
Reserved00811008200082
Reset HIU00821008300083Bit
Reserved00831008400084
Tank Inactive00841008500085Bit
Reserved00851008600086
Level in Manual00861008700087Bit
Temperature in Manual00871008800088Bit
Reserved00881008900089
Reserved00891009000090
Reserved00901009100091
Reserved00911009200092
Reserved00921009300093
Reserved00931009400094
Test HART Carrier00941009500095Bit
Fixed Current Mode00951009600096Bit
Local Display Selection
Data AddressRead OnlyRead/WriteData Type
Display Level00961009700097Bit
Display True Mass00971009800098Bit
Display EffectiveMass00981009900099Bit
Display Standard Volume00991010000100Bit
Display Measured Volume01001010100101Bit
Display Standard Density01011010200102Bit
Display Measured Density01021010300103Bit
Display Product Temperature01031010400104Bit
Reserved01041010500105
Display Test All01051010600106Bit
Display Test Blank01061010700107Bit
Display Transfer Time01071010800108Bit
Display Flow Rate01081010900109Bit
Display Standard Reference Temperature01091011000110Bit
Display P
Display P
Display P
Display Special 101131011400114Bit
V Constants01761017600177Bit
K Constants01771017800178Bit
Product Temperature01781017900179Bit
Standard Density01791018000180Bit
Standard Temperature01801018100181Bit
Water Bottom Level01811018200182Bit
Level Alarms01821018300183Bit
Density Alarms01831018400184Bit
Mass Alarms01841018500185Bit
PT(Ullage Pressure) Alarms01851018600186Bit
Display Select01861018700187Bit
Reserved01871018800188
Reserved01881018900189
Reserved01891019000190
Reserved01901019100191
Reserved01911019200192
Modbus Write Protect Selections
Data AddressRead OnlyRead/WriteData Type
V Constants01921019300193Bit
K Constants01931019400194Bit
Product Temperature01941019500195Bit
Standard Density01951019600196Bit
Standard Temperature01961019700197Bit
Water Bottom Level01971019800198Bit
Level Alarms01981019900199Bit
Density Alarms01991020000200Bit
Mass Alarms02001020100201Bit
PT(Ullage Pressure) Alarms02011020200202Bit
Display Select02021020300203Bit
7-5
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol
Not Enough Ullage for Transfer Alarm02081020900209Bit
Not Enough Product in Transfer Alarm02091021000210Bit
High Flow Rate Alarm02101021100211Bit
Low Flow Rate Alarm02111021200212Bit
Transfer Complete Alarm02121021300213Bit
Transfer Near Completion (Warning) Alarm02131021400214Bit
Tank Fill Directional Alarm02141021500215Bit
Tank Empty Directional Alarm02151021600216Bit
Reserved02161021700217
Reserved02171021800218
Reserved02181021900219
Reserved02191022000220
Reserved02201022100221
Reserved02211022200222
Water Bottom LevelinManual02221022300223Bit
Standard Density in Manual02231022400224Bit
Product Transfer Status Alarm Enables
Data AddressRead OnlyRead/WriteData Type
Not Enough Ullage for Transfer Alarm Enables02241022500225Bit
Not Enough Product in Transfer Alarm Enables02251022600226Bit
High Flow Rate Alarm Enables02261022700227Bit
Low Flow Rate Alarm Enables02271022800228Bit
Transfer Complete Alarm Enables02281022900229Bit
Transfer Near Completion (Warning) Alarm Enables02291023000230Bit
Tank Fill Directional Alarm Enables02301023100231Bit
Tank Empty Directional Alarm Enables02311023200232Bit
Reserved02321023300233
Reserved02331023400234
Reserved02341023500235
Reserved02351023600236
Reserved02361023700237
Reserved02371023800238
Reserved02381023900239
Reserved02391024000240
Character Data 2-2
Coded Data 2-3
Data Out of Range 2-4
Exception Responses 2-4
Floating-point Data 2-3
Floating-point Registers 2-3
Integer Data 2-2
Integer Registers 2-1
Loopback Test 2-4
Packed Bits 2-3
Status Bits 2-4
Two 16-bit Registers Format 2-3
N
NMI Appproved Display 7-7
P
Packed Bits 2-3
Process Variable Units 5-5
Process Variables 5-2, 6-1
Product Transfer Status Alarm
Enables 7-6
Product Transfer Status Alarms 7-6
PV Alarm Variables 5-6, 6-2
S
Status Bit Assignments
Alarm Output Control/State 7-2
Alarm Status Enables 7-1
Alarms Status - Internal
State 7-1
HART Write Protect
Selections 7-5
HIU Commands 7-3
HIU Status 7-2
Local Display Selection 7-3
Modbus Write Protect
Selections 7-5
NMI Approved Display
Enables 7-7
Product Transfer Status Alarm
Enables 7-6
Product Transfer Status
Alarms 7-6
System Diagnostics 7-2
Status Bits 2-4
Strapping Table Values 6-4
System Resolution 5-2
T
Two 16-bit Registers Format 2-3
U
User Assignment for Floating-point
Registers 5-10
User-assignable Registers 2-1, 5-1
W
Write Protect Selections 5-12, 5-13,
7-5
Z
Zero and Full Scale Variables for
Integer Modbus 6-2
I-1
Rosemount Model 3201 Hydrostatic Interface Unit Modbus Protocol