0% found this document useful (0 votes)
10K views52 pages

HART Communication Protocol: One. Overview

The HART communication protocol uses FSK modulation to superimpose digital signals on 4-20mA analog loops. It defines a series of commands to enable two-way communication between HART masters and slaves. Communication uses either short 1-byte addresses or long 5-byte addresses. The protocol specifies frame formats, baud rates, data formats and response codes to enable reliable digital communication while maintaining analog signal integrity.

Uploaded by

Scada Automation
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10K views52 pages

HART Communication Protocol: One. Overview

The HART communication protocol uses FSK modulation to superimpose digital signals on 4-20mA analog loops. It defines a series of commands to enable two-way communication between HART masters and slaves. Communication uses either short 1-byte addresses or long 5-byte addresses. The protocol specifies frame formats, baud rates, data formats and response codes to enable reliable digital communication while maintaining analog signal integrity.

Uploaded by

Scada Automation
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 52

HART communication protocol

One. Overview

HART(Highway Addressable Remote Transducer) protocol adopts FSK frequency shift

keying signal based on Bell202 standard, superimposes audio digital signal with amplitude of

0.5mA on low frequency 4-20mA analog signal for two-way digital communication, data

transmission rate is 1200bps. Since the average value of the FSK signal is 0, it does not affect the

size of the analog signal transmitted to the control system, ensuring compatibility with the existing

analog system. In the HART protocol communication, the main variables and control information

are transmitted by 4-20mA. If necessary, other measurement, process parameters, device

configuration, calibration, and diagnostic information are accessed through the HART protocol.

At the application layer, HART defines a series of commands, which work in command

mode. It has three types of commands. The first is called general commands, which are understood

and executed by all devices; the second is called general application commands, and the functions

provided can be implemented in many field devices (though not all); The third type is called

device-specific commands to facilitate the work to achieve special functions in certain devices.

This type of command can be used in the foundation and can be unique to the company that

develops this command.

two. meaning

1、 Master:Divided into the first host and the second host, it can be connected to the HART

network and send commands to communicate with the slave;

2、 Slave (Field Device): It is connected to the process control site, has the function of

measuring and calculating multiple variables, and can carry out HART communication with

the host;

1
3、 Long Frame: Address is a HART data frame composed of 5 bytes. All HART

commands support long frame data frames. The meaning of each byte of the long frame

address is shown in the figure below:

Manufacturer ID (Manufacturer ID) is assigned by the HART Foundation;

In production, the serial number of the same type of equipment is unique and never repeated. The
broadcast address uses a long frame structure, and the lower 38 BITs are all 0.
The device type (Decive Type) specified by the manufacturer and the manufacturer ID meet the

requirements of the following table;

设 备 类 型 代 码 指 定 原 则

4、 Short Frame: Address Address is a HART data frame composed of 1 byte,Only

common commands for short framesCommand 0 can be used, and the meaning of the short

frame byte is as follows: All HART slaves support long and short frames.

2
低 6位 短 帧 地 址 : 轮 询 从 机 地 址
1: 从 机 在 突 发 模 式
0: 正 常 模 式
主 机 地 址
0: 第 二 主 机
1: 第 一 主 机
短 帧 Address字 节 含 义

5、 Request frame (STX):The host (such as the hand-copy device) sends a request data

command to the slave (field device);

6、 Acknowledgement frame (ACK): The data returned from the slave to the master;

7、 Preamble: The 0xFF character sent by the device that initiates the command (data)

transmission before the data frame is transmitted. The number of characters sent is generally

5-20, and the number can be changed by commands; the preamble is used to make the data

receiving end in The CD carrier detection signal is generated on the hardware circuit to realize

the synchronization of data communication.

8、 Delimiter: Indicates the beginning of the data frame transmission, indicating the data

transmission direction and physical layer type. At the same time, it also specifies the frame

type (long and short frames) of the data frame. Its meaning is as follows:

帧 类 型 ( 传 输 方 向 )
001: 突 发 模 式
010: 主 机 向 从 机 请 求 数 据 ( STX)
110: 从 机 向 主 机 回 复 数 据 ( ACK)
物 理 层 类 型
00: 异 步 ( FSK)
01: 同 步 ( ACK)
扩 展 字 节 数
为 00
地 址 类 型
0: 短 帧 1字 节 ( 轮 询 )
1: 长 帧 5字 节 ( 唯 一 地 址 )

Delimiter byte meaning

9、 Address: Two types of short frame (1 byte) or long frame (5 bytes) are designated by

the delimiter Delimiter. The definitions of long and short frames are as above;

10、 Expansion Bytes: The company's current HART protocol version is reserved, which is

0;

3
11、 Command: Function code, indicating the specific realization function of a data frame,

the commands areGeneral commands, general application commands, device-specific

commandsThree major categories;

12、 Bytes Count: Refers to the actual amount of data;

13、 Data: Set or read the parameter data of the specified slave (the final result of

communication);

14、 Check Byte:Exclusive OR value of all bytes from Delimiter to Data, that is, vertical

check.

three. HART communication specification

1、 Communication frame format:It is composed of preamble and data frame, and the definition

of each data field is as above

前 导 符 数 据 帧
Expansion Command Bytes Check
Preamble Delimiter Address Count Data Byte
bytes
5-20字 节
固 定 为
+ 定 界 符
地 址
短 帧 1字 节 扩 展 字 节 命 令 数 据 个 数 数 据 校 验 字 节
1字 节 长 帧 5字 节 0— 3字 节 1字 节 1字 节 n字 节 1字 节
( 0xFF)

Communication frame format

2、 Communication rate:1200Bps;

3、 Communication signal: Bell202 standard FSK frequency shift keying signal, '1200Hz'

represents the number 1, and '2200Hz' represents the number 0;

4、 Data format (11 bits): 1 start bit, 8 data bits, 1 stop bit, 1 check bit, byte odd (Odd) check;

5、 Number of data in response data frame(Bytes Count) is at least 2 bytes, these two bytes are

Response Code and Field Device Status respectively;

6、 Response code format: The command execution status code returned by the slave to the host.

When a communication error occurs, the highest bit of the response is bit7=1, then the device

status code has no practical meaning; when bit7=0, the communication is normal, and the

remaining 6 bits indicate the command execution The response of the situation.

7、 Response code when communication is normal(Bit7=0, lower 6 bits):

* The specific meaning depends on different commands, you can check the related HART

4
command data.

Response Response code meaning Response Response code meaning


code code
0x00 execution succeed 0x02 Wrong command
0x03 The setting parameter is too large 0x04 Too few parameters
0x05 Too little data received 0x06 Dedicated command error
0x07 In write-protected mode 0x08 1. Update failed 2. Set to close value 3. Delayed
response
0x09 1. The low limit range value is too large 2. 0x0a 1. The lower limit value is too small 2. Invalid
Incorrect current mode local lock
0x0b 1. The upper limit value is too large. 2. Multi- 0x0c 1. The upper limit value is too small 2. Invalid
slave mode. 3. Invalid device variable code. 4. unit code 3. Invalid mode selection 4. Invalid slot
The adjustment is out of range. 5. It cannot be number
locked in place.
0x0d 1. The upper and lower limit range values exceed 0x0e 1. The range is too small 2. The set lower limit
the standard 2. Calculation error 3. Invalid causes the upper limit to change and exceed the
command number sensor limit
0x0f Invalid analog channel number 0x10 Restricted access
0x11 Invalid device variable index 0x12 Invalid unit code
0x13 Unreasonable application of device variables 0x14 Invalid extended command number
0x1c Unsupported unit code 0x20 busy
0x21 Delayed response start 0x22 Delayed response in progress
0x40 Command cannot be executed
8、 Response code when communication error occurs(Bit7=1) The meaning is as follows:

Response Meaning of communication error


code
0xc0 Receive byte byte odd parity error
0xa0 Receive buffer data overwrite error
0x90 Stop bit error not received
0x88 Check byte error
0x82 Receive buffer overflow
9、 Device status code: The meaning is as follows

Response Meaning of device status


code
0x80 Equipment failure
0x40 Configuration parameter changes
0x20 Cold start of equipment
0x08 Loop current fixed mode
0x04 Loop current saturation
0x02 The device variable (not mapped to the main
variable) exceeds the limit

5
0x01 The main variable exceeds the limit
10、 type of data: HART communication protocol supports the following types of data:

string Str, date, single or double-precision floating-point number Float, unsigned integer

number Unsigned, signed integer number Signed, union Enum or bit Bit. Data transmission

sequence: MSB to LSB.

1) String: The string supports standard Latin letters Latin and the ASCII code of the packaging

format Packed. Each Latin character occupies 1 byte; the ASCII code of the packaging format

occupies 6 digits of 1 byte per letter. Therefore, Every 4 letters are encapsulated in 3 bytes, and

packing and unpacking operations are required during use.

2) Floating point number: Meet the requirements of IEEE754 standard, single-precision floating-
point number is represented by 4 bytes, and double-precision floating-point number is represented
by 8 bytes.
1— bit 8— bit 23— bit
符 号 位 指 数 小 数

单 精 度 浮 点 数 格 式

Unrecognizable floating-point numbers are represented by 0x7f, 0xa0, 0x00, and 0x00.

11、Device Variable Status: All data that needs to be processed periodically (such as device

variables and dynamic variables) include a device variable status byte, the content of which is

defined as follows: default 0xc0

Meaning of device variable status byte

6
four. HART application commands

There are three types of commands: general commands, general application commands, and

device-specific commands. General commands are commands that all HART field devices must

respond to; general application commands are only partially used by the device; device-specific

commands are commands formulated by manufacturers according to their needs. .

(1) General commands

1. Command 0:Read unique identifier


1) Short frame

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x02 0x00|00xxxxxx NULL 0 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x06 0x00|00xxxxxx NULL 0 19 Status + XOR
response data
Abnormal 0x06 0x00|00xxxxxx NULL 0 2 status XOR
response
Note: Status=communication status+device status, its meaning is as mentioned

above, so I won’t repeat it below.


2) Long frame

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 0 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 0 twent Status + XOR
response y one data

7
Abnormal 0x86 0x00|38 bits ID NULL 0 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0 Unsigned—8 254 Uniform fixed value N
1-2 Enum Undecided Product equipment type ID, defined by the N
manufacturer, HCF registered
3 Unsigned—8 >5 Minimum number of synchronization preambles from N
master to slave
4 Unsigned—8 0x07 Common command version number, version 7 N
5 Unsigned—8 0x01 Device version level N
6 Unsigned—8 0x01 Device software version (254 and 255 reserved) N
7 Unsigned—5 0x01 The upper 5 bits represent the hardware version N
Enum number (31 reserved)
The lower 3 bits indicate that the physical signal is
Bell202 current signal
8 Bits 0x08 Keep N
9-11 Unsigned—24 Device ID, the serial number of the same type of N
device
12 Unsigned—8 >5 The minimum number of synchronization N
preambles from the device to the master device
13 Unsigned—8 0x01 Maximum number of device variables, the number of N
device variables that the master device hopes to be able
to read.
14-15 Unsigned—16 Configuration change counter N
16 Bits Expand the device status. N
0 0 equipment is normal
0x01 0x01 The device is not faulty but needs maintenance
0x02 0x02 Device variable alarm status
17-18 Enum Undecided Manufacturer ID, assigned by HCF N

2. Command 1: Read the main variable


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 1 0x00 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte

8
Normal 0x86 0x00|38 bits ID NULL 1 7 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 1 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0 Enum Corresponding variable unit, see Appendix 1 "Unit N
Code"
1-4 Float Single-precision floating-point number represents N
the value of the host variable

3. Command 2: Read loop current and range percentage


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 2 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 2 10 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 2 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0-3 Float Single-precision floating-point number represents N
the loop current value mA
4-7 Float Single-precision floating-point number represents N
the percentage of the main variable to the range

4. Command 3: Read dynamic variables and loop current


Note: The pressure transmitter of our company has only one dynamic variable,

namely the main variable


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte

9
0x82 0x00|38 bits ID NULL 3 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 3 11 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 3 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0-3 Float Single-precision floating-point number represents N
the loop current value mA corresponding to the
main variable
4 Enum Dynamic variable unit N
5-8 Float Single-precision floating-point number represents N
the value of a dynamic variable

5. Command 6: Set the polling address


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 6 2 data XOR
Request frame data content

byte type of data value Description Can be


changed
0 Unsigned—8 Polling Addr Set polling address (0~15) Y
1 Enum 0, 1 0=Loop current is prohibited; 1=Loop current is Y
allowed
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 6 4 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 6 2 status XOR
response
The data content of the normal response frame is the same as the request frame

Note: When the field device is manufactured, the polling address is set to 0, and the loop current is

allowed. This is to ensure that the HART field device can receive a field device with only

1
analog signals. When the polling address is set to 0, the slave device must work in the loop

current mode (one-to-one) at the same time, and the current is associated with the basic

variable value; when the polling address is set to other values, the slave device must work in

the non-loop at the same time In current mode (one-to-many), the current is set to the

minimum value that can maintain the operation.

6. Command 7: Read loop configuration


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 7 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 7 4 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 7 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0 Unsigned—8 Polling Addr Set polling address N
1 Enum 0, 1 0=Loop current is prohibited; 1=Loop current is N
allowed

7. Command 8: Read dynamic variable classification


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 8 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 8 3 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 8 2 status XOR
response
Normal response frame data content

11
byte type of data value Description Can be
changed
0 Enum 65 (0x41) Dynamic variable classification (pressure type) N

8. Command 9: Read device variables and status


With Command 9, up to 4 device variables can be read. They are:

The first variable: pressure value (primary variable)

The second variable: current value

The third variable: percentage value

The fourth variable: temperature value

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 9 1~4 0~3 XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 9 9-33 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 9 2 status XOR
response

Normal response frame data content

byte type of data value Description Can be


changed
0 Bits 0x00 Extended device status N
1 Unsigned-8 0x00 Device variable code N
2 Enum 0x41 Dynamic variable classification N
3 Enum Unit, see Appendix 1 "Unit Code" N
4-7 Float Single-precision floating-point number represents N
the value of the host variable
8 Enum 0xc0 Device variable status (variables are normal, no N
restrictions)

9 Unsigned-8 0x00 Device variable code N


10 Enum 0x41 Dynamic variable classification N
11 Enum Unit, see Appendix 1 "Unit Code" N

1
12-15 Float Single-precision floating-point number represents N
the value of the host variable
16 Enum 0xc0 Device variable status (variables are normal, no N
restrictions)

17 Unsigned-8 0x00 Device variable code N


18 Enum 0x41 Dynamic variable classification N
19 Enum Unit, see Appendix 1 "Unit Code" N
20-23 Float Single-precision floating-point number represents N
the value of the host variable
twenty Enum 0xc0 Device variable status (variables are normal, no N
four restrictions)

25 Unsigned-8 0x00 Device variable code N


26 Enum 0x41 Dynamic variable classification N
27 Enum Unit, see Appendix 1 "Unit Code" N
28-31 Float Single-precision floating-point number represents N
the value of the host variable
32 Enum 0xc0 Device variable status (variables are normal, no N
restrictions)

Note: When trying to read the device variables (up to 4 variables, the number of

variables can be read arbitrarily, the first (main) variable must be read when

reading the second variable, and the first and second variables must be read

when reading the third variable. )

9. Command 11: Read the unique ID in the form of a short label


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 11 6 Tag XOR
Response frame data content is the same as Command 0

10. Command 12: Read information


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte

1
0x82 0x00|38 bits ID NULL 12 0 NULL XOR

Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 12 26 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 12 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0-23 Packed Message Information contained in the device (Packed N
format)

11. Command 13: read short label, device descriptor and date
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 13 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 13 twent Status + XOR
response y three data
Abnormal 0x86 0x00|38 bits ID NULL 13 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0-5 Packed Tag Short label N
6-17 Packed Descriptor Device Description N
18-20 Date Date Code date N

12. Command 14: Read the main variable sensor information


Sensor serial number, limit/minimum range unit code, sensor upper limit, sensor

lower limit, minimum range of main variable


Request frame STX:

1
Delimiter Address Expansion Command Bytes Data Check
Bytes Count Byte
0x82 0x00|38 bits ID NULL 14 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 14 18 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 14 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0-2 Unsigned—24 Sensor serial number N
3 Enum Main variable unit, see Appendix 1 "Unit Code" N
4-7 Float Sensor upper limit N
8-11 Float Sensor lower limit N
12-15 Float Sensor minimum range N

13. Command 15: Read device information


Alarm code, sensor function code, main variable unit, main variable
upper and lower limits, damping, write protection, product issuer,
whether there is an analog signal connected to the channel
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 15 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 15 20 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 15 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0 Enum 0xef Main variable alarm selection code (maintain the N
last output value)
1 Enum Main variable transmission characteristics N
0x00 0x00: Linear output

1
0x01 0x01: Square root output
2 Enum Main variable unit, see Appendix 1 "Unit Code" N
3-6 Float Upper limit value of main variable N
7-10 Float Lower limit value of main variable N
11-14 Float Primary variable damping (unit: seconds) N
15 Enum Write protection, 0=no write protection; 1=write N
protection; 251=no write protection function
16 Enum Manufacturer identification code (same as N
manufacturer ID)
17 Bits 0x01 If the bit is 1, this field device has an ADC N
connected to this channel

14. Command 16: Read the final assembly number


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 16 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 16 5 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 16 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0-2 Unsigned—24 The assembly number specifies equipment N
materials and electronic components

15. Command 17: write information


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 17 twent data XOR
y four
Request frame data content

byte type of data value Description Can be


changed

1
0-23 Packed Information content written Y
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 17 26 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 17 2 status XOR
response
The data content of the normal response frame is the same as that of the response frame

16. Command 18: write short label, device descriptor and date
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 18 twent data XOR
y four

Request frame data content

byte type of data value Description Can be


changed
0-5 Packed Tag Short label Y
6-17 Packed Device descriptor Y
18-20 Unsigned-24 date Y
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 18 26 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 18 2 status XOR
response
The data content of the normal response frame is the same as that of the response frame

17. Command 19: Write the final assembly number


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 19 3 data XOR
Request frame data content

1
byte type of data value Description Can be
changed
0-2 Unsigned-24 Final assembly number Y
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 19 5 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 19 2 status XOR
response
The data content of the normal response frame is the same as the request frame

18. Command 20: Read long label


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 20 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 20 34 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 20 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0-31 Latin-1 Long label N

19. Command 21: Read the unique ID in a long label


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL twenty 32 data XOR
one
Request frame data content

byte type of data value Description Can be

1
changed
0-31 Latin-1 Long label content N
Response frame data content is the same as Command 0

20. Command 22: write long labels


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL twenty 32 data XOR
two
Request frame data content

byte type of data value Description Can be


changed
0-31 Latin-1 Long label Y
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL twenty 34 Status + XOR
response two data
Abnormal 0x86 0x00|38 bits ID NULL twenty 2 status XOR
response two
The data content of the normal response frame is the same as the request frame

1
(2) Common application commands

1. Command 33: Read device variables


With Command 33, up to 5 device variables can be read. They are:

The first variable: pressure value (primary variable)

The second variable: current value

The third variable: percentage value

The fourth variable: temperature value

The fifth variable: sensor voltage value

* Note: HART 6 stipulates that the number of device variables does not exceed 4. The above "5th

variable" is only for our company's internal use. This variable will be shielded during HART

certification;

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 33 1~5 0~4 XOR

Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 33 6-30 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 33 2 status XOR
response

Normal response frame data content

0 Unsigned-8 0x00 Variable 1 N


1 Enum Unit: (main variable unit), see Appendix 1 "Unit N
Code"
2-5 Float Main variable N

6 Unsigned-8 0x01 2nd variable N


7 Enum Unit: mA, see Appendix 1 "Unit Code" N

2
8-11 Float Current value N

12 Unsigned-8 0x02 Variable 3 N


13 Enum Unit: %, see Appendix 1 "Unit Code" N
14-17 Float Percentage value N

18 Unsigned-8 0x03 Variable 4 N


19 Enum Unit: Deg C, see Appendix 1 "Unit Code" N
20-23 Float Temperature value N

twenty Unsigned-8 0x04 Variable 5 N


four
25 Enum Unit: mV , See Appendix 1 "Unit Code" N
26-29 Float Sensor voltage value N

2
2. Command 34: Write the damping value of the main variable
This command is equivalent to the local configuration function "06 DAMP", which sets the

electronic damping time (0~32s).

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 34 4 data XOR
Request frame data content

byte type of data value Description Can be


changed
0-3 Float Damping value (0~32.0), the unit is second Y
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 34 6 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 34 2 status XOR
response
The data content of the normal response frame is the same as the request frame

3. Command 35: Write the lower limit and upper limit of the main
variable
This command is equivalent to the local configuration functions "04 LRV" and "05 URV", that is,

no pressure zero point and span setting.

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 35 9 data XOR
Request frame data content

byte type of data value Description Can be


changed
0 Enum Corresponding variable unit, see Appendix 1 "Unit Y
Code"
1-4 Float Upper limit range value represented by single- Y

2
precision floating-point number
5-8 Float The lower limit range value represented by a Y
single-precision floating-point number
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 35 11 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 35 2 status XOR
response
The data content of the normal response frame is the same as the request frame

4. Command 36: Write the upper limit of the main variable


This command is equivalent to the local configuration function "03 SPAN", that is, there is a

pressure range setting.

Enter the full-scale pressure and execute this command after the reading is stable. After execution,

the transmitter sets the current pressure value as the upper limit, and the output current is 20mA.

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 36 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x86 0x00|38 bits ID NULL 36 2 status XOR

5. Command 37: Write the lower limit of the main variable


This command is equivalent to the local configuration function "02 ZERO", that is, there is a

pressure zero point setting.

Enter the zero pressure and execute this command after the reading is stable. After execution, the

transmitter will set the current pressure value to the lower limit and output current 4mA.

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte

2
0x82 0x00|38 bits ID NULL 37 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x86 0x00|38 bits ID NULL 37 2 status XOR

6. Command 38: Reset configuration change flag


This command resets bit 6 of the device status byte. When a set command is executed, it should be

reset

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 38 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x86 0x00|38 bits ID NULL 38 2 status XOR

7. Command 40: Enter/exit fixed current mode


When the setting value is non-zero data, the loop of the device constantly outputs a current value

in the range of 4-20mA, and when the setting value is 0, it exits the fixed current mode.

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 40 4 data XOR
Request frame data content

byte type of data value Description Can be


changed
0-3 Float ActualCurrent value (unit is mA) Y
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 40 6 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 40 2 status XOR
response
The data content of the normal response frame is the same as the request frame

2
8. Command 41: Make the device perform a self-check
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 41 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 41 2 status XOR
response
Abnormal 0x86 0x00|38 bits ID NULL 41 2 status XOR
response

9. Command 43: Zero the main variable


See for detailsCommon Practice Command Specification

10. Command 44: Write the main variable unit


This command is equivalent to the local configuration function "07 UNIT", which sets the

engineering unit of the main variable (pressure).

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 44 1 data XOR
Request frame data content

byte type of data value Description Can be


changed
0 Enum Main variable unit, see Appendix 1 "Unit Code" Y
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 44 3 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 44 2 status XOR
response
The data content of the normal response frame is the same as that of the request frame.

11. Command 45: Adjust the zero point of the loop current
Adjust the offset of the loop current curve so that the zero current corresponds to 4mA. This

2
command does not affect the slope of the current curve.

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 45 4 data XOR
Request frame data content

byte type of data value Description Can be


changed
0-3 Float Single precision floating point Y
The zero point value of the loop current, that is,
the actual measured value of 4mA
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 45 6 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 45 2 status XOR
response
The data content of the normal response frame is the same as the request frame

12. Command 46: Adjust the loop current gain


Adjust the slope of the loop current curve to make the current correspond to 20mA. This command
does not affect the value corresponding to 4mA.
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 46 4 data XOR
Request frame data content

byte type of data value Description Can be


changed
0-3 Float Single precision floating point Y
The loop current full scale value, that is, the actual
measured value of 20mA
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 46 6 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 46 2 status XOR
response

2
The data content of the normal response frame is the same as the request frame

13. Command 47: Write the main variable conversion function


This command is equivalent to the local configuration function "08 FUNCT", which sets the main

variable conversion characteristic output.

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 47 1 data XOR

Request frame data content

byte type of data value Description Can be


changed
0 Enum 0x00 Linear conversion: y=kx+b Y
0x01 Square root conversion: y=sqrt(x)
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 47 3 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 47 2 status XOR
response
The data content of the normal response frame is the same as the request frame

14. Command 49: Write the serial number of the main variable sensor
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 49 3 data XOR
Request frame data content

byte type of data value Description Can be


changed
0-2 Unsigned-24 Sensor serial number written Y
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 49 5 Status + XOR

2
response data
Abnormal 0x86 0x00|38 bits ID NULL 49 2 status XOR
response
The data content of the normal response frame is the same as the request frame

15. Command 54: Read device variable information (optional)


This product reads only the main variable information.

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 54 1 data XOR
Request frame data content

byte type of data value Description Can be


changed
0 Unsigned-8 0x00 Host variable code N
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 54 25 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 54 2 status XOR
response
Normal response frame data content (main variable)

byte type of data value Description Can be


changed
0 Unsigned—8 0x00 Device variable code (the main variable is 0) N
1-3 Unsigned—24 Sensor serial number N
4 Enum Variable limit/minimum range unit N
5-8 Float Variable sensor upper limit N
9-12 Float Variable sensor lower limit N
13-16 Float Equipment variable damping value N
17-20 Float Minimum range of equipment variable N
twenty Enum 0x41 Equipment variable classification (pressure type) N
one
twenty Enum 0x05 Device variable type (pressure) N
two
Note: When the device variable you are trying to read does not exist or is not supported, the corresponding

response data content is as follows:

2
byte type of data value
0 Unsigned—8 0x00 (0x01, 0x02, 0x03)
1-3 Unsigned—24 0x00, 0x00, 0x00
4 Enum 0xfa (250)
5-8 Float 0x7f, 0xa0, 0x00, 0x00
9-12 Float 0x7f, 0xa0, 0x00, 0x00
13-16 Float 0x7f, 0xa0, 0x00, 0x00
17-20 Float 0x7f, 0xa0, 0x00, 0x00
twenty Enum 0xfa (250)
one
twenty Enum 0xfa (250)
two

16. Command 59: Write the number of response leading characters


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 59 1 data XOR
Request frame data content

byte type of data value Description Can be


changed
0 Unsigned—8 0x05~0x14 5~20 Y
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 59 3 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 59 2 status XOR
response
The data content of the normal response frame is the same as the request frame

17. Command 71: Lock the device


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 71 1 data XOR
Request frame data content

byte type of data value Description Can be


changed

2
0 Enum 0x00 0x00=Not locked (unlocked) Y
0x01 0x01=Temporarily locked (the device is powered
0x02 on or reset to unlock)
0x02=Permanently locked
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 71 3 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 71 2 status XOR
response
The data content of the normal response frame is the same as the request frame

18. Command 76: Read device lock status


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 76 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 76 3 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 76 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0 Enum 0x00 0x00=Not locked (unlocked) N
0x01 0x01=Temporarily locked (the device is powered
0x02 on or reset to unlock)
0x02=Permanently locked

(3) Equipment-specific commands

1. Command 130 read material information


Read the material information (12Bytes) of each component of the transmitter.

Request frame STX:

3
Delimiter Address Expansion Command Bytes Data Check
Bytes Count Byte
0x82 0x00|38 bits ID NULL 130 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 0x0d 14 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 0x0d 2 status XOR
response
Data content of normal response frame:

byte type of data value Description Can be


changed
0 Enum Module isolation diaphragm material N
316
2 stainless
steel
3 Hastelloy
4 Monel
5 Tantalum
Monel
15
Gilded
251 No
252 unknown
253 special
250 Undefined

1 Enum Module filling fluid N


Silicone
240
oil
241 No. 800 oil
242 Inert oil
Glycerin/wa
243
ter
Propylene
244 glycol/wate
r
245 Neobee/M20
251 No
252 unknown
253 special
250 Undefined

3
2 Enum Flange type N
246 conventional
247 Coplanar
248 Remote sealing
249 Level_3_150
249 Level_4_150
249 Level_3_300
249 Level_4_300
249 Level_80_40
249 Level_100_40
249 Level_100_10_1
252 unknown
253 special
250 Undefined

3 Enum Flange material N


Carbon
0
steel
316
2 stainless
steel
3 Hastelloy
4 Monel
251 No
252 unknown
253 special
250 Undefined

4 Enum O-ring material N


10 PTFE
fluororubbe
240
r
twenty Nitrile
one rubber
Ethylene
27 Propylene
Rubber
251 No
252 unknown
253 special
250 Undefined

3
5 Enum Number of remote transmission devices N
1 1 piece
2 2 pcs
251 No
252 unknown
250 Undefined

6 Enum Remote transmission device form N


1 CTW
Insert
2 the
barrel
3 Flat
Flange
4
mounting
Threaded
5 installat
ion
6 Snap ring
7 SSW
251 No
252 unknown
253 special
250 Undefined

7 Enum Diaphragm material of remote transmission device N


316
2 stainless
steel
3 Hastelloy
4 Monel
5 Tantalum
Monel
15
Gilded
251 No
252 unknown
253 special
250 Undefined

8 Enum Filling fluid for remote transmission device N


240 Silicone

3
oil
241 No. 800 oil
242 Inert oil
Glycerin/wa
243
ter
Propylene
244 glycol/wate
r
245 Neobee/M20
251 No
252 unknown
253 special
250 Undefined

9 Enum Instruction sheet N


0: No indicator
1: There is an indicator
10 Enum Exhaust and drain valve material N
316
2 stainless
steel
3 Hastelloy
4 Monel
251 No
252 unknown
253 special
250 Undefined

11 Unsigned 8 ADC magnification N


1, 2, 4, 8, 16, 32, 64

2. Command 131 write material information


Write the material information of each component of the transmitter (12 Bytes).

Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 131 12 Material XOR
data(12
Bytes)
Response frame ACK:

3
Delimiter Address Expansion Command Bytes Data Check
Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 131 14 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 131 2 status XOR
response
The data content of the normal response frame is the same as the request frame

3. Command 132 Read hardware and sensor details


Read PCBserial number,sensorserial number, Type, range and other information.
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 132 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 132 10 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 132 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0~2 Unsigned-24 PCB serial number N
3~5 Unsigned-24 Sensor number N
6 Enum sensor type N
0: Metal capacitance sensor, differential pressure
1: Metal capacitance sensor, gauge pressure
2: Metal capacitive sensor, absolute pressure
3: Metal capacitance sensor, high static pressure
4: Metal capacitance sensor, liquid level
5: Metal capacitance sensor, slight differential pressure
100: Diffused silicon sensor, gauge pressure (-100 –
XXX)
101: Diffused silicon sensor, absolute pressure (0 –
XXX)
250: undefined
7 Enum Sensor range N
Metal capacitance sensor
0: ±1.6kPa (Rosemount-range 2)

3
1: ±7.0kPa (Rosemount-range 3)
2: ±37.4kPa (Rosemount-range 4)
3: ±186.8kPa (Rosemount-range 5)
4: ±690kPa (Rosemount-range 6)
5: ±2068kPa (Rosemount-range 7)
6: ±6890kPa (Rosemount-range 8)
7: ±20680kPa (Rosemount-range 9)
8: ±41370kPa (Rosemount-range 0)

Diffused silicon sensor


0: 0~20kPa (Microphone-range 0B)
1: 0~35kPa (Microphone-range 0A)
2: 0~70kPa (Microphone-Range 02)
3: 0~100kPa (Microphone-Range 03)
4: 0~200kPa (Microphone-Range 07)
5: 0~350kPa (Microphone-range 08)
6: 0~700kPa (Microphone-Range 09)
7: 0~1000kPa (Microphone-range 10)
8:0~2000kPa (Microphone-range 12)
9: 0~3500kPa (Microphone-range 13)
10:0~7000kPa (Microphone-range 14)
11: 0~10000kPa (microphone-range 15)
12: 0~20000kPa (Microphone-range 17)
13:0~35000kPa (Microphone-range 18)
14: 0~70000kPa (Microphone-range 19)

250: undefined

4. Command 133 write hardware and sensor details


Write PCBserial number,sensorserial number, Type, range and other information.
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 133 8 Hardware and XOR
sensor details
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 133 10 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 133 2 status XOR

3
response
The data content of the normal response frame is the same as that of the request frame.

5. Command 134 Read variable display mode


Read variable display mode (DMV).
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 134 0 NULL XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 134 3 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 134 2 status XOR
response
Data content of normal response frame:

byte type of data value Description Can be


changed
0 Enum Variable display mode N
0 Current (mA)
1 Percentage of range
2 Pressure value (with unit)
3 Cycle display

6. Command 135 Write variable display mode


This command is equivalent to the local configuration function "09 DMV", that is, to set the
display mode of the variables on the transmitter display.
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 135 1 data XOR
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 135 3 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 135 2 status XOR
response

3
The data content of the normal response frame is the same as that of the request frame.

7. Command 136 write small pressure cutoff value


When the main variable conversion function (Command 47) is set to "square root", this command
is used to set the value (percentage) of the small pressure cut, the value range is 0~6.0. When the
cutoff value is 0, it means that the low pressure cutoff function is closed.
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 136 4 Float type XOR
Range 0~6.0
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 136 6 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 136 2 status XOR
response
The data content of the normal response frame is the same as that of the request frame.

Set the error response code:


0x80: The main variable is linear output, and the operation is invalid.
0x81: The set value exceeds the range.

8. Command 137 key test


Test whether the keys are normal. During the test, the command sending cycle is 1 second.
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 137 1 1: Enter test XOR
(shield button
function)
0: Exit the
test
(Restore
button
function)
Response frame ACK:

3
Delimiter Address Expansion Command Bytes Data Check
Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 137 3 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 137 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed
0 Bits 0x00 No key press N
0x01 Menu key is pressed
0x02 Up key press
0x04 down key press

9. Command 138 read memory data (optional)


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 138 4 data XOR
Request frame data:

byte type of data value Description Can be


changed
0 Enum 0 or 1 Memory code Y
0: EEPROM
1: FLASH
1-2 Unsigned-16 0x0000~0x1FFF Specify the start address of the memory Y
or EEPROM: 0x0000~0x1FFF
0x0400~0x0BFF FLASH: 0x0400~0x0BFF
3 Unsigned-8 1~32 Number of bytes (1~32) Y
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal
0x86 0x00|38 bits ID NULL 138 7~38 Status + data XOR
response
Abnormal
0x86 0x00|38 bits ID NULL 138 2 status XOR
response
Normal response frame data content

byte type of data value Description Can be


changed

3
0 or 1 Memory code
0 Enum 0: EEPROM N
1: FLASH
0x0000~0x1FFF Specify the memory address
1-2 Unsigned-16 or EEPROM: 0x0000~0x1FFF N
0x0400~0x0BFF FLASH: 0x0400~0x0BFF
3 Enum 1~32 Number of bytes (1~32) N
4
~35 Unsigned-8 Byte data read (1~32) N
(maximum)

10. Command 139 write memory data (optional)


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 139 5~36 data XOR
Request frame data:

Can be
byte type of data value Description
changed
Memory code
0 Enum 0 or 1 0: EEPROM Y
1: FLASH
0x0000~0x1FFF Specify the start address of the memory
1-2 Unsigned-16 or EEPROM: 0x0000~0x1FFF Y
0x0400~0x0BFF FLASH: 0x0400~0x0BFF
3 Unsigned-8 1~32 Number of bytes (1~32) Y
4
~35 Unsigned-8 Byte data to be written (1~32) Y
(maximum)
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal
0x86 0x00|38 bits ID NULL 139 7~38 Status + data XOR
response
Abnormal
0x86 0x00|38 bits ID NULL 139 2 status XOR
response
The data content of the normal response frame is the same as that of the request frame.

4
The following commands 140~141 are used to read/write calibration data .
1. Pressure Factory Calibration: Namely "calibration", used by the manufacturer.

Establish the corresponding relationship between the sensor voltage value (Vs)

and the applied calibration pressure value (Pc). The pressure value output after

factory calibration is called the original pressure value (P0).

2. Pressure user calibration: Used by the manufacturer or user. When the error of the original

pressure value (P0) is large, user calibration can be performed.

Establish the relationship between the original pressure value (P0) and the

desired pressure value (Pi).

3. 4-20mA factory calibration: Used to calibrate the current output.

Establish the relationship between the original current value (I0) and the

desired current value (Ii).

4. 4-20mA user calibration:Same as factory calibration, but the number of calibration points is

fixed at 2 (4mA and 20mA).

5. Temperature compensation:

Temperature set point: the temperature value of temperature compensation, measured by the
transmitter and transmitted to the host computer through HART. Such as: -39.5,
-10.1, 0.02, 15.3, 35.0 (DegC)
Pressure set point: The standard pressure value applied under each temperature set point is set by
the host computer, and the pressure controller is controlled to output the
corresponding pressure. Such as: -1000.0, -500.0, 0, 500.0, 1000.0 (kPa)
Pressure measurement point: The actual measurement value corresponding to each pressure setting
point is measured by the transmitter and transmitted to the host computer through
HART. Such as: -997.4, -498.8, 0.8, 501.2, 1002.6 (kPa)

11. Command 140 Read calibration data


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 140 3 data XOR

4
Request frame data:

Can be
byte type of data value Description
changed
Type code T
0: Pressure factory calibration
1: Pressure user calibration
0 Enum Y
2: 4-20mA factory calibration
3: 4-20mA user calibration
4: Temperature compensation
Calibration point number N1
Pressure factory calibration: 0~S1-1
Pressure user calibration: 0~S1-1
4-20mA factory calibration: 0~S1-1
1 Unsigned-8 4-20mA user calibration: 0~S1-1 Y
Temperature compensation (temperature point
serial number): 0~S1-1
* S1 is the total number of calibration points
in this category.
Calibration point number N2
Pressure factory calibration: 250 (no)
Pressure user calibration: 250 (no)
4-20mA factory calibration: 250 (no)
2 Unsigned-8 4-20mA user calibration: 250 (no) Y
Temperature compensation (pressure point
serial number):0~S2-1
* S2 is the total number of pressure points in
temperature compensation
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal
0x86 0x00|38 bits ID NULL 141 17 Status + data XOR
response
Abnormal
0x86 0x00|38 bits ID NULL 141 2 status XOR
response
Data content of normal response frame:

Can be
byte type of data value Description
changed
0 Enum Type code T N
Pressure factory calibration: 0
Pressure user calibration: 1
4-20mA factory calibration: 2
4-20mA user calibration: 3

4
Temperature compensation: 4
Total number of calibration points S1
Pressure factory calibration: 3~41
Pressure user calibration: 2~11
1 Unsigned-8 4-20mA factory calibration: 2~32 N
4-20mA user calibration: 2
Temperature compensation (total number of
temperature points): 2~9
Total number of calibration points S2
Pressure factory calibration: 250 (useless)
Pressure user calibration: 250 (useless)
2 Unsigned-8 4-20mA factory calibration: 250 (useless) N
4-20mA user calibration: 250 (useless)
Temperature compensation (total number of
pressure points): 1~21
Calibration point number N1
Pressure factory calibration: 0~S1-1
Pressure user calibration: 0~S1-1
3 Unsigned-8 4-20mA factory calibration: 0~S1-1 N
4-20mA user calibration: 0~S1-1
Temperature compensation (temperature point
serial number): 0~S1-1
Calibration point number N2
Pressure factory calibration: 250 (useless)
Pressure user calibration: 250 (useless)
4 Unsigned-8 4-20mA factory calibration: 250 (useless) N
4-20mA user calibration: 250 (useless)
Temperature compensation (pressure point serial
number):0~S2-1
Unit code U1
5 Enum N
See Appendix 1 "Unit Code".
Calibration point value V1
Pressure factory calibration: sensor voltage value
Pressure user calibration: measured pressure
value
6-9 Float 4-20mA factory calibration: measured current N
value
4-20mA user calibration: measured current value
Temperature compensation: temperature point set
point
Unit code U2
10 Enum N
See Appendix 1 "Unit Code"
11-14 Float Calibration point value V2 N

4
Pressure factory calibration: calibration pressure
value
Pressure user calibration: ideal pressure value
4-20mA factory calibration: ideal current value
4-20mA user calibration: ideal current value
Temperature compensation: Pressure point
measurement

Response code when reading error:


0x80: It has not been calibrated in this category.
0x80 | S1: The calibration point number N1 is out of range.
0xC0 |S2: The calibration point number N2 is out of range.

note:
Read pressure set point:
When T=4 in the request frame andN1=250When, it means that the pressure set point of

temperature compensation is to be read. At this time, N2 means the serial number of the pressure

set point to be read, and the range is0~S2-1(S2 is the total number of pressure set points).

Value in response frame:

U1: 250 (no unit)

V1: 0x7f, 0xa0, 0x00, 0x00 (unused value)

U2: Unit code of pressure set point

V2: Value of pressure set point

12. Command 141 write calibration data


Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 141 15 data XOR
Request frame data:

Can be
byte type of data value Description
changed
0 Enum Type code T N
Pressure factory calibration: 0
Pressure user calibration: 1
4-20mA factory calibration: 2
4-20mA user calibration: 3

4
Temperature compensation: 4
Total number of calibration points S1
Pressure factory calibration: 3~41
Pressure user calibration: 2~11
1 Unsigned-8 4-20mA factory calibration: 2~32 N
4-20mA user calibration: 2
Temperature compensation (total number of
temperature points): 2~9
Total number of calibration points S2
Pressure factory calibration: 250 (useless)
Pressure user calibration: 250 (useless)
2 Unsigned-8 4-20mA factory calibration: 250 (useless) N
4-20mA user calibration: 250 (useless)
Temperature compensation (total number of
pressure points): 1~21
Calibration point number N1
Pressure factory calibration: 0~S1-1
Pressure user calibration: 0~S1-1
3 Unsigned-8 4-20mA factory calibration: 0~S1-1 N
4-20mA user calibration: 0~S1-1
Temperature compensation (temperature point
serial number): 0~S1-1
Calibration point number N2
Pressure factory calibration: 250 (useless)
Pressure user calibration: 250 (useless)
4 Unsigned-8 4-20mA factory calibration: 250 (useless) N
4-20mA user calibration: 250 (useless)
Temperature compensation (pressure point serial
number):0~S2-1
Unit code U1
5 Enum N
See Appendix 1 "Unit Code".
Calibration point value V1
Pressure factory calibration: sensor voltage value
Pressure user calibration: measured pressure
value
6-9 Float 4-20mA factory calibration: measured current N
value
4-20mA user calibration: measured current value
Temperature compensation: temperature point set
point
Unit code U2
10 Enum N
See Appendix 1 "Unit Code"
11-14 Float Calibration point value V2 N

4
Pressure factory calibration: calibration pressure
value
Pressure user calibration: ideal pressure value
4-20mA factory calibration: ideal current value
4-20mA user calibration: ideal current value
Temperature compensation: Pressure point
measurement

Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal
0x86 0x00|38 bits ID NULL 141 17 Status + data XOR
response
Abnormal
0x86 0x00|38 bits ID NULL 141 2 status XOR
response
The data content of the normal response frame is the same as that of the request frame.

note:
Write pressure set point:
When T=4 in the request frame andN1=250When, it means that the pressure set point of

temperature compensation is to be written. At this time, N2 means the serial number of the

pressure set point to be written, and the range is0~S2-1(S2 is the total number of pressure set

points).

Value in request frame:

U1: 250 (no unit)

V1: 0x7f, 0xa0, 0x00, 0x00 (unused value)

U2: Unit code of pressure set point

V2: Value of pressure set point

13. Command 142 enter/exit calibration mode


This command is used to control the transmitter to enter or exit a certain calibration mode. When
entering a certain type of calibration, this type of calibration operation is temporarily shielded, and
this type of calibration operation can only be resumed after exiting this type of calibration.
For example: after entering the "pressure user calibration" mode, the calculation part of the
original pressure user calibration is shielded, and the pressure value output by this transmitter has
not been "pressure user calibration".

Request frame STX:

4
Delimiter Address Expansion Command Bytes Data Check
Bytes Count Byte
0x82 0x00|38 bits ID NULL 142 1 enter XOR
Pressure factory
calibration: 0x00
Pressure user
calibration: 0x01
Current factory
calibration: 0x02
Current user
calibration: 0x03
Temperature
compensation: 0x04
drop out
Pressure factory
calibration: 0x80
Pressure user
calibration: 0x81
Current factory
calibration: 0x82
Current user
calibration: 0x83
Temperature
compensation: 0x84
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal
0x86 0x00|38 bits ID NULL 142 3 Status + data XOR
response
Abnormal
0x86 0x00|38 bits ID NULL 142 2 status XOR
response
The data content of the normal response frame is the same as that of the request frame.

14. Command 143 Update/backup calibration data


This command is used to update (copy each other) calibration data between FLASH and
EEPROM. The two uses are as follows:
1. Update
When performing a certain calibration, the calibration data is first written to the EEPROM.
After the data is correct, execute this command to copy the new data in the EEPROM to the
FLASH to replace the old data.
2. Backup
To back up the current calibration data, execute this command to copy the calibration data in

4
FLASH to EEPROM.
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 143 1 EEPROM FLASH XOR
Pressure factory
calibration: 0x00
Pressure user
calibration: 0x01
Current factory
calibration: 0x02
Current user
calibration: 0x03
Temperature
compensation: 0x04

FLASH EEPROM
Pressure factory
calibration: 0x80
Pressure user
calibration: 0x81
Current factory
calibration: 0x82
Current user
calibration: 0x83
Temperature
compensation: 0x84
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal
0x86 0x00|38 bits ID NULL 143 3 Status + data XOR
response
Abnormal
0x86 0x00|38 bits ID NULL 143 2 status XOR
response
The data content of the normal response frame is the same as that of the request frame.
note:
After the command is executed, it takes a certain amount of time to read and write data. During
the update/backup period, the upper computer should be placed in a waiting state and kept for a
period of time, waiting for the transmitter to return data."Communication timeout"Therefore, the
conditions need to be adjusted to a longer time.

4
15. Command 144 write device ID
This command is used to write the device ID (Device ID). For the same manufacturer ID
(Manufacturer ID
) And device type (Device Type), each device must have a different device ID.
Request frame STX:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
0x82 0x00|38 bits ID NULL 144 3 data XOR
Request frame data content

byte type of data value Description Can be


changed
0-2 Unsigned-24 Device ID Y

Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 144 5 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 144 2 status XOR
response
The data content of the normal response frame is the same as that of the request frame.

16. Command 145 Fine adjustment of the upper and lower limits of the
main variable
This command is used to adjust the current reading to the upper limit (URV) or lower limit (LRV)
of the main variable.
Enter the lower limit pressure,After the reading is stable, execute this command. After execution,
the transmitter will adjust the current pressure reading to the upper limit set value.
Enter the upper limit pressure,After the reading is stable, execute this command. After execution,
the transmitter will adjust the current pressure reading to the upper limit set value.

Request frame STX:

Delimiter Address Expansion Comman Bytes Data Check


Bytes d Count Byte

0x82 0x00|38 bits ID NULL 145 1 0: Adjust the XOR


lower limit
1: Adjust the
upper limit

4
Response frame ACK:

Delimiter Address Expansion Command Bytes Data Check


Bytes Count Byte
Normal 0x86 0x00|38 bits ID NULL 145 3 Status + XOR
response data
Abnormal 0x86 0x00|38 bits ID NULL 145 2 status XOR
response
The data content of the normal response frame is the same as that of the request frame.

5
Fives. Schedule

1. Unit code

Code unit Code unit


1 inH2O 12 kPa
2 inHg 13 Torr
3 ftH2O 14 atm
4 mmH2O 237 MPa
5 mmHg 238 i4H2O
 
6 psi 239 m4H2O
7 bar 32 DegC
8 mbar 36 mV
9 gPerCM2 39 mA
10 kgPerCM2 57 Percent
11 Pa 250  No unit

2. Unit conversion factor


Conversion coefficients are based on kPa.
For example: 1 kPa = 7.500636 mmHg
2.5 Torr = 2.5 / 7.500636 = 0.3333 kPa
10 atm = 10 / 0.00986923 * 4.021862 = 4075.153 inH2O
Conversion
unit factor
inH2O 4.021862
inHg 0.2952997
ftH2O 0.3351551
mmH2O 102.1553
mmHg 7.500636
psi 0.1450377
bar 0.01
mbar 10.0
gPerCM2 10.19716
kgPerCM2 0.01019716
Pa 1000.0
kPa 1.0
Torr 7.500636
atm 0.00986923
MPa 0.001

5
i4H2O 4.014741
m4H2O 101.9744

six. Reference documents

HART communication protocolV7.1 HART Field Communications Protocol


Specification
Data link layerV8.0 Data Link Layer Specification
HART response codeV5.0 Command Response Code Specification
Command setV8.0 Command Summary Specification
General commandV6.0 Universal Command Specification
Common application commandsV8.0 Common Practice Command Specification
Device-specific commandsV1.0 Device Families Command Specification
Data block transferV1.0 Block Data Transfer Specification
Public form description V14.0 Common Tables Specification

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy