HART协议 - 通用命令通过调制解调器串行通信
我有几个问题,我认为您可以提供帮助:
我一直在尝试与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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来您的命令号和字节计数位置相反。
尝试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.