最新消息:20210917 已从crifan.com换到crifan.org

【整理】HART软件知识总结:HART消息(Message)

HART crifan 2341浏览 0评论

相关帖子:

【整理】HART软件知识总结

 


HART消息的格式

前导符DelimiterAddress[Expansion]CommandByteCount[Data]CheckByte
FFFFF       

 

HART消息中的前导符

关于前导符的含义,需要了解HART协议本身。

可以参考:

http://www.analogservices.com/about_part1.htm

中的解释:

HART消息(命令)的组成及含义

Part of Message

Length in Bytes

Purpose

Preamble

5 to 20

Synchronization & Carrier Detect

Start Delimiter

1

Synchronization & Shows Which Master

Address

1 or 5

Choose Slave, Indicate Which Master, and Indicate Burst Mode

Command

1

Tell Slave What to Do

Number Data Bytes

1

Indicates Number Bytes Between Here and Checksum

Status

0 (if Master)
2 (if Slave)

Slave Indicates Its Health and Whether it did As Master Intended

Data

0 to 253

Argument Associated with Command (Process Variable, For Example)

Checksum

1

Error Control

 

HART消息中的Delimiter

0/1xxxxxxxxx
短/长地址expansionlayerframe type

 

HART消息中的长地址和短地址

HART中的缩写:

长地址==LA==Long Address

短地址==SA==Short Address

 

1.长地址,短地址的前两个bit都是:

0/10/1
secondary/master是否是Burst mode

 

2.

长地址设备码14bitUnique Device Identifier
>=HART5  HART基金会发放的厂商自己分配的

 

3.

短地址:0号命令

短地址-> 只出现在HART4或更早

 

6bit==Polling Address==0-63

一般Polling Address:

=04-20mA+HART数字(传统仪表)
=1~63无4-20mA,纯数字(仪表),是固定的4mA

转载请注明:在路上 » 【整理】HART软件知识总结:HART消息(Message)

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
93 queries in 0.188 seconds, using 23.38MB memory