【整理】HART软件知识总结:HART协议

相关帖子:

【整理】HART软件知识总结


HART命令含义

1.HART命令的含义简介,可以从一些厂商的产品的介绍资料:

AD_UFC500_HART_e_72.pdf

中看到,比如Command 0的含义:

“6.1 Command #0 Read Unique Identifier

Device Identification Number (Data bytes #9..#11 of response packet) is preserved in the instrument as a 10-bytes

ASCII number (Service Fct. 5.1.4, ìSerial Nmbî). Hence only three (low significant) bytes of this number (after it is

transferred to digital value) are ìvisibleî to HARTÆ-requester.”

 

HART中各种协议的作用和分类

2.HART中有N多个协议。

对于每个协议的作用和所涉及内容,HART官网中:

HART Communication Foundation – HART Protocol Specifications

有总结:

Document Title

Doc. Rev.

Doc. Number

HART Communication Protocol Specification

7.5

HCF_SPEC-13

FSK Physical Layer Specification

8.1

HCF_SPEC-54

C8PSK Physical Layer Specification

1.0

HCF_SPEC-60

2.4GHz DSSS O-QPSK Physical Layer Specification

1.0

HCF_SPEC-65

TDMA Data-Link Layer

1.1

HCF_SPEC-75

Token-Passing Data Link Layer Specification

9.0

HCF_SPEC-81

Network Management Specification

2.0

HCF_SPEC-85

Command Summary Specification

9.0

HCF_SPEC-99

Universal Command Specification

7.1

HCF_SPEC-127

Common Practice Command Specification

10.0

HCF_SPEC-151

Wireless Command Specification

2.0

HCF_SPEC-155

Device Families Command Specification

1.1

HCF_SPEC-160

Common Tables Specification

23.0

HCF_SPEC-183

Block Data Transfer Specification

1.0

HCF_SPEC-190

Discrete Applications Specification

2.0

HCF_SPEC-285

Wireless Devices Specification

1.1

HCF_SPEC-290

Command Response Code Specification

6.0

HCF_SPEC-307

比如其中的:

HCF_SPEC-99

就是常见的那个:

Command Summary Specification

其中详细解释了,HART中常见的各种命令,包括命令0,命令1等等。

注:

此处,

Command Summary Specification

->

http://www.hcf-files.com/webasyst/published/DD/2.0/file_link.php?sl=85d81eae71cc7e2658a7de5fe4642427&DB_KEY=V0VCRklMRVM%3D

->

http://www.hcf-files.com/webasyst/published/DD/html/scripts/getfolderfile_zoho.php?DL_ID=MTA2Mg%3D%3D&ID=77978b30a780f809f5d6247c9a621fdf&DB_KEY=V0VCRklMRVM%3D

是可以下载到,该PDF文档的目录部分的内容的,以供概览。

 

想要完整版的PDF文件,则需要是加入了HART基金会的会员后,再花钱,才能买到的。。。

 

HART协议中日期Date的格式

详见:

spec099.r9.0.pdf

中的:

hart-hcf-099-date-format_thumb

三个字节,对应的是:

日,月,年

 

其他HART相关知识

1.Manufacture ID 和Device Type

HART4,才把 manufacturer and device type分开的。

 

2.UID

HART5中引入的:

"Unique Identifier" (Unique ID)

 

3.HART协议的大的历史版本改动 :参考“Major revisions”中的那个大表格

 

4.HART所接设备是multi-drop的话,4-20mA只是个固定的值,即并不代表物理上的模拟信号输出了。

“ Addresses higher than zero are always and must be used for multidrop HART comm when multiple devices are on the same ‘loop network’ and access to the data is through a HART multiplexor box. The current ‘loop’ is a fixed constant value on a HART multiplexed network, so the only viable data comes through HART. ”



发表评论

电子邮件地址不会被公开。 必填项已用*标注

无觅相关文章插件,快速提升流量