zhaopeiym / IoTClient

This is an IoT device communication protocol implementation client, which will include common industrial communication protocols such as mainstream PLC communication reading, ModBus protocol, and Bacnet protocol. This component is open source and free for life, using the most relaxed MIT open source agreement, you can modify and commercial use at will (commercial use please evaluate and test). 这是一个物联网设备通讯协议实现客户端,将会包括主流PLC通信读取、ModBus协议、Bacnet协议等常用工业通讯协议。本组件终身开源免费,采用最宽松的MIT开源协议,您可以随意修改和商业使用(商业使用请做好评估和测试)。
MIT License
1.27k stars 408 forks source link

能否增加直接读写字符串功能,像HslCommunication那样 #6

Closed Qiulin-Git closed 3 years ago

zhaopeiym commented 3 years ago

西门子的吗?

Qiulin-Git commented 3 years ago

西门子的吗?

目前公司西门子和三菱的PLC都有,我们现在用的是ModBus Tcp协议,希望ModBus 能直接读写字符串

zhaopeiym commented 3 years ago

可以安排上。

zhaopeiym commented 3 years ago

client.Write("100", "orderCode", stationNumber); //写入字符串 client.ReadString("100", stationNumber, readLength:10); //读取字符串