Modbus模块浮点数据类型 [英] Modbus module float data type

查看:778
本文介绍了Modbus模块浮点数据类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用模块从我的物联网边缘进行Modbus数据轮询。

I'm using a module for Modbus data polling from my IOT edge.

https://docs.microsoft.com/ en-us / azure / iot-edge / deploy-modbus-gateway

https://docs.microsoft.com/en-us/azure/iot-edge/deploy-modbus-gateway

我正在使用模块从现场设备进行Modbus TCP数据轮询。

I'm using a module for Modbus TCP data polling from a field device.

现场设备使用Float数据类型,但Azure模块似乎不理解并将它们作为整数进行管理。

The field device uses Float data type but the Azure module seems doesn't understand that and manage them as a integer.

我如何修复这个问题?

问候

推荐答案

感谢您的问题Bruno。就像您所关注的文档上所述:

Thanks for your question Bruno. Like said on the document you are following:

" 如果您想创建自己的模块并根据您的环境进行自定义,那么就有一个开源软件
Azure IoT Edge Modbus模块 在GitHub上的项目。 "

如果找不到自定义代码的方法来读取浮点数据类型,请在那里打开一个问题。

If you can't find a way to customize the code in order to read float data type please open an issue there.

谢谢!


这篇关于Modbus模块浮点数据类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆