HART协议 - 通用命令通过调制解调器串行通信

发布于 2025-01-17 13:56:04 字数 575 浏览 3 评论 0原文

我有几个问题,我认为您可以提供帮助:

我一直在尝试与Slave设备(Fuji A2 V5)进行进一步的通信,并在Windows 10 PC上连接了Hart Modem,并使用Python和Matlab。

命令0在简短地址模式下工作正常: 我发送fffffffffffffffffffffffffd0280000082并接收 - “ ff”“ ff”“ ff”“ ff”“ ff”“ 06”“ 06”“ 80” 00“ 00”,“ 0e”“ 00” 00“ 00” 00”,fe“ 15”“ 15”“ 02”,“ 05”。 “” 03“” 0f“” 10“” 00“” 0D“” 91“ 43”“ A2” 从响应中,从属使用HART版本5。

然后,我使用Long Address [“ 15”“ 02”“ 0D”“ 0D”“ 91”“ 43”]从Command Zero获取主要变量( pv)使用命令1如下:

我发送ffffffffff8295020d91430001cb,但后来我根本没有收到任何东西...

我想念什么吗? 感谢您的帮助。 /约翰

I have a few questions which I thought you might be able to help with:

I have been trying to carry out further communication with a Slave Device (FUJI A2 V5) on Windows 10 PC connected with HART modem and using both Python and Matlab.

Command 0 In short addressing mode works fine:
I send FFFFFFFFFFFFFFFFFFFF0280000082 and receive --
"FF" "FF" "FF" "FF" "FF" "06" "80" "00" "0E" "00" "00" "FE" "15" "02" "05" "05" "03" "0F" "10" "00" "0D" "91" "43" "A2"
From the response, the slave uses HART version 5.

I then use the long address ["15" "02" "0D" "91" "43"] from Command Zero to get the Primary Variable (PV) using Command 1 as follows:

I send FFFFFFFFFF8295020D91430001CB but then I don't receive anything at all...

Am I missing something?
Thanks for the help.
/John

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

江城子 2025-01-24 13:56:04

看来您的命令号和字节计数位置相反。
尝试FFFFFFFFFFFFFF595020D9143 0100 CB,

如果您什么也没得到,请发送更多领先的FF。

It looks like you have the command number and byte count locations reversed.
Try FFFFFFFFFF8295020D91430100CB

If you still get nothing, send more leading FF's.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文